Search Unity

Standard events - tutorial_step - step_index question

Discussion in 'Unity Analytics' started by MetaDOS, Sep 22, 2018.

  1. MetaDOS

    MetaDOS

    Joined:
    Nov 10, 2013
    Posts:
    157
    Hi,

    In this blog it shows that we should collect tutorial_step. https://blogs.unity3d.com/2017/06/09/standard-events-explained-part-1-onboarding/
    However, should I reset the step_index to 1 for every tutorial_id? Or I just need to increase it across all tutorial_id?
    Case 1:
    • tutorial_start: tutorial_id: 1
    • step_index: 1
    • step_index: 2
    • tutorial_start: tutorial_id: 2
    • step_index: 1
    • step_index: 2
    • tutorial_id: 3

    Case 2:
    • tutorial_start: tutorial_id: 1
    • step_index: 1
    • step_index: 2
    • tutorial_start: tutorial_id: 2
    • step_index: 3
    • step_index: 4
    • tutorial_id: 3
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    That would be up to you. But generally step_index would be unique to each tutorial ID. Tutorial 1 has a first and second step, then Tutorial 2 also has a first and second step, etc. So Case 1 would be more appropriate, but it should work either way.
     
    MetaDOS likes this.
  3. husamimate

    husamimate

    Joined:
    Oct 12, 2018
    Posts:
    8
    hi,
    provide me with some c# code Example to handle Progression event, i read thru some web pages but fail to make out, how do i write code for the same.
    Thanx
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  5. husamimate

    husamimate

    Joined:
    Oct 12, 2018
    Posts:
    8
    thanx jeff
    i have already implemented it. i need few more on the same.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @husamimate Great, keep us posted on your progress!