Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Why doesn't Google Tag Manager snippet work with Cloud Services configuration???


Level 4

Does anyone know why the "Generic Analytics Snippet" under the AEM "Cloud Services Configurations" doesn't work when you to enter the Google Tag Manager snippet??? I can enter the typical Google Analytics snippet directly, and get it to work on AEM pages, but when I replace the GA Tag snippet, with the GTM snippet, it doesn't show up on the same page? Why doesn't this work out of the box? Seems simple. Add the GTM code snippet, and then go and add whatever additional tags you need, but instead, it seems you have to write custom code, or use the integration that's available on the web from CityTech.

1 Reply


Level 10

Have you tried to Use "Generic Analytics Snippet" cloud service config instead of google