{"id":7475,"date":"2021-09-27T08:39:58","date_gmt":"2021-09-27T08:39:58","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=7475"},"modified":"2021-09-27T08:40:01","modified_gmt":"2021-09-27T08:40:01","slug":"magento-2-add-custom-meta-tag-in-product-view-page","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","title":{"rendered":"How To Add Custom Meta Tag In Product View Page In Magento 2"},"content":{"rendered":"\n\n\n<p>In this post, I will guide you on <strong>How To Add Custom Meta Tag In Product View Page In Magento 2<\/strong>. Add many custom meta tags to the product view page to optimize SEO for the product.<\/p>\n\n\n\n<p>With the below method, you can add as many meta tags as you want in just one code paragraph without having to create many custom blocks and you can add them to the default block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Meta Tag?<\/h2>\n\n\n\n<p>Meta tags are tags used in HTML and XHTML documents to provide structured metadata about a web page. They are part of a website&#8217;s tag and they can be read by search engines and web crawlers, so they can potentially help boost SEO.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps To Add Custom Meta Tag In Product View Page In Magento 2<\/h2>\n\n\n\n<p>1. Open the <strong>catalog_product_view.xml<\/strong> file by following the link below:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\napp\\design\\frontend\\{your-Vendor}\\{your-Theme}\\Magento_Catalog\\layout\\catalog_product_view.xml\n<\/pre><\/div>\n\n\n<p>2. And add the following code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;page layout=&quot;1column&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd&quot;&gt;\n    &lt;body&gt;\n        &lt;referenceBlock name=&quot;head.additional&quot;&gt;\n            &lt;block class=&quot;Magento\\Catalog\\Block\\Product\\View&quot; name=&quot;meta_type_name&quot; template=&quot;Magento_Catalog::product\/view\/magetop_custom_meta_tags.phtml&quot; \/&gt;\n        &lt;\/referenceBlock&gt;\n     &lt;\/body&gt;\n&lt;\/page&gt;\n<\/pre><\/div>\n\n\n<p>3. Create\u00a0<strong>magetop_custom_meta_tags.phtml<\/strong>\u00a0file in the following path:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\napp\\design\\frontend\\{your-Vendor}\\{your-Theme}\\Magento_Catalog\\templates\\product\\view\\magetop_custom_meta_tags.phtml\n<\/pre><\/div>\n\n\n<p>4.  Add the following code: <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&lt;meta property=&quot;og:your_custom_meta_tag_name&quot; content=&quot;your_meta_tag_content&quot; \/&gt;\n<\/pre><\/div>\n\n\n<p>Then, run deploy static content, flush cache command and see the result:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento setup:static-content:deploy -f\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento cache:flush\n<\/pre><\/div>\n\n\n<p>Follow us for the more helpful posts!<\/p>\n\n\n\n<p>We hope this is a useful post for you.<\/p>\n\n\n\n<p>You can read more useful posts like\u00a0<strong><a href=\"https:\/\/www.magetop.com\/blog\/get-site-key-and-secret-key-from-google-recaptcha\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Get Site Key And Secret Key From Google reCAPTCHA<\/a><\/strong>.<\/p>\n\n\n\n<p>Thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product view page to optimize SEO for the product.<\/p>\n","protected":false},"author":106,"featured_media":7478,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[1905,1907,1908,1909,1906],"class_list":["post-7475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-add-custom-meta-tag","tag-add-custom-meta-tag-in-product-view-page","tag-custom-meta-tag-in-product-view-page","tag-how-to-add-custom-meta-tag-in-product-view-page-in-magento-2","tag-meta-tag"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Add Custom Meta Tag In Product View Page In Magento 2<\/title>\n<meta name=\"description\" content=\"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Add Custom Meta Tag In Product View Page In Magento 2\" \/>\n<meta property=\"og:description\" content=\"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-27T08:39:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-27T08:40:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2028\" \/>\n\t<meta property=\"og:image:height\" content=\"1201\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aaron LX\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aaron LX\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"How To Add Custom Meta Tag In Product View Page In Magento 2\",\"datePublished\":\"2021-09-27T08:39:58+00:00\",\"dateModified\":\"2021-09-27T08:40:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\"},\"wordCount\":224,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1\",\"keywords\":[\"Add Custom Meta Tag\",\"Add Custom Meta Tag In Product View Page\",\"Custom Meta Tag In Product View Page\",\"How To Add Custom Meta Tag In Product View Page In Magento 2\",\"Meta Tag\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\",\"name\":\"How To Add Custom Meta Tag In Product View Page In Magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1\",\"datePublished\":\"2021-09-27T08:39:58+00:00\",\"dateModified\":\"2021-09-27T08:40:01+00:00\",\"description\":\"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1\",\"width\":2028,\"height\":1201,\"caption\":\"How To Add Custom Meta Tag In Product View Page In Magento 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Add Custom Meta Tag In Product View Page In Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\",\"name\":\"Aaron LX\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"caption\":\"Aaron LX\"},\"description\":\"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.\",\"url\":\"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Add Custom Meta Tag In Product View Page In Magento 2","description":"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...","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:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","og_locale":"en_US","og_type":"article","og_title":"How To Add Custom Meta Tag In Product View Page In Magento 2","og_description":"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...","og_url":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-09-27T08:39:58+00:00","article_modified_time":"2021-09-27T08:40:01+00:00","og_image":[{"width":2028,"height":1201,"url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","type":"image\/png"}],"author":"Aaron LX","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Aaron LX","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"How To Add Custom Meta Tag In Product View Page In Magento 2","datePublished":"2021-09-27T08:39:58+00:00","dateModified":"2021-09-27T08:40:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/"},"wordCount":224,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","keywords":["Add Custom Meta Tag","Add Custom Meta Tag In Product View Page","Custom Meta Tag In Product View Page","How To Add Custom Meta Tag In Product View Page In Magento 2","Meta Tag"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","url":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","name":"How To Add Custom Meta Tag In Product View Page In Magento 2","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","datePublished":"2021-09-27T08:39:58+00:00","dateModified":"2021-09-27T08:40:01+00:00","description":"In this post, I will guide you on How To Add Custom Meta Tag In Product View Page In Magento 2. Add many custom meta tags to the product...","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","width":2028,"height":1201,"caption":"How To Add Custom Meta Tag In Product View Page In Magento 2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Add Custom Meta Tag In Product View Page In Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7","name":"Aaron LX","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","caption":"Aaron LX"},"description":"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.","url":"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/09\/How-To-Add-Custom-Meta-Tag-In-Product-View-Page-In-Magento-2.png?fit=2028%2C1201&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-1Wz","jetpack-related-posts":[{"id":7190,"url":"https:\/\/www.magetop.com\/blog\/them-meta-tags-tren-product-page-magento-2\/","url_meta":{"origin":7475,"position":0},"title":"H\u01b0\u1edbng d\u1eabn th\u00eam Meta tags tr\u00ean Product Page Magento 2","author":"Callula Huy","date":"August 6, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch th\u00eam Meta tags tr\u00ean Product Page Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn th\u00eam Meta tags tr\u00ean Product Page Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-them-Meta-tags-tren-Product-Page-Magento-2.jpg?fit=1200%2C630&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-them-Meta-tags-tren-Product-Page-Magento-2.jpg?fit=1200%2C630&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-them-Meta-tags-tren-Product-Page-Magento-2.jpg?fit=1200%2C630&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-them-Meta-tags-tren-Product-Page-Magento-2.jpg?fit=1200%2C630&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-them-Meta-tags-tren-Product-Page-Magento-2.jpg?fit=1200%2C630&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5545,"url":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/","url_meta":{"origin":7475,"position":1},"title":"How To Add Custom Code In Magento 2 HTML Tag","author":"Aaron LX","date":"June 3, 2021","format":false,"excerpt":"In this post, I will guide you on\u00a0How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag of the HTML page.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Add Custom Code In Magento 2 HTML Tag","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1200%2C711&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1200%2C711&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1200%2C711&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1200%2C711&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1200%2C711&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2795,"url":"https:\/\/www.magetop.com\/blog\/top-magento-2-seo-extensions\/","url_meta":{"origin":7475,"position":2},"title":"Top 10 Magento 2 SEO Extensions","author":"Aaron LX","date":"October 7, 2020","format":false,"excerpt":"Magento 2 SEO Extension is a great tool for highlighting your store on Google Search. This extension helps your store website have a high position on Google, attract the number of visitors, increase sales without doing too much work or paying for ads. In this blog, We will introduce good\u2026","rel":"","context":"In &quot;Magento News&quot;","block_context":{"text":"Magento News","link":"https:\/\/www.magetop.com\/blog\/magento-news\/"},"img":{"alt_text":"Top 10 Magento 2 SEO Extensions 1","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/10\/Top-10-Magento-2-SEO-Extensions-1.jpg?fit=750%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/10\/Top-10-Magento-2-SEO-Extensions-1.jpg?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/10\/Top-10-Magento-2-SEO-Extensions-1.jpg?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/10\/Top-10-Magento-2-SEO-Extensions-1.jpg?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":7183,"url":"https:\/\/www.magetop.com\/blog\/enable-canonical-meta-tag-in-magento-2\/","url_meta":{"origin":7475,"position":3},"title":"How To Enable Canonical Meta Tag In Magento 2","author":"Aaron LX","date":"August 6, 2021","format":false,"excerpt":"In this post, I will guide you on How To Enable Canonical Meta Tag In Magento 2. The canonical meta tag is a very important meta tag in SEO, it will help you improve the SEO efficiency of your store page.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Enable Canonical Meta Tag In Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Enable-Canonical-Meta-Tag-In-Magento-2.png?fit=940%2C558&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Enable-Canonical-Meta-Tag-In-Magento-2.png?fit=940%2C558&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Enable-Canonical-Meta-Tag-In-Magento-2.png?fit=940%2C558&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/How-To-Enable-Canonical-Meta-Tag-In-Magento-2.png?fit=940%2C558&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":7317,"url":"https:\/\/www.magetop.com\/blog\/bat-canonical-meta-tag-trong-magento-2\/","url_meta":{"origin":7475,"position":4},"title":"H\u01b0\u1edbng d\u1eabn b\u1eadt Canonical Meta Tag trong Magento 2","author":"Callula Huy","date":"August 12, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch b\u1eadt Canonical Meta Tag trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn b\u1eadt Canonical Meta Tag trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-bat-Canonical-Meta-Tag-trong-Magento-2.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-bat-Canonical-Meta-Tag-trong-Magento-2.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-bat-Canonical-Meta-Tag-trong-Magento-2.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-bat-Canonical-Meta-Tag-trong-Magento-2.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/08\/Huong-dan-bat-Canonical-Meta-Tag-trong-Magento-2.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":11107,"url":"https:\/\/www.magetop.com\/blog\/install-google-tag-manager-magento-2\/","url_meta":{"origin":7475,"position":5},"title":"How To Install Google Tag Manager In Magento 2","author":"Aaron LX","date":"January 21, 2026","format":false,"excerpt":"Tracking user behavior is essential for any eCommerce store. With Google Tag Manager, you can manage all tracking codes from one dashboard\u2014without editing code every time. In this guide, you\u2019ll learn how to install Google Tag Manager in Magento 2 using two methods: Using Magento Admin Panel (recommended) Adding code\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Google Tag Manager In Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-To-Install-Google-Tag-Manager-In-Magento-2.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-To-Install-Google-Tag-Manager-In-Magento-2.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-To-Install-Google-Tag-Manager-In-Magento-2.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-To-Install-Google-Tag-Manager-In-Magento-2.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-To-Install-Google-Tag-Manager-In-Magento-2.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=7475"}],"version-history":[{"count":3,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7475\/revisions"}],"predecessor-version":[{"id":7479,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/7475\/revisions\/7479"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/7478"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=7475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=7475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=7475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}