Help with Events to track completed levels by player

Hello,
I published a puzzle game and I need help to track how many players complete a specific level.

I tired to do this but I don’t think it’s the correct way.

Basically when a level is completed this function is called

public void LevelCompletedAnalyticEvent(int lvlint,string lvln)
    {
        Dictionary<string,object> analyticsData = new Dictionary<string,object>
        {
            {"leveln",lvln},
            {"levelint",lvlint}
        };
        AnalyticsResult lvlcompleteEvent = Analytics.CustomEvent("LevelComplete",analyticsData);
    }

It should give me the level name and level number. It seems to work but it seems that it can be triggered only once. I would like to see how many times this event has been triggered.

This is how events are shown in the dashboard.

Someone can help me?

Thank you.

The event manager that you are viewing is only a list of events, not a count. You would want to use a funnel to see how many users are completing each level https://docs.unity3d.com/Manual/UnityAnalyticsFunnels.html

1 Like

Thank you