Attribute types - number, date etc. and the customer attribute option

Attributes can have three types:
  • String (default)
  • Number
  • Date

The default type is String and you can change the type when setting up attributes if needed. The primary reason for changing type is how the attribute should be treated when segmenting. The String and Number types have the same options but the underlying comparators change from String to Numeric.


Date types have a separate set of options specifically tailored for dates (prior to X days ago, in the last X hours, in a date range)



A tag type can be changed by editing the settings of the tag in question on the "App Lists" -> "App Tags" page. For example a tag can be set as a Date attribute, as seen in the image below. You must click save to save changes. The format expected for a date is 'yyyy-mm-dd hh:mm:ss' in UTC. Once this change has been saved, the date-based segmentation options will be available in the segmentation engine:



Customer Attributes

If you are collecting a customer id by setting an external ID then you should also set the customer level attribute option to be YES if an attribute is related to the user, and should be synced across all devices that are linked to that user's ID. First name is a good example of this if a user changes their first name then you will probably want personalised messages sent to all the user's devices to use the new first name.




Have more questions? Submit a request


Article is closed for comments.