Tracking Code” to see your tracking ID – the ID should start with UA . Copy your tracking ID, then log in to WordPress. In the left navigation pane, navigate to AMP > Analytics and paste your tracking ID where it says "Google Analytics". Then click Save Changes . Step 3: Configure Plugin Settings In this step, I will discuss some basic setups for the Glue for Yoast SEO plugin mentioned in Step 1. You can skip this step if you chose not to install this plugin. The recommended configurations in this
document will allow you to customize the appearance of your accelerated mobile pages and enable AMP support for multiple content types. To get started, go to Yoast SEO > AMP > Post Types. Here you can select which post types should be AMP compatible. In the second tab, "Design", you can customize the appearance of your AMP-enabled pages. Apply CSS styling, customize convert raster to vector link content and colors, upload a custom AMP icon, and set a default image for pages that don't have an associated image. Step 4:
Test/validate your AMP setup Now that we've created our AMP URLs, it's important to make sure they're working properly. If they are not configured correctly, Google will not display them in search results. While this prevents you from viewing a semi-functional AMP page, it can also be a problem for many webmasters. Fortunately, there are several solutions to test your AMP URLs. Choose a few key pages and test the AMP builds using one of the methods below. As mentioned in step 1, you can add /amp/ to the end of a standard URL in order to display it. Option 1: test