Linking to Your AMP Page
If your regular web page is linked to Google, how does Google know to send your customer to your landing page's AMP version rather than the normal version?
The answer to this question is AMP linking.
By adding a special AMP-coded link to your landing page, Google will be able to read the AMP link from your website’s code and will automatically load the special AMP version of your page whenever appropriate.
This page that holds the link to your AMP page is called your canonical page, which - for example - will be the corresponding Unbounce landing page.
There are two key steps to linking your AMP Page and the canonical page:
- Link the AMP Page to your Canonical Page, which will either be an
- Link the Canonical Page to your AMP Page.
AMP URL linking is not fully supported on all platforms (for instance, Facebook). Google has a list of AMP-supported partners where linking to your canonical page will load to your AMP page if the appropriate platform is being used.
Adding Your AMP Link to an Unbounce Canonical Page
- Navigate to the Page Overview of your AMP Page.
- In the Linking AMP Page to Your Landing Page panel, click the Copy button.
Next, we'll link the AMP page to the canonical landing page in Unbounce.
- Navigate to the Page Overview of your canonical page (i.e., the Unbounce Page).
- Click the Edit button to enter the Builder.
- Under the Page Properties tab on the screen's right-hand side, scroll down to the AMP URL for this Page field.
- Copy the AMP URL from Step 2 into this blank field:
- Save and Publish/Republish your landing page.
Your AMP page is now linked to your Unbounce canonical page and will be used as the default webpage when linked from an AMP-enabled partner.
Running an A/B or Smart Traffic test with AMP Pages
If you're publishing multiple variants of the same landing page with an A/B or Smart Traffic test, be sure to paste the AMP link within each variant of your landing page to ensure the AMP page works successfully.
Adding Your AMP Link to a Non-Unbounce Canonical Page
Follow the steps below to add your AMP link to your non Unbounce canonical page:
- Navigate to the Page Overview section of your AMP page.
- In the Link AMP Page to a Separate Canonical Page panel, click the Copy button.
Paste the script below between the <head> and </head> sections of your canonical page.
Replace the phrase “Your AMP URL goes here” with the URL of your AMP page.
- <link rel="amphtml" href="Your AMP URL goes here">
Your AMP page is now linked to your canonical page and will be used as the default webpage when linked from an AMP-enabled partner.
When using organic search, leave the hide my page from search engines checkbox unchecked. Leave this box blank to ensure that your AMP page is getting properly indexed.
Linking Your Canonical Page to your AMP Page
Now that you’ve linked your AMP page to your canonical page, we can go ahead and add that canonical page to your AMP page as well.
- Navigate to your AMP Page Overview in the Unbounce builder.
- Click the Edit button at the top-right corner to edit the AMP Page.
- Locate the AMP Properties tab on the right-hand side of your screen and find the Title & Meta Data section of this tab.
- Paste the canonical URL link in the Non-AMP URL of This Page blank field.
- Click the Save button on the top right-hand corner of your page.
- Return to your AMP Page Overview by clicking the Overview link at the page's top left-hand corner.
- Click the Publish/Republish button.
Your pages are now linked to each other!
Linking directly to your canonical URL or your AMP URL will serve up that respective page regardless of the platform you are using. For instance: If you open a direct link to your canonical URL from a mobile browser that is not linked from one of the AMP partners, you will be viewing your canonical page and not your AMP page.
Frequently Asked Questions
How do I know if my AMP link is working?
To check your AMP link, head over to Google’s AMP Test website.
- Copy the link for your canonical page, not the AMP page link. In other words, the Unbounce or Non-Unbounce landing page link.
- Paste the link into the blank field provided and click the Run Test button.
- If you’ve linked your AMP page to your canonical page correctly, Google’s website will give you the following message, which will show the link to your AMP URL:
If you’d like to learn about AMP linking, you can find more information on Google’s AMP Project website.
How do I know if Google has cached my AMP page?
Here's how to check if Google has already added your page to the AMP cache.
- Start by copying your AMP page link (not the canonical page/landing page link)
- Next, paste the link into AMP's custom Validating tool.
- If your page passes validation, you should see results similar to below, which will indicate your page has been successfully cached.
How long does it take for Google to Add my page to the AMP cache?
AMP indexing is the same process as Google indexing, and there is no direct answer for how long this takes. You can find more information regarding AMP indexing on Google's product forums.
For more frequently asked questions about AMP pages and functionality, check our documentation: AMP FAQs.
Canonical page: The master copy and the default version of your webpage that will load unless otherwise specified.