Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dittofeed.com/llms.txt

Use this file to discover all available pages before exploring further.

The includes segment node is restricted to users who have an an array trait which includes a specific value. This can be useful for “tagging” users with a set of values, and then asserting that a user has at least one of those tags.

Example Use Case - Messaging Users

Let’s say you have multiple user tags e.g. “VIP”, “Frequent Buyer”, “Loyalty Program Member”. You can issue an “identify” event with an array trait containing all of these tags.
{
  "type": "identify",
  "userId": "1234",
  "traits": {
    "tags": ["VIP", "Frequent Buyer", "Loyalty Program Member"]
  }
}
You can then create a segment that includes users who have at least one of these tags.
Includes Segment Example