DTM:Adobe Analytics "Custom Page Code" load order | Community
Skip to main content
Level 3
December 13, 2017
Solved

DTM:Adobe Analytics "Custom Page Code" load order

  • December 13, 2017
  • 1 reply
  • 1866 views

Hi,

I was just wondering what the exact load order from the "Custom Page Code" section of the Adobe Analytics section is. Because sometimes variables like s.linkTrackVars are set with real values and sometimes they are set to None. Are they executed before or after the UI-based Analytics setup of eVars, events and props?

Thanks for your help!

Cheers,

Konstantin

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 jdonley

Order of operations is:

  1. Variables/Events are populated from the form fields in the Tool config > Global Variables (if s.tl call, DTM does not register to linkTrackVars and linkTrackEvents at this point)

  2. Variables/Events are populated from the form fields in the Rule (if s.tl call, DTM does not register to linkTrackVars and linkTrackEvents at this point)

  3. Custom Code box code in the Rule is evaluated (if s.tl call, make sure to register your variables/events set within your custom code box to linkTrackVars and linkTrackEvents)

  4. Variables/Events populated from the form fields (for both Global and Rule vars) are registered (appended)  to linkTrackVars and linkTrackEvents

1 reply

jdonleyAccepted solution
Level 8
December 13, 2017

Order of operations is:

  1. Variables/Events are populated from the form fields in the Tool config > Global Variables (if s.tl call, DTM does not register to linkTrackVars and linkTrackEvents at this point)

  2. Variables/Events are populated from the form fields in the Rule (if s.tl call, DTM does not register to linkTrackVars and linkTrackEvents at this point)

  3. Custom Code box code in the Rule is evaluated (if s.tl call, make sure to register your variables/events set within your custom code box to linkTrackVars and linkTrackEvents)

  4. Variables/Events populated from the form fields (for both Global and Rule vars) are registered (appended)  to linkTrackVars and linkTrackEvents