- Customer Data
A guide to the different attribute types in Segment
Lexer Attribute types vary, and are used differently depending on your use case. In some instances, you’ll want to find all profiles within a certain range of values, and in others you might want to choose from a specific category. Let's explore the different types of attributes in your CDP.
Flag attributes are typically used to indicate a customer profile has or is a particular concept relevant to your business. For example, 'Customer Record' attributes are common flag attributes in your CDP. Flag attributes do not have any special query modifiers.
Number Range Attribute
Range attributes are useful for querying customer profiles that have number attribute values. For example, Total Spend or NPS Score can be queried using a range. You can search for all customer profiles that have spent between a particular range of dollars, or have given a score of 8 or above.
Date Range Attribute
Date Range attributes allow you to search between two dates; within a historical number of days/months/years; within a number of days/weeks/months/years in the future; or since a date in the past, to the present day.
Free text Attribute
Enter text in the field provided to locate specific data. For example - Contact us form = enter the link to one of your forms/surveys to find profiles that have replied to it.
You can use a free text attribute to look for things like zip codes. When looking for a zip code, use a ? trailing wildcard to search for multiple zips. For example, if you wanted to look for all customers in Los Angeles, you could enter 902?? to find them all, rather than having to enter them individually. You can also look for multiple values by separating each with an OR operator - for example "20?? OR 30??"
Select options from the dropdown menu, choosing one, or multiple criteria that profiles in your audience must have. For example - Channel preferences = select all preferred contact methods from the menu.