AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

1.8K members online now
1.8K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Need help to track AMP pages in GA

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭



I need a help in regards to tracking an AMP pages in GA.

I had placed this code in all the amp web page but then to my pages are not getting track, kindly help!

Below is the code:

In head 

<script async custom-element="amp-analytics" src=""></script>
<script async src=""></script>


and in Body

<amp-analytics type="googleanalytics">
<script type="application/json">
"vars": {
"account": "UA-52150157-1" /*replace with your GA tracking id*/
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"


Please help it is bit urgent.