DTM and pre-existing s.contextData values | Community
Skip to main content
Level 2
October 16, 2015
Solved

DTM and pre-existing s.contextData values

  • October 16, 2015
  • 2 replies
  • 1722 views

Hi 

We've a number of implementations where we've extensively used s.contextData["name"] = "value".

Whats the best way to integrate using existing contextData on the page and use that data to trigger events etc in DTM?  When I try to use it I keep getting a JS error saying that s.contextData is not defined.

Thanks

Tim

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 time42580181

Hi

Its not actually about how to use them - we know how to do that - it's how to get them working in DTM and AppMeasurement.js as they're not even getting passed through.  It appears like DTM is resetting contextData and so no value is ever passed through.

T

2 replies

time42580181AuthorAccepted solution
Level 2
October 16, 2015

Hi

Its not actually about how to use them - we know how to do that - it's how to get them working in DTM and AppMeasurement.js as they're not even getting passed through.  It appears like DTM is resetting contextData and so no value is ever passed through.

T