> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/advanced-settings/setup-tracking-for-amp-pages.md).

# Setup Tracking for AMP Pages

**GoAffPro** provides you with the option to set up tracking for the AMP pages of your store.

To set up tracking for the AMP pages of your store, go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FsctJ5c8S049CXaQdud3V%2Fimage.png?alt=media&amp;token=7fd919ca-7270-4322-9b0d-650bf5143ee5" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the AMP Pages tracking section.

![AMP Pages tracking](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYGUxLeLwUc2du42rc%2F-MBYHJN6pDR9CH9EZ7sH%2Fimage.png?alt=media\&token=5a0a5b9d-8694-4257-97cd-2ef83213018a)

Now, click on **Setup**

![Click on Setup](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYGUxLeLwUc2du42rc%2F-MBYHUJr6D9ixYenXZuL%2FAnnotation%202020-07-06%20141114.png?alt=media\&token=88e1d823-b0dc-410a-a9c4-bed6dc2d31e8)

This will open up the AMP Pages Tracking window.

![AMP Pages Tracking](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYGUxLeLwUc2du42rc%2F-MBYHiBLKZTd-EeSWJKI%2Fimage.png?alt=media\&token=cc093162-8ff9-4933-9c1c-0885743aedee)

&#x20;Next, add the following code to the head of the page.&#x20;

```
<script async custom-element = "amp-analytics" src = "https://cdn.ampproject.org/v0/amp-analytics-0.1.js">
```

![Add the code to the head of the page](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYGUxLeLwUc2du42rc%2F-MBYI6SiuZK7kLmJSi-Y%2FAnnotation%202020-07-06%20141313.png?alt=media\&token=8d38f055-91ec-4fd9-ab4b-e36b02032805)

After this, add the code in Step 2 to the bottom of the body of the page.

![Add the code to the bottom of the body of the page](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYGUxLeLwUc2du42rc%2F-MBYIPIyA1vDHGcyz_W5%2FAnnotation%202020-07-06%20141313.png?alt=media\&token=4ea6d45e-3757-4c37-9b97-a6cbdb9756fb)

{% hint style="info" %}
If you require help regarding setting up the tracking on your AMP pages, you can contact us at <admin@goaffpro.com>
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=SE0JLClKeJA>" %}
Setup Tracking for AMP Pages
{% endembed %}
