How to build DTM friendly site?

Avatar

Avatar
Validate 1
Level 1
aida_tabaeva
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
aida_tabaeva
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

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

21-02-2017

I'm looking for any materials or best practices for site coding. I have an opportunity to talk to my dev team and make sure they follow the guidance so the site comes out DTM friendly.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,340 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,340 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

21-02-2017

Hi Aida,

DTM can be deployed on just about any website. The deployment is very straight forward with just two lines of code, one inside the <head> tag and one as close to the closing </body> tag as possible. With that said, we have an awesome getting started guide that you may want to take a look at. My favorite portion of the guide is the best practices guide.

A few other tips from my years in customer care are:

  • Single page apps are more difficult to tag with the current version of DTM. More info coming at Summit! 🙂
  • Having a data layer for your page makes tagging much easier - Adobe Blog posts about data layers: Data Layers: From Buzzword to Best Practice,  Analytics and Data Layers: A Look Under the Hood
  • Entrust DTM to manage your Adobe solution code. Mixing page code with code deployed via DTM is possible, but it's best to host Adobe code in DTM.
  • Being specific on your page by using ids and classes will also make tagging easier
  • If possible, plan on having your dev team help setup data elements after the site is deployed. Occasionally, dev knowledge (CSS selectors or JavaScript) may be needed to extract values from the page.
  • If you're interested in even more help, engage with our consulting team via your account manager.

Hope this helps!

Regards,
Jantzen

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
aida_tabaeva
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
aida_tabaeva
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

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

22-02-2017

Thank you!