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

AA using GTM?

Avatar

Level 4

Any documentation on how to deploy AA via GTM?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
3 Replies

Avatar

Community Advisor

I haven't come across any official documentation for doing this. Also, be aware that Client Care will not provide any support at all if you implement AA with GTM.

Having said that, this has worked for me before:

  • In a Custom HTML tag that's fired with the All Pages trigger, add the AppMeasurement.js code.
  • With other Custom HTML tags that are fired with appropriate triggers, add the s.t() and s.tl() calls as needed.

Avatar

Correct answer by
Employee Advisor

Avatar

Community Advisor

Just use the steps to deploy code using JavaScript implementation as described here: https://experienceleague.adobe.com/docs/analytics/implementation/js/overview.html?lang=en

 

You simply need to inject the AppMeasurement.js library and then instantiate Adobe Analytics. Also you will need to deploy Visitor ID services and instantiate it before Adobe Analytics.

 

These steps are if you do not use AEP.