Expand my Community achievements bar.

SOLVED

Best practices in DTM?

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hello,

Please find below my comments inline to the points you mentioned. 

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.

Comment-  Given the recent rise in popularity of enterprise tag management systems—including Adobe’s own amazing and free dynamic tag management (DTM) product—the deployment of a digital data layer on your digital properties makes collecting and handling your most crucial data points easier (and more powerful) than ever.  Please see the following link for more information on Data layer best practices -

http://blogs.adobe.com/digitalmarketing/analytics/data-layers-buzzword-best-practice/

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 ?.

Comment- Even though it seems to be an effort for the developer to set unique property names but it's only a one time effort  and makes the management of tags easier and extracting the data required from link without altering the other predefined attributes.

Also, Please refer  below link for our newly published documents on Best Practices for Getting Started with DTM.

https://marketing.adobe.com/resources/help/en_US/dtm/gs/basics.html

Thanks & Regards

Parit Mittal

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hello,

Please find below my comments inline to the points you mentioned. 

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.

Comment-  Given the recent rise in popularity of enterprise tag management systems—including Adobe’s own amazing and free dynamic tag management (DTM) product—the deployment of a digital data layer on your digital properties makes collecting and handling your most crucial data points easier (and more powerful) than ever.  Please see the following link for more information on Data layer best practices -

http://blogs.adobe.com/digitalmarketing/analytics/data-layers-buzzword-best-practice/

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 ?.

Comment- Even though it seems to be an effort for the developer to set unique property names but it's only a one time effort  and makes the management of tags easier and extracting the data required from link without altering the other predefined attributes.

Also, Please refer  below link for our newly published documents on Best Practices for Getting Started with DTM.

https://marketing.adobe.com/resources/help/en_US/dtm/gs/basics.html

Thanks & Regards

Parit Mittal