Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Funnel Analyzer - Conditionals

Discussion in 'Unity Analytics' started by tiagofilipduarte, Jun 17, 2020.

  1. tiagofilipduarte


    Jan 13, 2020

    So i am very new to all this thing of unity analytics. I have a webgl project hosted online on various hosts, and those hosts might have different different builds of the same project (on purpose, different mechanics to different situations off the same project), and these build are identified with a name.
    What i want to know is the number of accesses to the builds on each host. So considering i create a funnel for each host, do i have to then place each build parameter name by hand so that's listed on the funnel or can i use anything like 'any text'? Because 'any number' is available but i suppose it wont work with text.

    TL;DR - Any way to make a parameter condition be 'any value' or 'any text'? Or does 'any number' also includes text? (Which i suppose it doesn't)
  2. JeffDUnity3D


    Unity Technologies

    May 2, 2017
    If you leave it blank, it will accept any parameter. A parameter is either number or text, you should not change the parameter structure once you've sent some events. If you need to change the parameters, create a new event name. So you're sending a Custom Event with the build name? That should work. Could you share your code? One important note, on WebGL, after each Analytics.CustomEvent call, you also need to immediately call Analytics.FlushEvents or the events won't send . It's an issue we are aware of, but have no immediate plans to address.