Event attributes and enrichments reference

This article lists all event attributes with their enrichments and corresponding rule conditions.

How it works

This reference uses the following icons for attribute types:

String String Array of Strings Array of Strings
Number Number Array of Numbers Array of Numbers
Boolean Boolean Array of Booleans Array of Booleans
iQ attribute iQ Attribute Custom value Custom Value
Date Date Omnichannel date Omnichannel Date
Experimental In Experimental Mode Visitor ID Visitor ID
Omnichannel Attribute Omnichannel Attribute Event Attribute Event Level Attribute

String

  • Event-level attribute
  • Can be used in a webhook
  • Example: “A String”
  • For more information, see String Attribute.

Enrichments

Enrichment Source Values
Set string String iQ attribute Custom value
Split (assign to randomly distributed values) StringOmnichannel AttributeiQ attribute
Remove
Lowercase
Join with delimiter String iQ attribute Number
Set string to date String Omnichannel AttributeCustom value iQ attributeDate

Rule Conditions

Rule Conditions Source Values
Contains
Contains [ignore case]
Does not contain
Does not contain [ignore case]
String Number BooleanArray of NumbersArray of StringsArray of Booleans iQ attribute Custom value
Equals
Equals [ignore case]
Does not equal
Does not equal [ignore case]
String Number BooleanArray of NumbersArray of StringsArray of Booleans iQ attribute Custom value
Starts/ends with
Starts/ends with [ignore case]
String Number BooleanArray of NumbersArray of StringsArray of Booleans iQ attribute Custom value
Is assigned
Is not assigned
Matches regex Experimental

Array of Strings

  • Event-level attribute
  • Can be used in a webhook
  • Example: ["Hello", "", "Mark"] (empty string will be stored in place)
  • For more information, see Attribute Data Type: Arrays.

Enrichments

Enrichment Source Values
Add String to array String iQ attribute Custom value
Add an array of strings Array of StringsiQ attribute
Set to difference between two other Arrays Array of StringsiQ attribute
Reset (remove all values)
Lowercase all entries
Remove first/last/all entries of String iQ attributeCustom value

Rule Conditions

Rule Conditions Source Values
Contains [partial string]
Contains [partial string] [ignore case]
String Number Boolean Array of Strings Array of Booleans iQ attribute Custom value
Does not contain (key)
Does not contain (key) [ignore case]
String Number BooleanArray of Strings Array of Booleans iQ attribute Custom value
Starts/ends with
Starts/ends with [ignore case]
String Number BooleanArray of NumbersArray of Strings Array of Booleans iQ attribute Custom value

Number

  • Event-level attribute
  • Can be used in a webhook
  • Example: “1.001”, or “1001”, but not “1,001”
  • Numbers can be decimals or integers. Integers round up or down to the nearest whole number. (In experimental mode)
  • For more information, see Number Attribute.

Enrichments

Enrichment Source Values
Increment/Decrement NumberiQ attributeCustom value
Ratio/Product/Difference/Sum NumberiQ attribute
Set Number NumberiQ attributeCustom value
Aggregate of array of numbers (Average, Minimum, Maximum) Array of Numbers
Set to number of Items in array Array of NumbersArray of BooleansArray of Strings

Rule Conditions

Rule Conditions Source Values
Equals
Does not equal
NumberiQ attributeCustom value
Is assigned
Is not assigned
Greater than or equal to
Less than or equal to
Boolean iQ attribute Custom value

Array of Numbers

  • Event-level attribute
  • Can be used in a webhook
  • Example: [“1”, “”, “3”, “4”] will output [1, 0, 3, 4]
  • For more information, see Attribute Data Type: Arrays.

Enrichments

Enrichment Source Values
Add Number to array NumberOmnichannel AttributeiQ attributeCustom value
Add an array of numbers Array of NumbersiQ attribute
Set to difference between two other arrays Array of NumbersiQ attribute
Reset (remove all values)

Rule Conditions

Rule Conditions Source Values
Is assigned
Is not assigned
NumberiQ attributeCustom value
Contains number NumberiQ attributeCustom value

Booleans

  • Event-level attribute
  • Can be used in a webhook
  • Example: “true”
  • For more information, see Boolean Attribute.

Enrichments

Enrichment Source Values
Set to true/false

Rule Conditions

Rule Conditions Source Values
Is true/false

Array of Booleans

  • Event-level attribute
  • Can be used in a webhook
  • Example: [true, false, true] (no quotes)
  • For more information, see Attribute Data Type: Arrays.

Enrichments

Enrichment Source Values
Add a boolean BooleanOmnichannel Attribute iQ attribute Custom value
Add an array of booleans Array of BooleansiQ attribute
Reset (remove all values)

Rule Conditions

Rule Conditions
Contains boolean
Contains only boolean
Is assigned
Is not assigned

Date

  • Event-level attribute
  • Can be used in a webhook
  • Control the input format by using the “Convert From Date Format” enrichment. For example, if this enrichment is set to “ddMMYY”, pass “31122020” for December 31, 2020 as input.
  • For more information, see Date Attribute.

Enrichments

Enrichment Source Values
“Convert from Date Format”
Set expected Date Format for event variable input.
Set to current date
Set date.
Use “xxx” for date format.
Date
Set date based on date format from iQ attributeString
Set date based on epoch milliseconds.
Use “xxx” for date format.
iQ attribute Number

Rule Conditions

Rule Conditions Source Values
Greater than or equal to
Less than or equal to
You can compare with the current time either directly or with future or past timeframe in seconds, minutes, hours, days, weeks or months.
DateCustom value
Is assigned
Is not assigned

iQ Attribute and Omnichannel Attribute

Rule Conditions

Rule Conditions
Contains
Contains [ignore case]
Does not contain
Does not contain [ignore case]
Array does contain
Array does not contain
Equals
Equals [ignore case]
Does not equal
Does not equal [ignore case]
Starts/ends with
Starts/ends with [ignore case]
Less than
Is assigned
Is not assigned
Is empty
Is not empty

Omnichannel Date

Rule Conditions

Rule Conditions Source Values
Greater than or equal to
Less than or equal to
DateCustom valueOmnichannel date
Is assigned
Is not assigned
Occurred more/less than X minutes, hours, days, weeks, months ago Custom value

Was this page helpful?

This page was last updated: January 7, 2023