Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Best practice to handle pages with data data structure

cathyw49544988
Level 6
Level 6

We have to track pages from different domains. Previously those pages were tracking by google tag manager or tealium tag manager. So we have datalayer or utags on different pages. Right now, we want to consolidate the data tracking with DTM. In the case, what will be the best way to handle the data difference from page to page.

Thanks

1 Accepted Solution
ericmatisoff
Correct answer by
Employee
Employee

Thankfully, DTM will work with any data layer you throw at it - even more than one! The best practice is probably to leverage the ContextHub Tool to hook into your JSON objects, then create Data Elements that align with each of the elements in your data layers. Here's the documentation on ContextHub, you'll want to leverage the Custom Data Layer feature:

Data Layer Management Using the ContextHub Tool

Hope that helps!

View solution in original post

1 Reply
ericmatisoff
Correct answer by
Employee
Employee

Thankfully, DTM will work with any data layer you throw at it - even more than one! The best practice is probably to leverage the ContextHub Tool to hook into your JSON objects, then create Data Elements that align with each of the elements in your data layers. Here's the documentation on ContextHub, you'll want to leverage the Custom Data Layer feature:

Data Layer Management Using the ContextHub Tool

Hope that helps!

View solution in original post