{"id":5545,"date":"2021-06-03T08:36:00","date_gmt":"2021-06-03T08:36:00","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=5545"},"modified":"2021-07-22T08:43:28","modified_gmt":"2021-07-22T08:43:28","slug":"add-custom-code-in-magento-2-html-tag","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/","title":{"rendered":"How To Add Custom Code In Magento 2 HTML Tag"},"content":{"rendered":"\n<p>In this post, I will guide you on&nbsp;<strong>How To Add Custom Code In Magento 2 HTML Tag<\/strong>. Setting HTML Head for your store corresponds to the tag of the HTML page.<\/p>\n\n\n\n<p>When you use some services from third parties, they will ask for verification by inserting a piece of code in the tag. This is easy when you use Magento 2, you can insert it right in the admin panel easily.<\/p>\n\n\n\n<p>In addition to the metadata for the page title, description, and keywords, this section also includes links to favorites and other scripts. Instructions for search engine robots and the display of store referrals are also configured in this section. And you can configure for each store view.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps To Add Custom Code In Magento 2 HTML Tag<\/h2>\n\n\n\n<p>1. Log in to&nbsp;<strong>Admin Panel<\/strong>.<\/p>\n\n\n\n<p>2. On the&nbsp;<strong>Admin Panel<\/strong>&nbsp;sidebar, go to&nbsp;<strong>CONTENT &gt; Design &gt; Configuration<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"379\" data-attachment-id=\"6001\" data-permalink=\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/on-the-admin-panel-sidebar-go-to-content-design-configuration\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?fit=1885%2C894&amp;ssl=1\" data-orig-size=\"1885,894\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?fit=300%2C142&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?fit=800%2C380&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?resize=800%2C379&#038;ssl=1\" alt=\"On the\u00a0Admin Panel\u00a0sidebar, go to\u00a0CONTENT Design Configuration\" class=\"wp-image-6001\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?w=1885&amp;ssl=1 1885w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?resize=1024%2C486&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?resize=1536%2C728&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/On-the-Admin-Panel-sidebar-go-to-CONTENT-Design-Configuration.jpg?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>3. Find the store view that you want to configure and, in the&nbsp;<strong>Action<\/strong>&nbsp;column, click&nbsp;<strong>Edit<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"203\" data-attachment-id=\"6002\" data-permalink=\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/select-the-store-view-that-you-want-to-configure-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?fit=1817%2C460&amp;ssl=1\" data-orig-size=\"1817,460\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Select-the-store-view-that-you-want-to-configure-1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?fit=300%2C76&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?fit=800%2C202&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?resize=800%2C203&#038;ssl=1\" alt=\"Select the store view that you want to configure\" class=\"wp-image-6002\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?w=1817&amp;ssl=1 1817w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?resize=300%2C76&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?resize=1024%2C259&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?resize=768%2C194&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?resize=1536%2C389&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Select-the-store-view-that-you-want-to-configure-1.jpg?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>4. On the&nbsp;<strong>Other Settings<\/strong>&nbsp;tab, expand the&nbsp;<strong>HTML Head<\/strong>&nbsp;section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"505\" data-attachment-id=\"6004\" data-permalink=\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/expand-the-html-head-section\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?fit=1806%2C1141&amp;ssl=1\" data-orig-size=\"1806,1141\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Expand-the-HTML-Head-section\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?fit=300%2C190&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?fit=800%2C505&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?resize=800%2C505&#038;ssl=1\" alt=\"Expand the HTML Head section\" class=\"wp-image-6004\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?w=1806&amp;ssl=1 1806w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?resize=1024%2C647&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?resize=768%2C485&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?resize=1536%2C970&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Expand-the-HTML-Head-section.jpg?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>5. Add your custom code to the&nbsp;<strong>Scripts and Style Sheets<\/strong>&nbsp;field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"287\" data-attachment-id=\"6005\" data-permalink=\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/add-your-custom-code-to-the-scripts-and-style-sheets-field\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?fit=1802%2C647&amp;ssl=1\" data-orig-size=\"1802,647\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?fit=300%2C108&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?fit=800%2C288&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?resize=800%2C287&#038;ssl=1\" alt=\"Add your custom code to the Scripts and Style Sheets field\" class=\"wp-image-6005\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?w=1802&amp;ssl=1 1802w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?resize=300%2C108&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?resize=1024%2C368&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?resize=768%2C276&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?resize=1536%2C551&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Add-your-custom-code-to-the-Scripts-and-Style-Sheets-field.jpg?w=1600&amp;ssl=1 1600w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>6. When complete, click&nbsp;<strong>Save Configuration<\/strong>&nbsp;button.<\/p>\n\n\n\n<p>This is the end of the&nbsp;post.<\/p>\n\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&nbsp;<strong><a href=\"https:\/\/www.magetop.com\/blog\/create-new-cms-block-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Create New CMS Block In Magento 2<\/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\u00a0How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag of the HTML page.<\/p>\n","protected":false},"author":106,"featured_media":6007,"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":[1243,1245,1244,1246,1247,107],"class_list":["post-5545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-add-custom-code","tag-add-custom-code-in-magento-2-html-tag","tag-head-html-tag","tag-how-to-add-custom-code-in-magento-2-html-tag","tag-html-head","tag-magento-2-tutorials"],"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 Code In Magento 2 HTML Tag - Magetop Blog<\/title>\n<meta name=\"description\" content=\"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...\" \/>\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\/add-custom-code-in-magento-2-html-tag\/\" \/>\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 Code In Magento 2 HTML Tag - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\" \/>\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-06-03T08:36:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-22T08:43:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1618%2C959&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1618\" \/>\n\t<meta property=\"og:image:height\" content=\"959\" \/>\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\/add-custom-code-in-magento-2-html-tag\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"How To Add Custom Code In Magento 2 HTML Tag\",\"datePublished\":\"2021-06-03T08:36:00+00:00\",\"dateModified\":\"2021-07-22T08:43:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\"},\"wordCount\":248,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage\"},\"thumbnailUrl\":\"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=1618%2C959&ssl=1\",\"keywords\":[\"Add Custom Code\",\"Add Custom Code In Magento 2 HTML Tag\",\"Head HTML Tag\",\"How To Add Custom Code In Magento 2 HTML Tag\",\"HTML Head\",\"magento 2 tutorials\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\",\"name\":\"How To Add Custom Code In Magento 2 HTML Tag - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage\"},\"thumbnailUrl\":\"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=1618%2C959&ssl=1\",\"datePublished\":\"2021-06-03T08:36:00+00:00\",\"dateModified\":\"2021-07-22T08:43:28+00:00\",\"description\":\"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage\",\"url\":\"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=1618%2C959&ssl=1\",\"contentUrl\":\"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=1618%2C959&ssl=1\",\"width\":1618,\"height\":959,\"caption\":\"How To Add Custom Code In Magento 2 HTML Tag\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Add Custom Code In Magento 2 HTML Tag\"}]},{\"@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 Code In Magento 2 HTML Tag - Magetop Blog","description":"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...","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\/add-custom-code-in-magento-2-html-tag\/","og_locale":"en_US","og_type":"article","og_title":"How To Add Custom Code In Magento 2 HTML Tag - Magetop Blog","og_description":"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...","og_url":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-06-03T08:36:00+00:00","article_modified_time":"2021-07-22T08:43:28+00:00","og_image":[{"width":1618,"height":959,"url":"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1618%2C959&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\/add-custom-code-in-magento-2-html-tag\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"How To Add Custom Code In Magento 2 HTML Tag","datePublished":"2021-06-03T08:36:00+00:00","dateModified":"2021-07-22T08:43:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/"},"wordCount":248,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage"},"thumbnailUrl":"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=1618%2C959&ssl=1","keywords":["Add Custom Code","Add Custom Code In Magento 2 HTML Tag","Head HTML Tag","How To Add Custom Code In Magento 2 HTML Tag","HTML Head","magento 2 tutorials"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/","url":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/","name":"How To Add Custom Code In Magento 2 HTML Tag - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage"},"thumbnailUrl":"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=1618%2C959&ssl=1","datePublished":"2021-06-03T08:36:00+00:00","dateModified":"2021-07-22T08:43:28+00:00","description":"In this post, I will guide you on How To Add Custom Code In Magento 2 HTML Tag. Setting HTML Head for your store corresponds to the tag...","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#primaryimage","url":"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=1618%2C959&ssl=1","contentUrl":"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=1618%2C959&ssl=1","width":1618,"height":959,"caption":"How To Add Custom Code In Magento 2 HTML Tag"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/add-custom-code-in-magento-2-html-tag\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Add Custom Code In Magento 2 HTML Tag"}]},{"@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\/06\/How-To-Add-Custom-Code-In-Magento-2-HTML-Tag.png?fit=1618%2C959&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-1rr","jetpack-related-posts":[{"id":11107,"url":"https:\/\/www.magetop.com\/blog\/install-google-tag-manager-magento-2\/","url_meta":{"origin":5545,"position":0},"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":[]},{"id":1067,"url":"https:\/\/www.magetop.com\/blog\/customize-cover-illustration-layout-in-magento-2\/","url_meta":{"origin":5545,"position":1},"title":"Customize Cover, Illustration Layout In Magento 2","author":"Adam Roger","date":"January 2, 2020","format":false,"excerpt":"Our previous post is How to create new theme in Magento 2. I think you guys should read it. To continue the previous post, we will introduce you to Customize cover, illustration layout in Magento 2.","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":"Customize Cover, Illustration Layout Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/Customize-Cover-Illustration-Layout.png?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\/01\/Customize-Cover-Illustration-Layout.png?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/Customize-Cover-Illustration-Layout.png?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/Customize-Cover-Illustration-Layout.png?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":7475,"url":"https:\/\/www.magetop.com\/blog\/magento-2-add-custom-meta-tag-in-product-view-page\/","url_meta":{"origin":5545,"position":2},"title":"How To Add Custom Meta Tag In Product View Page In Magento 2","author":"Aaron LX","date":"September 27, 2021","format":false,"excerpt":"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.","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 Meta Tag In Product View Page In Magento 2","src":"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=1200%2C711&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"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=1200%2C711&ssl=1&resize=350%2C200 1x, 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=1200%2C711&ssl=1&resize=525%2C300 1.5x, 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=1200%2C711&ssl=1&resize=700%2C400 2x, 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=1200%2C711&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1098,"url":"https:\/\/www.magetop.com\/blog\/how-to-get-store-config-value-in-magento-2\/","url_meta":{"origin":5545,"position":3},"title":"How To Get Store Config Value In Magento 2","author":"Adam Roger","date":"January 6, 2020","format":false,"excerpt":"In the previous article, we learned about How To Create Simple Module To Configure Options For Theme In Magento 2. Today, we will introduce you about How To Get Store Config Value In Magento 2.","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 Get Store Config Value M2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Get-Store-Config-Value.png?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\/01\/How-To-Get-Store-Config-Value.png?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Get-Store-Config-Value.png?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/01\/How-To-Get-Store-Config-Value.png?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":11122,"url":"https:\/\/www.magetop.com\/blog\/install-microsoft-clarity-magento-2\/","url_meta":{"origin":5545,"position":4},"title":"How to Install Microsoft Clarity in Magento 2","author":"Aaron LX","date":"January 26, 2026","format":false,"excerpt":"If you want to install Microsoft Clarity in Magento 2, this guide will walk you through the process step by step. Microsoft Clarity helps you understand how users interact with your Magento 2 store by providing heatmaps, session recordings, and behavioral insights. Unlike Google Analytics, which focuses mainly on numbers,\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 Microsoft Clarity in Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/How-to-Install-Microsoft-Clarity-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-Microsoft-Clarity-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-Microsoft-Clarity-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-Microsoft-Clarity-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-Microsoft-Clarity-in-Magento-2.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3893,"url":"https:\/\/www.magetop.com\/blog\/magento-2-configure-security-scan\/","url_meta":{"origin":5545,"position":5},"title":"How To Configure Security Scan In Magento 2","author":"Aaron LX","date":"December 30, 2020","format":false,"excerpt":"Magento provides a tool to help shop owners secure their stores. Through security scans, It will help you prevent attacks from hackers targeting important data in the store. And especially this tool is free, use it to increase the security of your store. In the post, I will guide you\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 Configure Security Scan In Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/12\/How-To-Configure-Security-Scan-In-Magento-2.jpg?fit=720%2C420&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/12\/How-To-Configure-Security-Scan-In-Magento-2.jpg?fit=720%2C420&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/12\/How-To-Configure-Security-Scan-In-Magento-2.jpg?fit=720%2C420&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/12\/How-To-Configure-Security-Scan-In-Magento-2.jpg?fit=720%2C420&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5545","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=5545"}],"version-history":[{"count":2,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5545\/revisions"}],"predecessor-version":[{"id":6008,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5545\/revisions\/6008"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/6007"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=5545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=5545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=5545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}