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

Step 2 – Quantcast Measurement Analytics: Enable this option you need to enter the p-code scroll down a little to see these options

Step 3 – Sign in to Quantcast
Step 4 – Your “P-Code” is the unique ID associated with your account. Once you finish adding a website, your P-Code can be found by clicking the More Options (3 dots) icon and selecting “Get My Tracking Tag“. Your P-code will be on the right-hand side of the pop-up.

Step 5 – Copy your P-Code.

Step 6 – Paste in this section like below the screenshot.

Step 7 – Click on the “Save Changes” button and it will be displayed on your AMP pages.
Step 8 – 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.