Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to create "Unique Users" segment in Unity Analytics

Discussion in 'Unity Analytics' started by Swathi-RS, Oct 19, 2020.

  1. Swathi-RS

    Swathi-RS

    Joined:
    Oct 19, 2020
    Posts:
    21
    Hi,
    I am having some trouble in creating a segment for Unique User. I have a custom event and I would like to view the data only for "Unique Users" instead of "All current Users".

    Note: I do not want to use "Unique Users" as a parameter as I want to read the projectname data as well.

    Screenshot 2020-10-19 at 2.31.51 PM.png
     
  2. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    597
    You can create the new segment on the Segments page.

    https://docs.unity3d.com/Manual/UnityAnalyticsSegmentBuilder.html

    upload_2020-10-20_16-25-29.png
     
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You would need to send an event only from a new first-time user. There is no need to send projectname, they are all the same for a single game. Unless your game definition for projectname is a separate definition.
     
  4. Swathi-RS

    Swathi-RS

    Joined:
    Oct 19, 2020
    Posts:
    21
    @JeffDUnity3D how can I create a segment for Unique Users? What is the condition I need to apply under Rules?
    How to send an event only from a new first-time user?
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry, we would not have that functionality built in. You would need to code this yourself, perhaps write to PlayerPrefs on first visit or similar.
     
    Swathi-RS likes this.
  6. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229