Pairing data for custom events

Hello,

We have implemented some Unity Analytics in our project. After checking the data in analytics dashboard I noticed that data from one analytics call is not being kept together. Going to Event Manager in the dashboard I different values have their own drop down menus.

Example:

UnityEngine.Analytics.AnalyticsEvent.Custom("ExitGame", new Dictionary<string, object>
        {
            { "TimeSpentInGame", (int)Time.time },
            { "TimeSpentInLastScene", (int)TimeSpentInScene },
            { "TimeLeftGame", System.DateTime.Now.ToString() },
            { "LeftGameFromScene", UnityEngine.SceneManagement.SceneManager.GetActiveScene().name }
        });

Analytics dashboard shows separate list for each dictionary entry. A list for ā€œTimeSpentInGameā€, a separate list for ā€œTimeSpentInLastSceneā€, etc. I want to see a pair of data as it was sent - get ā€œTimeSpentInGameā€ and ā€œTimeSpentInLastSceneā€ from the same call together. Downloading that data as CSV file does not show anything more helpful too.

I tried changing my approach and did this to forcefully pair data:

UnityEngine.Analytics.AnalyticsEvent.Custom("ExitGame_2.0", new Dictionary<string, object>
        {
            { "ApplicationQuitData", new OnApplicationQuitEvent()
                {
                    TimeSpentInGame = (int)Time.time,
                    TimeSpentInLastScene = (int)TimeSpentInScene,
                    TimeLeftGame = System.DateTime.Now.ToString(),
                    LeftGameFromScene = UnityEngine.SceneManagement.SceneManager.GetActiveScene().name
                }
            }
        });

But with this I can’t see any data at all, only the number of calls that was made to that event.

Is there a way to solve this, or some way to see my data as it was sent? Is this possible to accomplish with Raw Data Export?

Yes, you would need Raw Data Export to do this. RDE is a Pro-only license feature. However, I will suggest that you also take a look at deltaDNA which Unity recently acquired. We will be moving Analytics to this platform over the next year. I’m not sure on the pricing but should be evolving over the next year https://unity.com/products/deltadna

Thank you, I will check it out!

1 Like