Passing dataLayer variable into DTM data elements

Avatar

Avatar
Validate 1
Level 1
davidk4115132
Level 1

Likes

2 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
davidk4115132
Level 1

Likes

2 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
davidk4115132
Level 1

06-09-2016

I have been struggling for days on the correct "path" for my mappings, and appreciate your explanation.

As a result of your detailed explanation found here: http://goo.gl/rdZgt4 I have replaced the path:  http://screencast.com/t/UzZY7IaZ06L with the path: http://screencast.com/t/Cuu28nuVI

I am still debugging the mbox parameters from the page load I have firing, ProductDetail:

Why is my CustomerType appearing but not my ProductID?

http://screencast.com/t/8uhwuZqJRUhI

As you see in the debugging panel _satellite.getVar('ProductID') is returning the correct value, but is not showing in the mbox debugger?

Thanks,

David

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

08-09-2016

Hi David ,

Yes , They would be exposed in DTM . Please see the below snapshot of the example we have implemented . 

In the above , We are creating our Data Element from "AEM Context Hub" "Custom Data Layer" .

Also, Please see the link https://marketing.adobe.com/resources/help/en_US/dtm/c_custom-data-layer-example.html for more info 

 Thanks & Regards

Parit Mittal

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
davidk4115132
Level 1

Likes

2 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
davidk4115132
Level 1

Likes

2 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
davidk4115132
Level 1

07-09-2016

Thanks for checking.  I rolled out a patch to move the population of the JS variable DTMdataLayer above my DTM include and that rectified.  

As a follow up, AEM ContextHub tool and integration in this fashion.  I used the "Customized ContextHub Data Layer" option and added my data layers definition to the bottom of the default and then saved.  I entered DTMdataLayer for the "Data Layer Root" in hopes that this tool would automatically expose these variables.  Perhaps saving a wee bit of time when defining my data elements, as they would be exposed in the DTM?

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

07-09-2016

Hi David ,

We tried to replicate the issue at our end. However the issue doesn't occur at our end and the Global Mbox parameter "ProductID"  is getting populated on the product detailpage. 

Please find below the Snapshots for the same.

Thanks & Regards

Parit Mittal