Creating User Properties
Overview
In compose, navigate to 'User Properties' in the secondary menu. The main overview contains a table with all of the user properties that you have created.
Default User Properties
By default, bots come with a list of user properties that are automatically tracked for you and can be used in conditions. Learn more about default user properties here.
1. Name - Display name of the user property.
2. Description - A description of what the user property is for.
3. Type - The Javascript datatype that can contain values - string, boolean, integer, float, set, time, date.
4. Report - Whether or not the user property breakdown should be viewable in User Properties & Activity.
5. Action - Archive a user property.
Components
User Property Name (Required)
The name of the user property.
Display Name
Because user properties are referenced by name in Snaps, the names cannot be edited and must be unique per bot. If you wish to have a name that is more user-friendly for demographics, consider using a display name.
Description
Create a description to help people understand what this user property is for.
Hide in Analytics
Checking this box will hide the user property and value breakdown from the 'Demographics' page in analytics.
User Property Type
A dropdown that allows you to select the data type you can set the user property as - the default is set to 'string'. There are 7 Javascript data types available: string, boolean, integer, float, set, time, date.
Value In
Value In is used if the user property type selected is 'set'. Set objects are collections of values that are unique in the Set's collection.
Add a new value by clicking the '+' and press enter after you have typed the value.
Data Privacy Class / Data Privacy Mask
Learn more about our data protections here.
Create a User Property
There are multiple throughout Snaps where you can create user properties.
Overview
Navigate to 'User Properties' in the secondary menu of 'Compose' to create a new user property.
Buttons
When building out blocks you can create or add user properties on a button.
Acquisition Sources
You can create or add user properties on an acquisition source.
Custom Code Blocks / Scripts
You can create user properties when writing code. Learn more here.
Updated about 1 year ago