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.
Go to the AMP Pages tracking section.
Click on Setup
This will open up the AMP Pages Tracking window.
Now, copy the following code to the head of the page.
<script async custom-element = "amp-analytics" src = "https://cdn.ampproject.org/v0/amp-analytics-0.1.js">
After this copy the code in step 2 to the body of the page.