About ExperienceEvent Schemas for Journey Optimizer Events about-experienceevent-schemas
Journey Optimizer events are XDM Experience Events that are sent to ÃÛ¶¹ÊÓÆµ Experience Platform via Streaming Ingestion.
As such, an important prerequisite for setting up events for Journey Optimizer is that you are familiar with ÃÛ¶¹ÊÓÆµ Experience Platform’s Experience Data Model (or XDM) and how to compose XDM Experience Event schemas, as well as how to stream XDM-formatted data to ÃÛ¶¹ÊÓÆµ Experience Platform.
Schema requirements for Journey Optimizer Events schema-requirements
The first step in setting up an event for Journey Optimizer is to ensure that you have an XDM schema defined to represent the event, and a dataset created to record instances of the event on ÃÛ¶¹ÊÓÆµ Experience Platform. Having a dataset for your events is not strictly necessary, but sending the events to a specific dataset will allow you to maintain users’ event history for future reference and analysis, so it is always a good idea. If you do not already have a suitable schema and dataset for your event, both of those tasks can be done in ÃÛ¶¹ÊÓÆµ Experience Platform web interface.
Any XDM schema that will be used for Journey Optimizer events should meet the following requirements:
-
The schema must be of the XDM ExperienceEvent class.
-
For system-generated events, the schema must include the Orchestration eventID field group. Journey Optimizer uses this field to identify events used in journeys.
-
Declare an identity field for identifying individual profiles in the event. If no identity is specified, an identity map can be used. This is not recommended.
-
If you would like this data to be available for profile, mark the schema and dataset for profile. Learn more
-
Feel free to include data fields to capture any other context data you want to include with the event, such as information about the user, the device from which the event was generated, location, or any other meaningful circumstances related to the event.