Hi, I’ve just set up unity analytics for my app for the first time, and I can’t seem to find the “Analytics Event Tracker” component to add to my objects when I click on “Add Component”.
I see the component in the documentation and its not marked as obsolete or anything, is there another way of detecting events that I’m supposed to use instead?
You don’t need to add the component any longer in Unity, the namespace is built into the engine now. Can you elaborate, “detect events”, do you mean send custom events? Unity - Scripting API: Analytics.Analytics.CustomEvent
Thanks, yeah I meant send custom events, I know you can use the “UnityEngine.Analytics” through code to send events, I just thought there was an easier way to send events for stuff like button presses or switches without having to write a script for it.
Download the analytics Library from Package Manager first.
I’m having the exact same problem as the OP. I’ve downloaded the analytics Library, but I still don’t see the analytics tracker component.
Which version of Unity?
Hi There. I am having the same issue as the OP also. I’m using 2019.2.12f1. I’ve downloaded the Analytics Library but I can’t find the Tracker Component anywhere as per this page from the documentation: https://docs.unity3d.com/Manual/class-AnalyticsEventTracker.html
I’ve also tried in a clean project and no joy.
I’m not a coder so I need this editor component to be able to set up any custom events that I wish to track. Please can you let me know if that’s still possible? Many thanks
I am able to reproduce, and have let engineering know. I will keep this thread updated.
Thanks for such a swift response. Will keep an eye out!
I got the same problem that “Analytics Event Tracker” doesn’t show up in the components list, although I’ve added the component to my GameObjects in the past.
I’ve only noticed this after I had updated the Analytics package to 3.2.3. The workaround I found for it is to downgrade the package to 3.2.2, and then close and re-open Unity. The “Analytics Event Tracker” should show up in the components list again
too+
My version is 2019.2.1f1 and when using-
AnalyticsEvent.LevelStart(Level_id);
it says- The name ‘AnalyticsEvent’ does not exist in the current context.
I did everything as stated in documentation, searched forums.
I tried restarting analytics, added the namespace UnityEngine.Analytics but nothing is working. Am I missing something here or it is a bug?
Did the same and it’s working now. Thanks.
Any news? Analytics is broken in Unity 2019.2.15f1 (64-bit) version and does not work.
No news yet. In the meantime, you can call Analytics.CustomEvent but does require some scripting.
I downgraded to 3.2.2 as well and it’s a good temporary fix.
I also have the problem with Unity. I am in the version 2019.2.17f1
Not working with mobile android devices
Yes I have custom events working here on Android devices. We would need a bit more information.
What version of Unity?