Epsilon Contact ID not reflected in identityMap array in ‘AJO Message Feedback Event Schema’
Requirement: I am trying to include Epsilon Contact ID as an item within the identityMap array in ‘AJO Message Feedback Event Schema’(out of the box schema).
What I have done so far:
- Created a custom action and in the identities section, added emailAddress and epsilonContactId:
"identities": {
"emailAddress": {
"toBeMapped": true,
"dataType": "string",
"label": "Email Address"
},
"epsilonContactId": {
"toBeMapped": true,
"dataType": "string",
"label": "Epsilon Contact ID"
}
},
- Then, mapped both(emailAddress, epsilonContactId) to the identityMap as below:
"identityMap": {
"EmailAddress": [
{
"authenticatedState": "ambiguous",
"id": {
"toBeMapped": true,
"dataType": "string",
"label": "Identity Map Email Address"
},
"primary": {
"toBeMapped": true,
"dataType": "boolean",
"label": "Identity Map Primary Indicator"
}
}
],
"EpsilonContactId": [
{
"authenticatedState": "ambiguous",
"id": {
"toBeMapped": true,
"dataType": "string",
"label": "Identity Map Epsilon Contact Id"
},
"secondary": {
"toBeMapped": true,
"dataType": "boolean",
"label": "Identity Map Secondary Indicator"
}
}
]
},
- Also updated the relevant schema to:
Set Email Address as the primary identifier.
Set Epsilon Contact ID as the secondary identifier.
- Ingested test records accordingly and created an audience based on those records.
- Triggered a test journey with the custom action.
Verification:
Then ran the following query to confirm if EpsilonContactId is getting recorded in the identityMap:
SELECT TO_JSON(_experience), identityMap, timestamp
FROM ajo_message_feedback_event_dataset
WHERE _experience.customerJourneyManagement.emailChannelContext.address IN (
)
ORDER BY timestamp DESC
However, the results only show Email in the identityMap, with no sign of EpsilonContactId:
[Email -> "{(t,testemail1@gmail.com,NULL)}"]
Could you help me confirm whether I'm missing something in the configuration, or mapping of the EpsilonContactId is not quite right or if there is another step required to ensure EpsilonContactId gets properly recorded in the identityMap?
Appreciate your help!
Thanks and best regards,
Zoe
