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
BedrockMission!

Learn More

View all

Sign in to view all badges

Update datalayer variables

Avatar

Avatar
Validate 1
Level 1
camillan2329313
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
camillan2329313
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
camillan2329313
Level 1

22-01-2016

Hi

I might have missed it somewhere in the documentation but we plan to use adobe analytics and DTM on a site. I understand how to setup det datalayer at pageview with variables like pagename, sections, but

i would like to update a datalayer variable on a user interaction.

Lets say i have a js onclick function and there i want to update a variable in the datalayer and make sure that adobe registers the change, is that possible and how would i do that?

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

27-01-2016

Hi Camillan,

Yes , We handle success events and conversion variables as well using Page Load rules and Event based rules etc. or by configuring Global Variables tab under tool configuration in DTM. 

Thanks & Regards

Parit Mittal

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
camillan2329313
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
camillan2329313
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
camillan2329313
Level 1

27-01-2016

Hi ParitMittal

Thank you for answering my question.

Is this the way we are suppose to handle success events and conversion variables aswell ?

or is there a way to do a dataLayer.push like with GTM ?

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

26-01-2016

Hi Camillan,

Thanks for reaching out to Adobe Dynamic tag Management Community. As per our understanding from the query, you are basically trying to create an event based data element such that the data element captures the value on a user interaction i.e. Click etc.  Please see the following link for more information on How to create event based data element. 

http://help-forums.adobe.com/content/adobeforums/en/marketing-cloud-forum/activation.topic.html/foru...

Please feel free to reach out to us in case of any questions or queries.

Thanks & Regards

Parit Mittal