{"id":544,"date":"2020-02-28T16:11:17","date_gmt":"2020-02-28T16:11:17","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/knowledge-base\/testing-magento-2-accelerated-mobile-pages-v2-x"},"modified":"2021-09-21T08:26:16","modified_gmt":"2021-09-21T12:26:16","slug":"testing-magento-2-accelerated-mobile-pages-v2-x","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-amp\/v2\/devguide\/testing","title":{"rendered":"How to test Magento 2 Accelerated Mobile Pages"},"content":{"rendered":"\n<h2 id=\"testing-amp-magento-2-extension\">Testing AMP Magento 2 Extension<\/h2>\n\n\n\n<p>In this article you will learn how to test and validate your <a href=\"\/magento-amp\" target=\"_blank\" rel=\"noopener noreferrer\">Magento 2 Accelerated Mobile Pages<\/a>, as well as ensure these AMP pages were indexed by the Google to make your website appear in the top of the Google Search Results. Please follow the steps below.<\/p>\n\n\n\n<p>Test your website URLs with GET parameter <strong>&#8220;?amp=1&#8221;<\/strong> (by adding it to the end of the URL). <strong>Important: Make sure to test the following pages, as the AMP technology does not work with the pages like Account, Checkout, Shopping Cart, etc. Instead, it works only with:<\/strong><\/p>\n\n\n\n<ul><li><strong>Home Page<\/strong><\/li><li><strong>Product List Page<\/strong><\/li><li><strong>Product Page<\/strong><\/li><li><strong>CMS pages<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg\" alt=\"1 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<h2 id=\"validating-amp-pages\">Validating AMP pages<\/h2>\n\n\n\n<p>Next step is to make sure your Magento 2 AMP pages contain no errors in the code. This way, if the validation is passed &#8211; your pages will be indexed by the Google properly. There are 4 ways to validate your AMP pages.<\/p>\n\n\n\n<h3 id=\"online-validator-1\">Online Validator #1<\/h3>\n\n\n\n<p><strong>In order to validate your AMP pages at the AMP validator made by Google <a href=\"https:\/\/search.google.com\/search-console\/amp\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">search.google.com\/search-console\/amp<\/a>, follow the instructions below.<\/strong> The striking feature of this validator is that it highlights all the parts of the code that haven&#8217;t been validated.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Enter your website URL with GET parameter &#8220;?amp=1&#8221; into this field and run the validation.<\/strong><\/li><li><strong>This block shows whether your AMP page is valid.<\/strong><\/li><li><strong>This block displays the description of your AMP page data.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/2_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/2_amp_testing_magento_2_validate.jpg\" alt=\"2 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<h3 id=\"online-validator-2\">Online Validator #2<\/h3>\n\n\n\n<p><strong>In order to validate your AMP pages with the Official AMP Validator <a href=\"https:\/\/validator.ampproject.org\/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">validator.ampproject.org<\/a>, follow the instructions below.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Enter your website URL with GET parameter into this field and run the validation.<\/strong><\/li><li><strong>Check the validation status: it can be &#8220;PASS&#8221; or &#8220;FAIL&#8221;.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/3_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/3_amp_testing_magento_2_validate.jpg\" alt=\"3 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<h3 id=\"amp-validator-google-chrome-extension\">AMP Validator Google Chrome Extension<\/h3>\n\n\n\n<p><strong>In order to validate your AMP pages using <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/amp-validator\/nmoffdblmcmgeicmolmhobpoocbbmknc?hl=en\/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">AMP Validator Chrome extension<\/a>, please install the extension and follow the instructions below.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>If AMP Validator Chrome extension is active &#8211; this means AMP technology is active and working on your AMP page.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/4_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/4_amp_testing_magento_2_validate.jpg\" alt=\"4 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<h3 id=\"developer-tool-amp-validator\">Developer Tool AMP Validator<\/h3>\n\n\n\n<p><strong>In order to validate your AMP pages using the Developer tools in your browser (hotkey F12), follow the instructions below.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Enter your website URL with GET and hash parameter <i>&#8220;?amp=1#development=1&#8221;<\/i> in your browser.<\/strong><\/li><li><strong>Press &#8220;F12&#8221; hotkey and go to &#8220;Console&#8221; tab.<\/strong><\/li><li><strong>Reload your pages (F5) and check the results.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/5_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/5_amp_testing_magento_2_validate.jpg\" alt=\"5 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<p><strong>If validation failed using any of the methods above, please fixing the issues using the <a href=\"https:\/\/amp.dev\/support\/faq\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">AMP documentation and Guidelines<\/a> or contact our <a href=\"\/contacts\" rel=\"nofollow\">support<\/a>.<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<h2 id=\"reviewing-amp-pages-in-google-webmaster-tools\">Reviewing AMP pages in Google Webmaster Tools<\/h2>\n\n\n\n<p><strong>Once your website AMP pages are indexed &#8211; after a couple of days your pages will be cached and stored in the Google CDN (Content Delivery Network).<\/strong> <strong>In order to see if the AMP pages are indexed properly, perform the following steps.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Go to <a href=\"https:\/\/www.google.com\/webmasters\/tools\/home?hl=en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google Search Console<\/a>.<\/strong><\/li><li><strong>Select &#8220;Search Appearance&#8221; tab.<\/strong><\/li><li><strong>Go to &#8220;Accelerated Mobile Pages&#8221; tab.<\/strong><\/li><li><strong>This field allows you to check status of the AMP pages that have been indexed by Google.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console.jpg\" alt=\"Amp troubleshooting google search console.jpg\"\/><\/a><\/figure>\n\n\n\n<h2 id=\"testing-amp-pages-in-google-amp-cdn\">Testing AMP Pages in Google AMP CDN<\/h2>\n\n\n\n<p>After some time (usually within a week), your AMP pages will be cached in Google AMP CDN (Content Delivery Network). In order to check if your AMP pages are cached &#8211; please follow these steps.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Access your AMP pages in Google AMP CDN via this URL:<\/strong><\/li><\/ol>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-\">https:\/\/cdn.ampproject.org\/c\/&lt;origin-domain>\/&lt;path>?amp=1<\/code><\/pre><\/div>\n\n\n\n<p>WHERE &#8220;&lt;origin-domain&gt;\/&lt;path&gt;?amp=1&#8221; corresponds to your AMP page e.g. &#8220;demo.plumrocket.net\/amp\/?amp=1&#8221; <\/p>\n\n\n\n<p><strong>The final url to the page within the CDN in this case will be formed as this example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-\">https:\/\/cdn.ampproject.org\/c\/demo.plumrocket.net\/amp\/?amp=1<\/code><\/pre><\/div>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;2. <strong>In case your AMP pages are protected with secure &#8220;HTTPS&#8221; protocol &#8211; then you should add an extra &#8220;s\/&#8221; value to the URL.<\/strong> <strong>In this case, the URL will be formed as:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-\">https:\/\/cdn.ampproject.org\/c\/s\/&lt;origin-domain>\/&lt;path>?amp=1<\/code><\/pre><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>This is how the URL from the Google AMP CDN containing your website page should look like after it has been cached.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/6_amp_testing_magento_2_validate.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/6_amp_testing_magento_2_validate.jpg\" alt=\"6 amp testing magento 2 validate.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<p><strong>If validation failed using any of the methods above, please try fixing the issues using the <a href=\"https:\/\/amp.dev\/support\/faq\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">AMP documentation and Guidelines<\/a> or contact our <a href=\"\/contacts\" rel=\"nofollow\">tech support<\/a>.<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<h2 id=\"troubleshooting\">Troubleshooting<\/h2>\n\n\n\n<p><strong>If the AMP validation failed &#8211; please check here for the possible known reasons and solutions to your issues. Please note that this list does not include all the possible issues, as they are being added upon submission.<\/strong><\/p>\n\n\n\n<p><strong>Issue:<\/strong><\/p>\n\n\n\n<h5 id=\"amp-cdn-is-not-accessible\">AMP CDN is not accessible<\/h5>\n\n\n\n<p>This can happen when &#8220;https&#8221; protocol is enabled for all the pages on your website.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><\/p>\n\n\n\n<p>Follow these steps in order for AMP CDN to get an access to a page through &#8220;http&#8221;.<\/p>\n\n\n\n<p><strong>1.Go to Magento 2 base directory and open &#8220;index.php&#8221; file.<\/strong><\/p>\n\n\n\n<p><strong>2. Before the line:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">$bootstrap = MagentoFrameworkAppBootstrap::create(BP, $_SERVER);<\/code><\/pre><\/div>\n\n\n\n<p><strong>Enter the following code:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">if (isset($_GET['amp']) &amp;&amp; $_GET['amp'] == 1) { \n    $_SERVER['HTTPS'] = 'on'; $_SERVER['SERVER_PORT'] = 443; \n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>3. Save the file with your changes.<\/strong><\/p>\n\n\n\n<p><strong>Issue:<\/strong><\/p>\n\n\n\n<h5 id=\"incorrect-script-tags-placement\">Incorrect &#8220;script&#8221; tags placement<\/h5>\n\n\n\n<p>In some cases AMP is not valid because the script tags are in the &#8220;body&#8221; part of the HTML page. This can be caused by the third-party extension that moves &#8220;script&#8221; tags from &#8220;head&#8221; to the end of &#8220;body&#8221; part of the HTML page.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><\/p>\n\n\n\n<p>You need to set the third-party extension in the specific way, so it will not be running on AMP pages. These configurations can be performed in the extension&#8217;s settings or you can make minor code modifications. <strong>For this purpose contact your third-party extension developers or our <a href=\"\/contacts\" rel=\"nofollow\">support service<\/a>.<\/strong><\/p>\n\n\n\n<h2 id=\"re-crawling-your-urls-manually\">Re-crawling your URLs manually<\/h2>\n\n\n\n<p>Usually, Google will index your AMP pages within a couple of days (if all the AMP pages have passed the validation of course). In case you don&#8217;t have time to wait &#8211; you might want to consider using the Googles &#8220;Fetch as Google&#8221; option to request Google bots to re-crawl your website. Please follow the steps below to re-index the Magento 2 AMP pages manually. Note: Additionally, in order to be extra sure the Google robots will be re-indexing your AMP pages &#8211; please add the GET parameter <strong>?amp=1<\/strong> to the end of the URL field below. <strong>Remember, it is still recommended to wait until Google robots index your website on a scheduled basis, as the number of manual re-index attempts for your Google account is limited.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Go to <a href=\"https:\/\/www.google.com\/webmasters\/tools\/home?hl=en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google Search Console<\/a>.<\/strong><\/li><li><strong>Select &#8220;Crawl&#8221; tab.<\/strong><\/li><li><strong>Go to &#8220;Fetch as Google&#8221; section.<\/strong><\/li><li><strong>Select &#8220;Mobile:Smartphone&#8221; option in this field.<\/strong><\/li><li><strong>Leave this field blank to fetch the homepage or enter any other subpaths.<\/strong><\/li><li><strong>Press &#8220;Fetch&#8221; button.<\/strong><\/li><li><strong>Press &#8220;Submit to index&#8221; button to proceed.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls.jpg\" alt=\"Amp troubleshooting google search console crawl urls.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>Usually, you would want to select the &#8220;Crawl this URL and its direct links&#8221; option, as it will crawl not only the needed page, but all the subordinate pages too.<\/strong><\/li><li><strong>Press &#8220;Go&#8221; for the recrawling process to start. Note: even in this case it might take Google crawlers some time to crawl you pages.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls_1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls_1.jpg\" alt=\"Amp troubleshooting google search console crawl urls 1.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li><strong>After you submit URL to index &#8211; you will see &#8220;URL and linked pages submitted to index&#8221; success message. This means that the Google robots will re-index your website pages soon.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls_2.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/Amp_troubleshooting_google_search_console_crawl_urls_2.jpg\" alt=\"Amp troubleshooting google search console crawl urls 2.jpg\"\/><\/a><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these AMP pages were indexed by the Google to make your website appear in the top of the Google Search Results. Please follow the steps below. Test your website &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v2\/devguide\/testing\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to test Magento 2 Accelerated Mobile Pages&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[104],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to test Magento 2 Accelerated Mobile Pages - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/devguide\/testing\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to test Magento 2 Accelerated Mobile Pages\" \/>\n<meta property=\"og:description\" content=\"Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these\" \/>\n<meta property=\"og:url\" content=\"\/docs\/magento-amp\/v3\/devguide\/testing\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-28T16:11:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-21T12:26:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to test Magento 2 Accelerated Mobile Pages - Plumrocket Documentation","description":"Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/devguide\/testing","og_locale":"en_US","og_type":"article","og_title":"How to test Magento 2 Accelerated Mobile Pages","og_description":"Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these","og_url":"\/docs\/magento-amp\/v3\/devguide\/testing","og_site_name":"Plumrocket Documentation","article_published_time":"2020-02-28T16:11:17+00:00","article_modified_time":"2021-09-21T12:26:16+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"\/docs\/magento-amp\/v3\/devguide\/testing#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/05\/1_amp_testing_magento_2_validate.jpg"},{"@type":"WebPage","@id":"\/docs\/magento-amp\/v3\/devguide\/testing#webpage","url":"\/docs\/magento-amp\/v3\/devguide\/testing","name":"How to test Magento 2 Accelerated Mobile Pages - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"\/docs\/magento-amp\/v3\/devguide\/testing#primaryimage"},"datePublished":"2020-02-28T16:11:17+00:00","dateModified":"2021-09-21T12:26:16+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"description":"Testing AMP Magento 2 Extension In this article you will learn how to test and validate your Magento 2 Accelerated Mobile Pages, as well as ensure these","breadcrumb":{"@id":"\/docs\/magento-amp\/v3\/devguide\/testing#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["\/docs\/magento-amp\/v3\/devguide\/testing"]}]},{"@type":"BreadcrumbList","@id":"\/docs\/magento-amp\/v3\/devguide\/testing#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 AMP","item":"https:\/\/plumrocket.com\/magento-amp"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-amp"},{"@type":"ListItem","position":4,"name":"v2","item":"https:\/\/plumrocket.com\/docs\/magento-amp\/v2"},{"@type":"ListItem","position":5,"name":"How to test Magento 2 Accelerated Mobile Pages"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","caption":"Plumrocket"},"sameAs":["https:\/\/plumrocket.com\/docs"]}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/544"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=544"}],"version-history":[{"count":1,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/544\/revisions"}],"predecessor-version":[{"id":24178,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/544\/revisions\/24178"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}