How to Add Google Analytics to AMP Pages on WordPress

Looking to get more accurate data about your visitors to your Google AMP (Accelerated Mobile Project) enabled pages? MonsterInsights is the only Analytics WordPress plugin that lets you integrate with Google AMP and also supports Google Optimize. In this guide, we’ll show you how to add Google Analytics to AMP Pages on WordPress.

What Is Google AMP?

Google’s Accelerated Mobile Project is an open source initiative with the goal of making web content load faster for mobile users.

You might have already seen the AMP symbol beneath some Google search results on mobile.

Google AMP search results

It tells you that by clicking on the search result, you’ll be directed to an AMP page, which is a streamlined version of the original article specifically built for boosting page speed.

Best of all, if you click on the search results found in News carousel, you can easily swipe through different pages in the carousel, which load almost instantly on your mobile browser.

google amp pages in news carousel

It’s a win-win for you and your organic visitors because it increases the pageviews for you and improves the reading experience for your organic visitors.

AMP pages are a stripped down version of your site. They use a separate streamlined version of CSS and lazy load images in order to make your web pages load faster. Take a look at the difference between a normal mobile web page and an AMP enabled page.

normal page vs. amp page

Benefits of Adding Google Analytics to AMP Pages on WordPress

The MonsterInsights plugin lets you easily add Google Analytics to AMP pages with just a couple of clicks.

Without the MonsterInsights AMP addon, adding Google Analytics to your AMP pages is tricky and complicated. You’d actually have to modify the Google Analytics tracking code manually. Even then, sometimes it still requires some troubleshooting to get it to work right.

MonsterInsights is also the only Analytics WordPress plugin that supports AMP integration with Google Optimize, which is a free A/B testing and personalization product by Google.

That means, not only you can better understand your website visitors, but you can also deliver more engaging experiences that are relevant to your audience.

A few features of the MonsterInsights Google AMP addon are:

  • It stops double tracking visitors: By default, when a user visits an AMP page and then a normal page (or vice versa), Google AMP Analytics counts it as two different sessions. Our Google AMP addon fixes this issue and track it as a single session.
  • It supports other MonsterInsights features: In your AMP pages, you can adjust sample rates with the Performance addon or segment your Analytics with different dimensions in Custom Dimensions addon.
  • A/B test your AMP pages with Google Optimize: You can create different versions of your AMP pages to test user interactions, so you discover what works best on your AMP pages.

Adding Google Analytics to AMP Pages

We’re assuming that you’ve already set up Google Analytics in WordPress using MonsterInsights.

To integrate Google AMP with Google Analytics, you’ll need to install and activate the Google AMP addon.

To access the addon, you must have the Plus license plan or higher.

You’ll also need to have the Automattic AMP plugin installed and activated, and you must be running WordPress version 4.6 or newer.

Then go to Insights » Addons and click Install under the MonsterInsights Google AMP addon.

Installing the MonsterInsights Google AMP addon

After the plugin is installed, the button will change to say Activate. Go ahead and click the Activate button to make sure the addon is active and ready to use.

Activate the Google AMP addon

Congrats!

You’ve successfully installed the Google AMP addon. No further configuration is required.

How to Find AMP Data in Google Analytics

To find AMP data in Google Analytics, log into your Google Analytics account and select the website in which you’d like to find the AMP data.

click on google analytics view

Go to Behavior » Site Content » All Pages. To view the data of your AMP pages only, use the search bar above the table with the keyword /amp. This will show you the traffic report of your AMP pages only.

amp in google-analytics

If you’re monetizing your website with Google Analytics, you might also want to track the performance of your ads. You can refer to our guide to learn how to track Google AdSense in Google Analytics.

Don’t forget to follow us on Twitter and Facebook for more Google Analytics tutorials.

Comments

Congratulations, you have the opportunity to be the first commenter.
Have a question or suggestion? Please leave a comment to start the discussion.

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.