In this tutorial, we will show you how to add StatCounter Analytics in AMP for this follow the below steps.
Step 1 – First go to the WordPress Dashboard -> AMP option panel -> Settings -> Analytics.

Step 2 – StatCounter Analytics: Enable this option and add the URL of StatCounter.
For example: https://c.statcounter.com/PROJECT_ID/0/SECURITY_CODE/1/.

Step 3 – Click on the “Save Changes” button and it will be displayed on your AMP pages.
Step 4 – Once you have added then you can also check that in your source code of the AMP pages like this screenshot.

That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.