Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Can't see "Analytics Event Tracker" component

Discussion in 'Unity Analytics' started by snon200, Sep 30, 2019.

  1. snon200

    snon200

    Joined:
    Jun 24, 2015
    Posts:
    3
    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?

    upload_2019-9-30_13-5-45.png
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
  3. snon200

    snon200

    Joined:
    Jun 24, 2015
    Posts:
    3
    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.
     
  4. Khubaib

    Khubaib

    Joined:
    Aug 4, 2018
    Posts:
    3
    Download the analytics Library from Package Manager first.
     
    umwrya likes this.
  5. KevinDehulsters

    KevinDehulsters

    Joined:
    Nov 10, 2019
    Posts:
    1
    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.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    Which version of Unity?
     
  7. sandboxx1

    sandboxx1

    Joined:
    Oct 4, 2017
    Posts:
    2
    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
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    I am able to reproduce, and have let engineering know. I will keep this thread updated.
     
  9. sandboxx1

    sandboxx1

    Joined:
    Oct 4, 2017
    Posts:
    2
    Thanks for such a swift response. Will keep an eye out!
     
  10. BlueSpirit

    BlueSpirit

    Joined:
    Jun 10, 2013
    Posts:
    14
    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 :)
     
    kripeshbalyan likes this.
  11. Laguna_Seca

    Laguna_Seca

    Joined:
    Mar 13, 2014
    Posts:
    139
  12. kripeshbalyan

    kripeshbalyan

    Joined:
    Aug 29, 2019
    Posts:
    2
    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?
     
  13. kripeshbalyan

    kripeshbalyan

    Joined:
    Aug 29, 2019
    Posts:
    2
    Did the same and it's working now. Thanks.
     
  14. Laguna_Seca

    Laguna_Seca

    Joined:
    Mar 13, 2014
    Posts:
    139
    Any news? Analytics is broken in Unity 2019.2.15f1 (64-bit) version and does not work.
     
    tobiasparrow likes this.
  15. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    No news yet. In the meantime, you can call Analytics.CustomEvent but does require some scripting.
     
  16. FeastSC2

    FeastSC2

    Joined:
    Sep 30, 2016
    Posts:
    865
    I downgraded to 3.2.2 as well and it's a good temporary fix.
     
  17. alx365

    alx365

    Joined:
    Oct 19, 2019
    Posts:
    6
    I also have the problem with Unity. I am in the version 2019.2.17f1
     
  18. Laguna_Seca

    Laguna_Seca

    Joined:
    Mar 13, 2014
    Posts:
    139
    Not working with mobile android devices
     
  19. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    Yes I have custom events working here on Android devices. We would need a bit more information.
     
  20. Laguna_Seca

    Laguna_Seca

    Joined:
    Mar 13, 2014
    Posts:
    139
    What version of Unity?
     
  21. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    What version is not working for you? All versions of Unity that I have tested works for me. But we are getting off topic, this thread is referring to the Analytics Tracker component, there are known issues with it as mentioned. But back to your point, how are telling that events are not being sent, it's best to test with Charles Proxy https://support.unity3d.com/hc/en-us/articles/115002917683-Using-Charles-Proxy-with-Unity
     
  22. Laguna_Seca

    Laguna_Seca

    Joined:
    Mar 13, 2014
    Posts:
    139
    Unity 2019.3.0f3 (64-bit) I will try proxies, it was faster for me to use facebook analytics. But this is still strange, because I will not ask players check with Charles Proxy?
     
  23. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    No, not users, I meant your testing. What problem are you having? You can confirm on your OWN test device if Analytics is working. If not, then you shouldn't publish.
     
  24. tobiasparrow

    tobiasparrow

    Joined:
    Jul 19, 2012
    Posts:
    79
    @JeffDUnity3D

    I just updated the analytics library to 3.3.5. The description in package manager still mentions the analytics event tracker component, however, it still doesn't show up. I was wondering if this component has been depreciated?

    Thanks!
     
  25. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    Sorry, it hasn't been deprecated. Hopefully will return in a soon upcoming release! It was removed by mistake.
     
  26. tobiasparrow

    tobiasparrow

    Joined:
    Jul 19, 2012
    Posts:
    79
    No problem! Just making sure :)

    Thanks for the update.
     
  27. Ragueel

    Ragueel

    Joined:
    Jun 2, 2018
    Posts:
    7
    Are there any updates? I had Analytics Event Tracker on Unity 2019.3 but it does not appear on 2019.2.19.
    UPD:
    I fixed the issue after reinstalling Analytics library and restarting Unity. For whatever reason Event tracker stopped to appear as component.
     
    Last edited: Jan 25, 2020
  28. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
    I will check on the status.
     
  29. tlt

    tlt

    Joined:
    Nov 16, 2011
    Posts:
    7
    I have the same problem too. I'm using Unity 2018.4.14 . I have to downgrade Analytics Library to 3.2.2 to get it working
     
  30. aurelien-morel-ubiant

    aurelien-morel-ubiant

    Joined:
    Sep 27, 2017
    Posts:
    275
    same issue here, we just downgrade to 3.2.2 :(
     
  31. Ianaa

    Ianaa

    Joined:
    Jul 15, 2018
    Posts:
    37
    Actually, has Unity considered firing the person(s) who made this mistake?
     
  32. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,463
  33. HectorOfPriamos

    HectorOfPriamos

    Joined:
    Jul 9, 2017
    Posts:
    7
    I'm using 2019.3.6f.1 and from package manager installed Analytics Library 3.3.5. It works fine for me. Before installing the package I didn't have the component as well (not suprisingly :) ), but after installing it no more issues.
     
    JeffDUnity3D likes this.
unityunity