Hi there,
I am using DTM as tag management system.
I set up a click event that is triggered if a user clicks on a link within a certain div element of my page.
There are different link within the div element and I want to use the link name as value for the evar related to this click event. Therefore I tried to create a data element but I could not figure out how to set up the data element correctly.
Does anybody have an idea how to solve this? How do I set up a data element that uses the link text as value?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Dear floriane34930698,
This is something you need to check with your developer. Guess we should use 'this.' variable : Sorry i am not a JavaScript expert.
If you are able to extract the Text Link, you can use the same in 'On Click' Rule to store it in an eVar.
I would encourage you to check out the Activity Map Plugin and it uses before you work on the customization: Experience Cloud Help
Thank You
Arun
Views
Replies
Total Likes
Dear floriane34930698,
This is something you need to check with your developer. Guess we should use 'this.' variable : Sorry i am not a JavaScript expert.
If you are able to extract the Text Link, you can use the same in 'On Click' Rule to store it in an eVar.
I would encourage you to check out the Activity Map Plugin and it uses before you work on the customization: Experience Cloud Help
Thank You
Arun
Views
Replies
Total Likes