What Is AMP and How to Implement ItHow to
Slow page speed can result not only in users silently fuming at you, but it can also be a reason for conversion drops. That's why SEO reps and webmasters are so eager about improving this metric.
Wayback in 2015, Google announced the AMP project, which helps increase webpage loading manifold. Initially, SEOs and webmasters were bright-eyed and bushy-tailed about AMP, but nowadays, many are not that passionate about it, and some believe it can even hurt the website. In this blog post, I'll attempt to fathom out these vexing questions, cover the advantages and disadvantages of AMP, and explain how to implement it.
- 1. What Is AMP?
- 2. Benefits and Drawbacks of AMP Pages
- 3. How to Implement AMP on Website
- 4. How to Check AMP Pages
1. What Is AMP?
AMP (Accelerated Mobile Pages) is an open-source project intended to help webpages load faster. This can be achieved by optimizing HTML tags and cutting back on the abundance of extra elements (banners, widgets, background images, etc.). Thus the AMP page contains only the basic information the user needs.
2. Benefits and Drawbacks of AMP Pages
Benefits of AMP pages:
- The most vivid benefit is fast-loading web pages, for sure. With fast-loading pages, the users can get information on the fly, and that's increases the chances that they will stay on the page longer.
Further reading: ‘How to Speed up Your Website with Netpeak Spider.’
- Another benefit stems back to the first one: if the page is rendered fast and the content appears immediately, the user is more likely to stay longer to browse the website.
- And it's free since AMP is an open-source platform.
Let's move forward to the drawbacks of this platform. Unfortunately, there a bunch of them, but we'll delve into the most significant ones:
- Tracking problems. The effectiveness of AMP pages is hard to track over Analytics – the data is somewhat limited. It's time and effort-consuming to implement all tags and code elements that will help you track metrics.
- For AMP content is cached by Google and kept on its own service, it assigns its domain name.
- Since most of the extra elements on the AMP pages are cut-down, including ad banners, it may be a hazard to ad income.
- Webmasters should keep an eye on the main website, AMP version, and the mobile version. After a while, the process will be getting irksome.
- Challenging implementation if you code a website from scratch.
- Challenging implementation of the opportunity to add goods to the cart when it comes to Ecommerce websites.
3. How to Implement AMP on Website
To implement AMP on websites built on CMS, use special plugins:
- AMP for WordPress websites.
- For Joomla – wbAMD plugin.
- AMP for Drupal can be installed with the help of AML module, AMP theme, and HMTL-library of AMP.
- For Bitrix – Google AMP.
- For websites on Opencart – Opencart AMP.
But what if you code a website from scratch, a DIY website? As I already said, the implementation of AMP pages on such websites may be a challenging task. So we drew up technical specifications with the most critical requirements:
- AMP pages must meet HTML layout requirements.
- Implementing styles and responsive design, it’s important to check with the official instructions.
- AMP URLs should be user-friendly. For example, for the URL of the canonical page example.com/news/odessa, the address of the AMP page should look like this: amp.example.com/news/odessa Or like this: example.com/amp/news/odessa.
- Canonical pages must be mentioned in the header tag of AMP pages. Example:
<link rel="canonical" href="https://www.example.com/url/to/amp/document.html">
- AMP page content must match content on the canonical pages.
- All main pages must have a link to the AMP page:
- The footer should contain a link to the full version of the website, which is necessary for a user to follow the main website easily.
- In the robots.txt file, you need to ban indexing of AMP pages by Bing robots:
User-agent: Bing ...
- To add analytics counter codes to the AMP page templates, follow these Google guidelines.
- The site logo on AMP pages must also meet certain requirements. More on this here.
- Use special AMP extensions to embed videos.
- Follow this guide to add ads.
- To add structured data to your AMP page, see Google's reference material for structured data types and how they should be implemented.
- After the implementation of the template HTML codes, you need to check it in the special validator. This is important as the pages must work properly and appear in the SERP.
4. How to Check AMP Pages
In addition to the code validator, you can check if your AMP pages meet all standards in Google's AMP Test Tool.
- Enter the URL and click on the ‘Test URL’ button.
- If you entered a canonical URL, the tool would show you a link to the AMP version. Click on the 'AMP Test Results'.
- If the page meets all the criteria, you will see a corresponding alert.
Another way to test AMP pages – in Netpeak Spider. The crawler detects AMP pages that don't comply with AMP Project, marks them as a 'Bad AMP HTML Format' error, and flags out compliant AMP pages.
You can check AMP pages even in the free version of Netpeak Spider crawler that is not limited by the term of use and the number of analyzed URLs. Other basic features are also available in the Freemium version of the program.
To get access to free Netpeak Spider, you just need to sign up, download, and launch the program 😉
Sign Up and Download Freemium Version of Netpeak Spider
P.S. Right after signup, you'll also have the opportunity to try all paid functionality and then compare all our plans and pick the most suitable for you.
- In a sidebar, tick the 'AMP' parameter in the 'Head Tags' group.
- Enter the initial URL and hit the 'Start' button.
- When the crawling is complete, TRUE in the AMP HTML column of the main table will indicate that the page has an AMP version, FALSE that it doesn’t.
- In the sidebar of the issue report, check out for the error 'Bad AMP HTML format' and a warning 'Compliant AMP Pages'.
- If your site has AMP pages that don't meet the AMP Project standards, you need to fix them. And for AMP HTML pages with a desktop version, you need to set up a canonical that will point to this version.
The pages loading up fast is a must-have for those who want their website to be rendered by search engines and positively perceived by users. One of the widespread ways to speed up pages is to implement the AMP framework. To implement AMP pages for websites built on CMS, use special plugins that I listed in this post. Implementing the framework on the websites coded from scratch is more complicated, as it requires programming skills or a developer's involvement.
But before implementing AMP pages, I recommend you to make a balanced decision and make it clear for yourself what benefits and drawback this technology may entail afterward.