data to ensure that deploying AMP sitewide is worthwhile. 3. Track with Analytics You will want to track the performance of your AMP pages. Since AMP analytics will be different from normal Google Analytics, read this guide to understand how it works. You can track pages through internal or third-party analytics. Many analytics providers have built-in configurations for amp-analytics. You can use amp-pixel for simple tracking and amp-analytics for everything else.
Technical recommendations when setting up tracking: Be sure to use the canonical URL and other variables to define what should be logged. This is critical to understanding any increase or decrease in traffic due to AMP. Use the extraUrlParams attribute in company employee list ampâanalytics to add a query string parameter to the canonical URL like "type=amp" or something similar. This will make it easy to differentiate AMP pages from normal web pages in analytics, or create a custom segment if you need one.
This way, you can compare the total page traffic before and after the AMP launch. Side Note: How Accelerated Mobile Pages Work If you're wondering how AMP pages can seem to load instantly, it's because they're optimized differently than a regular web page. Below, I've summarized the optimizations AMP performs to reduce the amount of work a browser has to do to render a page. (See the full list on the AMP project site.)Here is what the AMP process can do: Run only asynchronous JavaScript