Skip to content

Google AMP: Overview and setup is collaborating with Google on their Accelerated Mobile Pages Project (AMPP or AMP for short). AMP is an open-source initiative to improve the mobile web experience by allowing web pages to load instantly on mobile devices.

Pages optimized with AMP HTML can be tracked in your existing account by adding the appropriate amp-analytics tag to your pages:

<amp-analytics type="parsely">
<script type="application/json">
    "vars": {
      "apikey": "YOUR Site ID (apikey) GOES HERE"

Please ensure you set the apikey variable above to the appropriate value for your account. It is the same string as the Site Id (e.g. you use for the basic integration.

Unique Visitor Duplication

When using the AMP Content Delivery Network (CDN), visitor IDs are generated using a different method than that of the standard JavaScript tracker. As a result, a reader who visits and then views a page on will be counted as two visitors instead of one. We account for this fact in our calculation of new vs. returning visitors.

If you are hosting AMP pages on your domain and not the AMP CDN, will use the existing visitor ID, and no duplicate counting will occur.


Is AMP tracking supported via the WordPress plugin?

Yes, see this FAQ for details.

Can I add AMP tracking via Google Tag Manager?

Yes, following the Google Tag Manager AMP container instructions.

How can I verify that my AMP pages are tracking properly in

If you’re tracking AMP pages properly, you’ll see data in the “Channels” section of your dashboard ( Email if you need help debugging your implementation.

Can I see engaged time stats for AMP?

Yes. AMP engaged time support was enabled on May 8th, 2018.

Do I need to provide metadata on AMP pages?

No. As a rule, the Crawler does not retrieve data from AMP pages. Instead, when it encounters an AMP page, it will follow the URL in the <link rel="canonical"> tag as the canonical URL. For more on how the tracker groups URLs across platforms, see “How does the crawler handle posts with multiple URLs?”.

Last updated: May 31, 2024