Attributes

The Attributes tab allows you to browse Profile attributes belonging to the XDM Individual Profile class. Each folder can be expanded to reveal additional attributes, where each attribute is a tile that can be dragged onto the rule builder canvas in the center of the workspace. The rule builder canvas is discussed in more detail later in this guide.

The attributes section of the Segment Builder fields is highlighted.

Events

The Events tab allows you to create an audience based on events or actions that took place using XDM ExperienceEvent data elements. You can also find Event Types on the Events tab, which are a collection of commonly used events to enable you to create your segment definitions more quickly.

In addition to being able to browse for ExperienceEvent elements, you can also search for Event Types. Event Types use the same coding logic as ExperienceEvents, without requiring you to search through the XDM ExperienceEvent class looking for the correct event. For example, using the search bar to search “cart” returns the Event Types “AddCart” and “RemoveCart”, which are two very commonly used cart actions when building segment definitions.

Any type of component can be searched for by typing its name in the search bar, which uses Lucene’s search syntax. The search results begin to populate as entire words are entered. For example, to build a rule based on the XDM field ExperienceEvent.commerce.productViews, start typing “product views” in the search field. Once the word “product” has been typed, search results begin to appear. Each result includes the object hierarchy to which it belongs.

NOTE
Custom schema fields defined by your organization may take up to 24 hours to appear and become available for use in building rules.

You can then easily drag and drop ExperienceEvents and “Event Types” into your segment definition.

The events section of the Segment Builder UI is highlighted.

By default, only populated schema fields from your data store are shown. This includes “Event Types”. If the “Event Types” list is not visible, or you are only able to select “Any” as an “Event Type”, select the gear icon next to Fields, then select Show full XDM schema under Available Fields. Select the gear icon again to return to the Fields tab and you should now be able to view multiple “Event Types” and schema fields, regardless of whether they contain data or not.

Radio buttons that let you choose between only showing fields with data or showing all XDM fields are highlighted.