Search Unity

Analytics funnel: Can >= advance multiple steps?

Discussion in 'Unity Analytics' started by MattDownie, Sep 23, 2015.

  1. MattDownie

    MattDownie

    Joined:
    Sep 9, 2015
    Posts:
    4
    Can I advance through multiple steps of a funnel with a single custom event?

    Suppose I have a funnel that looks like:
    Step 1:
    Custom Event: TutorialStage1
    Parameter: progress >= 1

    Step 2:
    Custom Event: TutorialStage1
    Parameter: progress >= 2

    Step 3:
    Custom Event: TutorialStage1
    Parameter: progress >= 3

    If I call the custom event TutorialStage1 with 'progress' of 3, will the user automatically proceed to step 3 of the funnel if not already on step 2?
     
  2. mpinol

    mpinol

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

    No, if that player is currently not in the funnel they will not be added or if they are currently on step 1 they will remain on step 1. A player must progress through each step of a funnel one step at a time, starting at step 1.You could send all three as separate custom events however to push them through to the proper position within the funnel.

    If you would like some more information you can read more about funnels here, http://unity3d.com/learn/tutorials/analytics/intro-to-funnels?playlist=17123
     
  3. MattDownie

    MattDownie

    Joined:
    Sep 9, 2015
    Posts:
    4
    Surely a progress value of 3 should satisfy the criteria 'progress >= 1'?
    Or does '>=' do something other than what I'd normally expect it to do?
     
  4. mpinol

    mpinol

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

    I apologize, I missed the '>' symbol in the question above. Yes, they will be added to the funnel since 3 satisfies the '>=1' condition, but they will not progress any more than one step at a time.
     
  5. andygami

    andygami

    Joined:
    Jan 10, 2014
    Posts:
    6
    Is it possible to call the custom event multiple times like

    for (int i = 0; i < 3; ++i)
    {
    Analytics.CustomEvent("TutorialStage1", new Dictionary<string, object> { { "progress", 3 }});
    }

    so that in the case where player skipped the rest and start at step 3, it will automatically cleared step 1,2 and 3.
     
  6. mpinol

    mpinol

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

    Yes, as long as the events are sent separately you should be able to 'push' a user through a funnel this way.
     
  7. andygami

    andygami

    Joined:
    Jan 10, 2014
    Posts:
    6
    what do you mean by send separately ?
     
  8. mpinol

    mpinol

    Joined:
    Jul 29, 2015
    Posts:
    317
    @andygami,

    Just that there will be three separate calls to Analytics.CustomEvent(); Exactly like what you have in your for loop.
     
  9. andygami

    andygami

    Joined:
    Jan 10, 2014
    Posts:
    6