What is AMP validation and why it's important
Making sure your website is valid (or, correctly coded) is imperative to making sure that your customers see exactly what you intended. If a customer comes to your store and sees that parts, or even all of it is broken, they may end up confused, losing trust in your brand and leaving before they've even had the chance to make a purchase. As an example, imagine going to YouTube, but none of the videos load - it would be a very frustrating experience.
While most of the time the desktop version theme on your store is perfectly valid, it’s not obvious that your AMP pages are valid too. Since AMP pages are actually separate pages from your mobile site, the validity doesn’t carry over. Therefore it can be easy to assume that your AMP pages are running just fine - even if they aren’t.
In fact, incorrectly built, or invalid AMP pages, won’t show the AMP icon or even appear in Google search results or carousels. Luckily, there is a tool to make sure you can tell that your pages are correctly built - it’s called the AMP validator. Using it is pretty simple too!
How to check your AMP pages
To check your site and make sure it’s valid AMP code, all you have to do is copy the URL of your AMP page (not just your mobile page) and paste it into the validator at the link below.
Your AMP page will usually start with amp such as ‘amp.yourdomain.com/’. You can easily grab it by searching for your site on a mobile device and copying the URL. Remember that valid AMP pages have the special lightning bolt icon in Google search results.
As an example, here is a page from our test store: http://samp.getrocketamp.com/c/collections/all
When we add it to the validator, we can see that it passes the AMP validation.
That’s all there is to it!
If you’re on Shopify and you’re looking for an AMP solution to make your store load immediately (and is fully valid AMP), check out RocketAmp for Shopify!
Try RocketAmp today for your Shopify Store and make your site load instantly on mobile.