What are Accelerated Mobile Pages (AMP)?

What are Accelerated Mobile Pages (AMP)?

Accelerated Mobile Pages (or AMP) is a project from Google and Twitter designed to make really fast mobile pages. It's basically a barebone, stripped-down form of HTML especially designed to load fast on mobile phones. That often means higher ranks on Search Engine Result Pages (SERPs), even though that only applies to mobile users.

To implement this technology on your WordPress site, you can install the  WordPress AMP plugin created by Automattic.

Please note that Google Analytics doesn't track AMP pages as standard, so one other step to take is to add some Google Analytics code into the plugin. To do this:

  • Log in to Google Analytics, click "Admin", choose "tracking info" then "tracking code".
  • Copy the Tracking ID that you'll see -- it will begin with UA. 
  • In your WordPress dashboard, click the AMP Plugin, and select Analytics.
  • You'll see a form like this:

  • In the "type" box, type "googleanalytics".
  • In the white box entitled "JSON Configuration", paste the code that I've added at the end of this article. Replace "enter-your-code-here" with your Google Analytics tracking ID.
  • Click "save".

You can also do something similar for tracking social button clicks.

Let us know if you need help with the process or if you'd like us to install that for you, by sending us an email to support@performancefoundry.com.

Here's the code you need:

(Replace enter-your-UA-code-here with your UA identifier. It'll start with UA- then a bunch of numbers.)

{
   "vars": {
     "account": "enter-your-UA-code-here"
   },
   "triggers": {
     "trackPageview": {
       "on": "visible",
       "request": "pageview"
     }
   }
}
    • Related Articles

    • Issues with AMP

      If you're having issues with AMP, these resources may help! (Want to know what AMP is? Check out this doc.) Validate AMP for Google Search If you’ve created AMP content and the page isn’t appearing in Google Search, there are a couple of things you ...
    • Mobile-first indexing has been enabled?

      If you use Google Search Console/GSC, this week you will probably receive an email (or up to four, depending on how many versions of your site you have set up there) saying that mobile-first indexing has been enabled for your site. First things ...
    • Add description to category pages

      Category pages are a useful place for visitors to your site to see all posts in a certain category. However, it's a good idea to personalise them a little -- Google and other search engines like unique pages, and index pages don't count as unique, ...
    • How do I de-index pages?

      There's more than one reason why you would want Google to de-index (delete from their records) a page on your site: The page no longer exists Serving a 404 page is perfectly normal and should be the way to go in this case. Just remember to fix any ...
    • Why isn’t Google Search Console indexing all my pages?

      Short answer: Not all of your pages should be indexed. There are many common reasons why a page is not indexed, and should not be indexed, for example if the URL doesn’t exist, is a duplicate, or is a categories or tags page.  Check out  Google’s ...