Data Prep - Mapping of ECID to freeform data (data.__adobe.analytics.eVarX) | Community
Skip to main content
bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 17, 2024
Solved

Data Prep - Mapping of ECID to freeform data (data.__adobe.analytics.eVarX)

  • June 17, 2024
  • 1 reply
  • 2112 views

Hi guys,

 

quick question about data prep mapping in a datastream. Is it actually only possible to map incoming data to the XDM schema, but not to enrich the free-form "data" object with additional information?

Example: I want to set a value to the "data.__adobe.analytics.eVarX" to the ECID?

 

When I try to map the ECID (screenshot), the autocomplete does not work, and hardcoded also does not work.

 

So, do you know why none of the contextual free-form data cannot be accessed in the mapping?

Alternatively, I think there is also no direct access to the ECID on AA processing rule side, correct?

 

Ideally, I would like to avoid using getIdentity for it due to its async nature.

alloy("getIdentity")

 

 

Any suggestions?

 

Cheers

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ankit_Chaudhary

Hi @bjoern__koth 

Data prep is used to map your non XDM data to a XDM schema or values from one field of XDM schema to another.

If you would like to map ECID using data prep to an eVar and don't want to alloy("getIdentity") function you can try adding the Adobe Analytics ExperienceEvent Full Extension schema field group to your undelaying schema used in DataStream and map the value from xdm.identityMap.ECID[0].id to the specific eVar field.

1 reply

Ankit_Chaudhary
Community Advisor
Ankit_ChaudharyCommunity AdvisorAccepted solution
Community Advisor
June 27, 2024

Hi @bjoern__koth 

Data prep is used to map your non XDM data to a XDM schema or values from one field of XDM schema to another.

If you would like to map ECID using data prep to an eVar and don't want to alloy("getIdentity") function you can try adding the Adobe Analytics ExperienceEvent Full Extension schema field group to your undelaying schema used in DataStream and map the value from xdm.identityMap.ECID[0].id to the specific eVar field.