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 | Array of Strings |
Number | Array of Numbers |
Boolean | Array of Booleans |
iQ Attribute | Custom Value |
Date | Omnichannel Date |
In Experimental Mode | Visitor ID |
Omnichannel 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 | |
Split (assign to randomly distributed values) | |
Remove | |
Lowercase | |
Join with delimiter | |
Set string to date |
Rule Conditions
Rule Conditions | Source Values |
---|---|
Contains Contains [ignore case] Does not contain Does not contain [ignore case] |
|
Equals Equals [ignore case] Does not equal Does not equal [ignore case] |
|
Starts/ends with Starts/ends with [ignore case] |
|
Is assigned Is not assigned |
|
Matches regex |
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 | |
Add an array of strings | |
Set to difference between two other Arrays | |
Reset (remove all values) | |
Lowercase all entries | |
Remove first/last/all entries of |
Rule Conditions
Rule Conditions | Source Values |
---|---|
Contains [partial string] Contains [partial string] [ignore case] |
|
Does not contain (key) Does not contain (key) [ignore case] |
|
Starts/ends with Starts/ends with [ignore case] |
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 | |
Ratio/Product/Difference/Sum | |
Set Number | |
Aggregate of array of numbers (Average, Minimum, Maximum) | |
Set to number of Items in array |
Rule Conditions
Rule Conditions | Source Values |
---|---|
Equals Does not equal |
|
Is assigned Is not assigned |
|
Greater than or equal to Less than or equal to |
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 | |
Add an array of numbers | |
Set to difference between two other arrays | |
Reset (remove all values) |
Rule Conditions
Rule Conditions | Source Values |
---|---|
Is assigned Is not assigned |
|
Contains number |
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 | |
Add an array of booleans | |
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. |
|
Set date based on date format from | |
Set date based on epoch milliseconds. Use “xxx” for date format. |
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. |
|
Is assigned Is not assigned |
iQ Attribute and Omnichannel Attribute
- Event-level attribute
- Can be used in a webhook
- Any data format
- For more information about omnichannel attributes, see Attributes: Offline Data (Omnichannel).
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
- Event-level attribute
- Can be used in a webhook
- Uses the Java Simple Date Format
- For more information about omnichannel attributes, see Attributes: Offline Data (Omnichannel).
Rule Conditions
Rule Conditions | Source Values |
---|---|
Greater than or equal to Less than or equal to |
|
Is assigned Is not assigned |
|
Occurred more/less than X minutes, hours, days, weeks, months ago |
This page was last updated: March 11, 2024