Expand my Community achievements bar.

Adobe Summit 2025: AEP & RTCDP Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

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