Title: GTM Tracking for AMP Containers
Author: joshua
Published: May 21, 2024
Last modified: November 12, 2025

---

 1. [Installation resources](https://docs.parse.ly/installation-resources/)
 2. [Installation tools](https://docs.parse.ly/installation-resources/installation-tools/)
 3. [Google Tag Manager](https://docs.parse.ly/installation-resources/installation-tools/google-tag-manager/)
 4. GTM Tracking for AMP Containers

#  GTM Tracking for AMP Containers

This instruction assumes you’ve already seen our Google Tag Manager (GTM) instructions
for [Web containers](https://docs.parse.ly/gtm-tracking-for-web-containers/). We
will continue by describing the steps for GTM tracking for [AMP](https://amp.dev/?sjid=515717917394380835-NA)
Containers.

Parse.ly has partnered with Google to provide a tag to load the Parse.ly component
on Accelerated Mobile Pages (AMP).

## Prerequisites

 1. You will need to know your [Parse.ly Site ID](https://docs.parse.ly/site-id/)(s)
 2. Optional – create a [Site ID variable](https://docs.parse.ly/setting-up-a-site-id-variable/)
    to send testing data to your [sandbox](https://docs.parse.ly/sandbox/)
 3. If you’ve already added the tracking code by another means (such as [the WordPress plugin](https://docs.parse.ly/plugin-common-questions/#h-does-wp-parsely-support-google-tag-manager)),
    you should be prepared to disable that other means of tracking to avoid double 
    counting page views. Not sure? You can use our [testing instructions](https://docs.parse.ly/test-integration/)
    to see if page views are firing right now.

## Instructions

 1. Navigate to the “Tags” section of your Google Tag Manager workspace.
 2. Click “New”.
 3. From “Tag Configuration” choose the `Parse.ly` tag from the “More” section (or 
    search for the Parse.ly tag).
 4. Add your Parse.ly Site ID to the `Parse.ly API Key` field.
 5. Check the box next to _Get Client ID from AMP document or cookie_.
 6. Click in the _Triggering_ section and select the trigger you wish to use for this
    tag. A good rule of thumb: use the same trigger(s) you already have configured 
    for Google Analytics or other trackers. Otherwise, just choose the standard _All
    Pages_ trigger.
 7. Name and save the tag and publish your container.

The Parse.ly AMP component will now deploy through Google Tag Manager to your AMP
pages.

## Next Steps

 * Does everything work? Use our [testing instructions](https://docs.parse.ly/test-integration/)
   to verify that one, and only one, page view goes to Parse.ly with each page load.
 * Set up your [metadata](https://docs.parse.ly/metadata/) (not available via GTM),
   if you haven’t done so already.
 * Check to see if there’s more to set up in GTM that applies to you:
    - [Dynamic Tracking](https://docs.parse.ly/google-tag-manager/#h-dynamic-tracking)
    - [Conversions](https://docs.parse.ly/gtm-conversions/)
 * Return to the [GTM overview](https://docs.parse.ly/google-tag-manager/#h-dynamic-tracking)
   or [Integration Overview page](https://docs.parse.ly/parsely-integration/) to
   ensure you’ve completed everything

Last updated: November 12, 2025