How to create "Unique Users" segment in Unity Analytics

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.

You can create the new segment on the Segments page.

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

6435950--720083--upload_2020-10-20_16-25-29.png

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.

@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?

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.

1 Like

You could probably send the user id as an event parameter and then filter on a specific ID.

AnalyticsSessionInfo.userId