Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Send Multiple Custom Event

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

  1. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    53
    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:
    2,804
    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:
    219
  4. husamimate

    husamimate

    Joined:
    Oct 12, 2018
    Posts:
    7
    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:
    2,804