Google Tag Manager Embed | Community
Skip to main content
slash755
New Participant
July 12, 2018
Solved

Google Tag Manager Embed

  • July 12, 2018
  • 3 replies
  • 4138 views

I have created a new tag in Google Tag Manager and need to embed this on all pages in AEM.

Where do I do this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

You would need to add the JS code into the page template. All the web-pages created with this template would then be having GTM implemented in it.

-Kautuk

3 replies

smacdonald2008
New Participant
August 20, 2018

Try adding the required JS libs to a clientlibs in your AEM project - as mentioned by Kautuk

Employee
August 20, 2018

Use the Generic Tracker cloud configuration in AEM, add your tracking code and include this cloudservice to your content hierarchy and you should be good to go.

(1) : Analytics with External Providers

kautuk_sahni
kautuk_sahniAccepted solution
Employee
August 20, 2018

You would need to add the JS code into the page template. All the web-pages created with this template would then be having GTM implemented in it.

-Kautuk

Kautuk Sahni