Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Google Tag Manager Embed

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

0 Replies

Avatar

Correct answer by
Administrator

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

Avatar

Employee

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

Avatar

Level 10

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