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"