Overwrite the value in data prep ( Datastream) for an eVar
Hi All
We are facing a challenge in capturing the correct ECID value in one of the custom eVar (v23). But because of the CSP policies on the platform the ECID is not available on the client when the rule trigger hence name of the data element as a string is being passed like %ECID% in eVar23. To get this fixed and replace %ECID% with an empty string , I am using this expression in data stream as
iif(content.xdm._experience.analytics.customDimensions.eVars.eVar23 == '%ECID%', '', _experience.analytics.customDimensions.eVars.eVar23)
But still getting the same string (%ECID%) in v23 and causing a failed batch in AEP Dataset.
Any advice or suggestion to get this addressed is appreciated.
Thank you.