1. Home
  2. How To
  3. How to Add Google Analytics to AMP

How to Add Google Analytics to AMP

In today’s Blogging world publishing and understanding the audience is a heart to right articles and creating the royal readers. There should be KEY to understanding the behavior of the audience. So, AMP includes an amp-analytics element that allows publishers to track and view the behavior of visitors on the website. The publisher can automatically track visitor counts, Clicks, New Vs Returning and much more on AMP pages.

How to Add Analytics to AMP

Login to Google Analytics Account –> Copy the Google Analytics Code.


You will find this option in WordPress Admin Panel –> AMP option panel –> Settings –> Analytics-> Enable “Google Analytics” option Paste the ID in Tracking ID Section –> Click on the “Save Changes” button.

That’s it; Now you can Track visitor counts, Clicks, New Vs Returning and much more on AMP pages.

How to Add Analytics to AMP (Video)

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on August 5, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support


  1. any indication for it actually working?
    I mean the code is there- but tag assistant doesn’t see it.
    and there is a rumour going around duplicate content etc…
    where can i find additional info?

    1. Hi John,

      The Google Tag assistant does not detect the AMP pages because it does run with Javascript and AMP doesn’t allow it to do.

      But that doesn’t mean that its not working. It will still work perfectly.


  2. Pingback: AMP - An Overview [Set-up, Pros & Cons] - The Digital Mind

  3. I added the official amp plugin. Is it a problem if I remove it and add your plugin?

    1. Hi Burhan,

      There is no problem if you remove the official amp plugin and add our plugin.

Leave a Comment