Defining the event key

The key is the field or combination of fields is part of the event payload data and that will allow the system to identify the person associated to the event. The key can be, for example, the Experience Cloud ID, a CRM ID or an email address.

If you plan to leverage data stored in the Real-time Customer Profile database, you must select, as the event key, information you defined as a profile’s identity in the Real-time Customer Profile Service.

It will allow the system to perform the reconciliation between the event and the individual’s profile. If you select a schema that has a primary identity, then the Key and Namespace fields are pre-filled. If there is no identity defined, we select identityMap > id as the primary key. Then you have to select a namespace and the key will be pre-filled (below the Namespace field) using identityMap > id.

When selecting fields, primary identity fields are tagged.

If you need to use a different key, such as a CRM ID or an email address, you need to add it manually:

  1. Click inside the Key field or on the pencil icon.

  2. Select the field chosen as the key in the list of payload fields. You can also switch to the advanced expression editor to create more complex keys (for example, a concatenation of two field of the events). See below, in this section.

When the event is received, the value of the key will allow the system to identify the person associated to the event. Associated to a namespace (see this page), the key can be used to perform queries on the Adobe Experience Platform. See this page.
The key is also used to check that a person is in a journey. Indeed, a person cannot be at two different places in the same journey. As a result, the system does not allow the same key, for example the key CRMID=3224, to be at different places in the same journey.

You also have access to the advanced expression functions (Advanced mode) if you want to perform additional manipulations. These functions let you manipulate the values used to carry out specific queries such changing formats, performing field concatenations, taking into account only a part of a field (for example the 10 first characters). See this page.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9