var env = utils.getBuildInfo().environment;
var region = arc.event.xdm._polo.region;
if (region == 'us') {
return _satellite.getVar("googleOAuth2Secret");
}
else if(region.match(/(au|tw|my|sg|hk|jp|kr)/) != null) {
return "";
}
else { //EU access token
return _satellite.getVar("emeaGoogleAuthSecret");
}
Failed to execute "Send Conversion". Failed to execute module for data element "googleAuthSecretChooser". _satellite is not defined
ReferenceError: Failed to execute "Send Conversion".
Failed to execute module for data element "googleAuthSecretChooser". _satellite is not defined at Object.source (worker.js:2:40457)
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Ben_Step - To access the value of a data element in custom code, use the getDataElementValue method.
Reference: https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/server/core/overview.htm...
Hi @Ben_Step - To access the value of a data element in custom code, use the getDataElementValue method.
Reference: https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/server/core/overview.htm...
Perfect, thanks
Views
Replies
Total Likes
Hello,
Can you please give me the syntax on how to add getDataElementValue in the event forwarding. Say for example I have created "Host' in client side data element.
But, how we can refer client side data element "Host" in event forwarding data element.
Can you kindly guide us with the example. Thanks!
Views
Replies
Total Likes
you can not directly refer a client side data element in event forwarding. you can assign it to a schema field, and can refer the schema path in event forwarding data element creation.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies