Categories: AMP - Guide

How to Add 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.

Now Login to WordPress Admin Panel –> AMP –> General Settings –> Paste the ID in Google Analytics ID Section –> Click Save Changes.

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)

Ahmed Kaludi

I'm one of the Lead developers on this project. Know more about me at http://ahmedkaludi.com

Share
Published by
Ahmed Kaludi