User Tools

Site Tools



For more details see the AMP extension page.

Guide for AMP for Magento 2

Boost site usability and visibility in search results and attract more customers with Magento 2 AMP extension. Accelerate your website load speed by generating super lightweight mobile pages with Magento 2 AMP extension.

  • Speed-up average page load time
  • Automatically generate separate mobile pages for your website
  • Enhance store visibility with Google Rich Snippets
  • Adjust the AMP pages design according to your business needs
  • Use Google Analytics to access store performance

Extension Configuration

Notice, that the AMP extension works on Magento 2.3 version and higher.

To configure general extension settings please go to Stores → Configuration → Amasty Extensions → AMP.

Enable AMP for Product Pages - set to Yes to enable the module for Product Pages.

Enable AMP for Category Pages - set to Yes to enable the module for Category Pages.

Image - choose the AMP logo to display on mobile pages. Please note, that the file size shouldn't exceed 2MB. Supported file formats are JPEG and PNG.

Width and Height - specify the width and the height of your logo image.

Logo Alignment - choose the logo alignment on your AMP pages. Position it by the center, left or right.

With the AMP extension, you can easily adjust the design of the mobile pages: modify colors for text, links, buttons, header, and footer to make your store look match your branding.

Easily adjust the settings for the category image.

Measure AMP performance with Google Analytics

To help you understand how the AMP optimization impacts your web-store efficiency, Magento 2 AMP extension supports Google Analytics embedment. Easily insert tracking elements to understand what influences page metrics and get in top search positions. To adjust Google Analytics settings, please go to Stores → Configuration → Sales → Google API → Google Analytics.

Enable - set to Yes to enable Google Analytics for your AMP pages.

Account Number - fill in your Google Account number.

Anonymize IP - choose weather to anonymize or not your IP address.

Enable Content Experiments - specify weather enable or not the content experiments.

After you adjust the Google Analytics settings, you can easily track your AMP pages traffic from your Google Account.

The extension allows showcasing Rich Snippets for AMP Product and Category Pages on Google Search results. Improve web-store visibility in organic search by displaying more data about your products.

Validate AMP pages content

The Magento 2 AMP extension is designed to automatically exclude all invalid and incorrect tags from the pages' content. Also, you can validate the mobile pages' code via special AMP tool.

The web validation service provides you a live check if your pages are complying with the AMP or AMP4ADS standards. Run the test to get the list of mistakes inline in your code with descriptions.

Frontend Examples

Enable Magento 2 AMP extension for Category pages.

Effortlessly generate Google AMP pages for Product pages.

Show more information about the product.

Display customer reviews on the AMP pages. By default, the first 4 reviews to the product are displayed. Customers can click See More button to open the next 4 reviews. Also, the store visitors can hide all the opened reviews with the button Hide.

Allow customers to comfortably add their reviews right from AMP pages.

Display the Related Products block on AMP pages and enable subscription block.

Find out how to install the AMP for Magento 2 extension via Composer.
Rate the user guide
 stars  from 1 votes (Details)
magento_2/amp.txt · Last modified: 2020/01/08 09:10 by semenova