- Home /
How to see custom events on Unity Analytics
Hi, I use the unity Analytics, and I discovered custom events.
So perfect. I integrate this. And it's work perfectly.
But now where can I display this data ?! If it's the Funnel analyzer
the solution. So, explain me. I can't understand this. I don't have found any documentation.
Answer by sschan · May 11, 2015 at 06:40 PM
Hi, I am on the Unity Analytics team. There are a couple of methods to view this:
You can review your events in the event validator (up to the last 50 events). We do have a limit of 10,000 events per project that can be logged in the validator. If for any reason you stop seeing events captured, you've probably hit your cap. Please contact us to reset this.
Within Data Explorer, there is an option to "Add Custom Event.” You can view your events in the dropdown menu.
I am trying to find out if OnApplicationQuit sends custom events as well. I have done some debugging inside unity and also in my android device but for some reason it doesn't appear in data explorer nor in event manager. I can only see one out of my three events. I would like to double check the event validator but i am not able to find out how to turn it on, or where to find it. Thx for your help.
Analytics events cannot be sent in OnApplicationQuit.
If you are using 5.4+, you can use OnApplicationPause: https://docs.unity3d.com/ScriptReference/$$anonymous$$onoBehaviour.OnApplicationPause.html
Note: This is called whenever a game loses or regains focus, including when the game first starts. You can use the bool parameter to deter$$anonymous$$e if the game is paused or resumed.
Re: The Validator is located in two places
If you have 5.4+, it can be found in the Editor, under the Services window, if you click on Analytics.
It can also be found in the Analytics dashboard, under Integration -> Basic Integration:
Thank you for your respond it was very helpful. Currently i work in verision 5.3.6 which mean i dont have validator panel inside services so I had to test it out on the site as you recommend. I was not able to track those events send onApplicationQuit as you said. Now I wonder What call should i use to keep track the end of the application as OnApplicationPause works after 5.4 and I am not able to upgrade at this moment.
Answer by madhu_unity425 · Jan 29, 2019 at 06:00 AM
my game analytics are working fine in unity editor but not working in Andriod device