Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

DTM and pre-existing s.contextData values

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 3

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

View solution in original post

2 Replies

Avatar

Level 4

Avatar

Correct answer by
Level 3

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