Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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

View solution in original post

2 Replies

Avatar

Employee Advisor

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