Best practices in DTM?
- March 2, 2016
- 1 reply
- 1233 views
Hi Guys,
I want to clarify the below things.
1) Will Adobe recommends to use Data layer in the page level instead of writing custom JavaScript/query in DTM rule? If yes, is there any particular reason to give more importance for data layer.
For eg: if we want to set pagename, we can go ahead and write the code in DTM rule to grab the value from the page url and concatenate that based on our requirement. Just want to understand the importance of using data layer& is there any drawbacks on going with custom JavaScript in DTM.
2) Is there any particular reason for asking developer to set unique property/class name instead of using defined class name to track links in DTM. Few companies are already following this.
-I could understand the importance of using unique propertyname/classname. No need to worry about the development team changes on the classname. Is there any other importance as it will give more effort for the development team when we ask them to set unique property/class name for each links
Thanks