Data Elements timing in DTM | Community
Skip to main content
Erika_Barber
Employee
October 16, 2015
Solved

Data Elements timing in DTM

  • October 16, 2015
  • 1 reply
  • 2002 views

Are data elements processed based on the tags using them or are they processed at a specific time on the page? 

For example, a data element using custom JS is configured to pull a text value from an HTML <A> tag that isn’t available until the middle of the <body> tag.  If I have a tag that fires in the head and another that fires in at the closing body, will the header tag not include that data element but the footer tag would?

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 Erika_Barber

Data Elements are “use it or lose it”.   If you define a Data Element in the UI but never use it in any rule, it will never be populated. 

When you call a Data Element in a rule, DTM then looks for your definition of that Data Element, and THEN populates it.

1 reply

Erika_Barber
Erika_BarberAuthorAccepted solution
Employee
October 16, 2015

Data Elements are “use it or lose it”.   If you define a Data Element in the UI but never use it in any rule, it will never be populated. 

When you call a Data Element in a rule, DTM then looks for your definition of that Data Element, and THEN populates it.