ACDL tracking Adobe Analytics variables | Community
Skip to main content
June 17, 2022
Solved

ACDL tracking Adobe Analytics variables

  • June 17, 2022
  • 1 reply
  • 1072 views

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!

 

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 leocwlau
s.linkTrackVars = "events,eVar10,evar33,eVar83,prop10";

You have a lower case v for evar33 and it should be eVar33

1 reply

leocwlau
Community Advisor and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 20, 2022
s.linkTrackVars = "events,eVar10,evar33,eVar83,prop10";

You have a lower case v for evar33 and it should be eVar33

M_SDBergAuthor
June 29, 2022

thanks for catching it - 🔎 need one of these here at my desk lol