Search Unity

Custom Events only on Funnel Analyzer

Discussion in 'Unity Analytics' started by SidiKids, Aug 20, 2015.

  1. SidiKids

    SidiKids

    Joined:
    Jun 1, 2015
    Posts:
    5
    Hello,
    I'm having a hard time tracking my custom events in Unity Analytics.

    At first, I was tracking my events like this:

    Analytics.CustomEvent ("eventName", null);

    Afterwards, I noticed that null could not be sent and you could not parse these events properly. So, I changed my reporting method to:

    Analytics.CustomEvent ("eventName", new Dictionary<string, object>{});

    However, that still would not work. After reading some other threads, it was instructed to pass at least one value in the parameters, even if it would not be meaningful. Currently, I'm reporting my events as:

    Analytics.CustomEvent ("eventName", new Dictionary<string, object>{
    { "value", 1 }
    });


    I still cannot see my events in Data explorer ("No data" message), however, I can see part of my data in a funnel that I created. I made this change about 8 hours ago. Have anyone experienced this behavior? Can it be fixed?
     
  2. mpinol

    mpinol

    Joined:
    Jul 29, 2015
    Posts:
    317
    Hi @SidiKids,

    I noticed that you had a support ticket open so I am going to keep it open and assist from there. I will also update this post once we have determined the cause for anyone else who runs into this issue.
     
  3. SidiKids

    SidiKids

    Joined:
    Jun 1, 2015
    Posts:
    5
    Thanks mpinol, it seems that the latest way was correct after all. Right now I am able to see my events in Data Explorer as expected. Long story short: always send at least one parameter in the custom event
     
    mpinol likes this.
  4. Pedro Luckas

    Pedro Luckas

    Joined:
    Jun 22, 2015
    Posts:
    6
    Thank you guys for your help, you solved my problem and I'm very grateful
     
    mpinol likes this.