Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Send Multiple Custom Event

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

  1. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    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

    Joined:
    May 2, 2017
    Posts:
    14,446
    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

    Joined:
    May 2, 2017
    Posts:
    14,446