Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Send Multiple Custom Event

Discussion in 'Unity Analytics' started by Simon75012, Oct 9, 2018.

  1. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    59
    Hi,
    I'd like to know what happened if the same user send twice the same custom event.

    Example :
    Analytics.CustomEvent("StartGameEvent", new Dictionary<string, object>
    {
    { "PlayerNumber", 3 },
    { "GameDuration", 5 }
    });

    And then 10 minutes later, the same user send this :
    Analytics.CustomEvent("StartGameEvent", new Dictionary<string, object>
    {
    { "PlayerNumber", 4 },
    { "GameDuration", 2 }
    });

    In the analytics dashboard, i will see 1 or 2 event(s)? I'm not sure but it look like the event are just sent once...
    If that's only once, which one is shown on the dashboard?

    Thanks,
    Sim.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,122
    They are not the same event, the parameters are different. Regardless, this is two separate events. Can you include a Dashboard screenshot?
     
  3. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
  4. husamimate

    husamimate

    Joined:
    Oct 12, 2018
    Posts:
    8
    hi all,
    i need some C# code example for managing all kinds of CustomEvent please share or if anyone has any link, please provide.
    Thanx
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,122