Log in or register to post comments

Unity plug in + android app + GOOGLE ANALITYCS

January 13, 2016 - 12:09pm #1

Hi all,

I have my android app made with unity + vuforia and i´m trying to add  Google Analytics Plugin for Unity. Gratefully everything is fine, except that i want to add an event that confirm the Agumented was succesfully  played on the client device. 

Example:  Here i post my C# code to get the confirmation that the user has "touched" on "print marker" button:

using UnityEngine;
using System.Collections;

public class GA_BUTTON_PRINT_MARKER : MonoBehaviour {

	public GoogleAnalyticsV3 googleAnalytics;
	
	// Use this for initialization
	void Start () {
		
		//CHECK THE USER PRESS PRINT MARKER BUTTON
		googleAnalytics.LogEvent(new EventHitBuilder()
		                         .SetEventCategory("BUTTON_PRINT_MARKER")
		                         .SetEventAction("The button has been pressed"));
		
	}
	
}

But i´m lost trying to figure how to do the same with the agumented visualization... ANY SUGGESTION???

 

Thanks for the help!

Unity plug in + android app + GOOGLE ANALITYCS

May 2, 2016 - 1:52pm #4

Hi chop,

Sorry the delay...

Yes, it works. Following the google analitics plugin instructtions. What trouble are u getting? Let me know if i can help u.

 

 

Unity plug in + android app + GOOGLE ANALITYCS

April 26, 2016 - 4:28am #3

Did you resolved the issue? is Analytics working with Vuforia?

I have alot of issues when i tried to use my own plugin in android.

Unity plug in + android app + GOOGLE ANALITYCS

January 14, 2016 - 3:21pm #2

anyone?

Log in or register to post comments