Expand my Community achievements bar.

Elevate your expertise and be recognized as a true influencer! Nominations for the exclusive Adobe Community Advisor program 2023 are now OPEN.
SOLVED

What is the best practice to store or maintain Analytics tags in AEM?

Avatar

Level 3

Looking for best practices to maintain analytics tags in AEM. We have hunderds of pages and wanted to add tracking for all the links included in site, also wanted to maintain analytics tags remain same across all the components. So what is the best approach to achieve this. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It would be best if you used Tag Managers, e.g., Google Tag Manager and Adobe Launch Tag Management, to enable different tags(e.g., analytics) to AEM pages.

Regards

Albin

https://www.albinsblog.com

2 Replies

Avatar

Employee

Hi @SonuR1 ,

 

I am assuming you are talking about analytics implementation within AEM

https://experienceleague.adobe.com/docs/analytics/implementation/prepare/data-layer.html?lang=en 

 

If you are already using core components they come by default with data-layer support, which will make it uniform and less effort on your side.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/data-lay...

 

Hope this helps!

 

Regards,

Nitesh

Avatar

Correct answer by
Community Advisor

It would be best if you used Tag Managers, e.g., Google Tag Manager and Adobe Launch Tag Management, to enable different tags(e.g., analytics) to AEM pages.

Regards

Albin

https://www.albinsblog.com