Array of booleans
This article describes how to use an array of booleans.
The array of booleans attribute stores a list of true/false values.
The array of booleans is available in the following scopes: Event, Visit, Visitor.
The strings “true” and “false” (any mix of upper/lowercase) are converted to their respective boolean values. All other non-boolean values are ignored.
Enrichments
Add a boolean
This enrichment adds a value to the array. The added attribute can only be a boolean, iQ variable, or omnichannel attribute. For example, you may want to add a boolean to the array to represent that the customer purchased on their last visit.
Attribute Name: did_purchase_on_visit
- Starting value:
[true] - Enriched With:
false - Resulting value:
[true, false]
Add an array of booleans
This enrichment adds all the values from another array to the array. The added attribute type can only be an array of booleans or iQ variables.
Attribute Name: my_booleans
- Starting value:
[true] - Enriched With:
[false, true] - Resulting value:
[true, false, true]
Reset
This enrichment removes all values from the boolean array.
Attribute Name:did_purchase_on_visit
- Starting value:
[true, false, true] - Resulting value: (Removed)
Stitching merge rules
Stitching merge rules (if enabled) are optional, per‑attribute rules that determine the final value of an attribute when two visitor profiles are stitched.
The array of booleans attribute supports the following stitching merge rules:
| Rule | Description |
|---|---|
| NEWER | Keep the more recently updated value (including removed values) |
| OLDER | Keep the earlier updated value (including removed values) |
| RECALCULATE | Discard previous values and run enrichments on the final merged profile |
| RECALCULATE (FORCE) | Discard previous values and run enrichments on the final merged profile, force some conditions to true |
| UNION | Combine values from both, preserving consistent order across arrays. |
For more information, see Stitching merge rules.
This page was last updated: December 14, 2025