Working with the adobe client data layer. I see only some variables being passed back in the beacon. Not all.
The variables are set in the data layer. I am setting these in Adobe Analytics set variables (custom code):
The structure where the component is found:
5.
component:
form-container-123456:
formId: "form-container-123456"
formName: "main contact"
formType: "contact us"
pageOfForm: "home"
How I am setting the variables.
Tags > rule > actions (formStart) > AA set variables custom code:
s.linkTrackVars = "events,eVar10,evar33,eVar83,prop10";
s.linkTrackEvents = "event12";
var myComponentPath = event.message.eventInfo.path;
var acdlComponent = window.adobeDataLayer.getState(myComponentPath);
s.eVar10 =acdlComponent['formId'];
s.eVar83 =acdlComponent['formType'];
s.eVar33 =acdlComponent['pageOfForm'];
s.prop10 =acdlComponent['formName'];
s.events = "event12";
s.tl(true,"o","Contact Us Start");
s.clearVars();
I seem only pick up 3. eVar10, prop10 and eVar83. Missing eVar33.
Not sure what might be the cause of this. I also tried using s.apl() but that didn't work. If anyone has any guidance/insight it's appreciated!
Solved! Go to Solution.
Views
Replies
Total Likes
s.linkTrackVars = "events,eVar10,evar33,eVar83,prop10";
You have a lower case v for evar33 and it should be eVar33
s.linkTrackVars = "events,eVar10,evar33,eVar83,prop10";
You have a lower case v for evar33 and it should be eVar33
thanks for catching it -
Views
Replies
Total Likes
Views
Likes
Replies