Segments - data references

When editing a segment containing a recipient attribute the first thing you need to set is what type of data your attribute value is. Is it text (e.g. city name), a number (e.g bonus points) or a date (e.g. date of birth)? Depending on the attribute type, the following segment options will vary.

Here you’ll find what the different options means and what Carma will include or exclude when choosing a specific option.

 

Attribute type

Text – requires text value (aA-zZ)

Number – requires number value (0-9)

Date – requires a date value (YYYY-MM-DD)

 

 Rules – with text value

is / is not = ignores casing

starts with / does not start with = beginning of first word (one letter or more, ignores casing)

ends with / does not end with = end of final word (one letter or more, ignores casing)

contains / does not contain = part of word (one letter or more, ignores casing)

is empty / is not empty = empty string or not empty string

 

Rules – with number value

 

is / is not = is / is not = supports period separated decimals. Does not support comma separated decimals or space.

is less than / is greater than = “<” / “>”, supports period separated decimals. Does not support comma separated decimals or space.

is less than or equal to / is greater than or equal to = “<=” / “>=”, supports period separated decimals. Does not support comma separated decimals or space.

is between will also include the from and to values. supports period separated decimals. Does not support comma separated decimals or space.

starts with / ends with = first / final digit-s specified. Supports period separated decimals. Does not support comma separated decimals or space.

contains / does not contain = one or more digit-s added. Supports period separated decimals. Does not support comma separated decimals or space.

is empty / is not empty = empty string or not empty string

 

Rules – with date value

 

is / is not = is / is not. Correct format “YYYY-MM-DD”

is before / is after = every date before / after date stated. Correct format “YYYY-MM-DD”

is between / is not between = is between includes the from and to date set. Correct format “YYYY-MM-DD”

is empty / is not empty = empty string or not empty string.

anniversary = neglects “YYYY” in “YYYY-MM-DD”. Great for birthday segments because it skips the year value and targets months and days.

Remember to check the date example generated by Carma so you can double check your settings: