Open MaxAzevedo opened 8 years ago
What platform are you compiling to? Have you checked data a couple of minutes or hours after using your App? Are you using the Prefab or did you attached the Scripts yourself?
Hello. It worked. My problem was a configuration problem with AndroidManifest file. Thanks.
Care to elaborate? I'm having the same issue. Everything seems to be setup right but I'm not tracking anything.
In my case I was forgetting the AndroidManifest.xml. Have you pasted the AndroidManifest.xml file in Android folder?
This is the log I'm seeing:
I/Unity (20225): Initializing Google Analytics 0.1. I/Unity (20225): GoogleAnalyticsV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:153) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:114) I/Unity (20225): Initializing Google Analytics Android Tracker. I/Unity (20225): GoogleAnalyticsAndroidV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsAndroidV3.cs:49) I/Unity (20225): GoogleAnalyticsV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:164) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:114) I/Unity (20225): GoogleAnalyticsV3:LogEvent(EventHitBuilder) (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:301) I/Unity (20225): GoogleAnalyticsV3:LogEvent(String, String, String, Int64) (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:292) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:117) V/GAV3 (20225): Thread[GAThread,5,main]: connecting to Analytics service D/ActivityManager( 4102): retrieveServiceLocked(): component = com.google.android.gms/com.google.android.gms.analytics.service.AnalyticsService; callingUser = 0; userId(target) = 0 V/GAV3 (20225): Thread[GAThread,5,main]: connect: bindService returned true for Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } V/GAV3 (20225): Thread[GAThread,5,main]: Sending hit to service PATH: https: PARAMS: sr=1440x2560, ht=1442935844043, sf=100, _u=.KnKKKK2KyAAAAAL, ec=Google Analytics, did=GbOCSs, cid=14d4198a-a04d-4407-8bc1-a8e498d2059d, ev=0, av=1.0, v=1, an=Monsters Down, ul=en-us, t=event, tid=UA-40xxxx61-4, ea=Auto Instrumentation, aid=com.bdasd.monsters, el=Game Launch, I/Unity (20225): Initializing Google Analytics 0.1. I/Unity (20225): GoogleAnalyticsV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:153) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:114) I/Unity (20225): Initializing Google Analytics Android Tracker. I/Unity (20225): GoogleAnalyticsAndroidV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsAndroidV3.cs:49) I/Unity (20225): GoogleAnalyticsV3:InitializeTracker() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:164) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:114) I/Unity (20225): GoogleAnalyticsV3:LogEvent(EventHitBuilder) (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:301) I/Unity (20225): GoogleAnalyticsV3:LogEvent(String, String, String, Int64) (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:292) I/Unity (20225): GoogleAnalyticsV3:Awake() (at C:\Users\Ivan\Documents\shooter2014\Assets\Plugins\GoogleAnalyticsV3\GoogleAnalyticsV3.cs:117) V/GAV3 (20225): Thread[GAThread,5,main]: Sending hit to service PATH: https: PARAMS: sr=1440x2560, ht=1442935921312, sf=100, _u=.r3KnKKKK2KyAAAAAL, ec=Google Analytics, did=GbOCSs, cid=14d4198a-a04d-4407-8bc1-a8e498d2059d, ev=0, av=1.0, v=1, an=Monsters Down, ul=en-us, t=event, tid=UA-40XXXX61-4, ea=Auto Instrumentation, aid=com.bdasd.monsters, el=Game Launch,
Are you not seeing anything in the real time reports, or the standard reports?
Hello. I have tried to use google analitics for my game. I configured this as I saw on tutorial by this link : https://developers.google.com/analytics/devguides/collection/unity/v3/devguide
But It does not work. And there is not error on console. Just can't see anything on google analitics reports.
Does anyone know what is happening?
Thank you.