Meta tags are crucial because they influence how your site shows in the search engine results pages (SERPs) and how many people are likely to click through to your site. Therefore, they will have an effect on your traffic and engagement rates, as well as your SEO and rankings.

If you want to reach out to more visitors, it is vital to add meta tags in Shopify. In this article, we will give you a detailed tutorial on How to add meta tags on Shopify.  

How to add meta tags on Shopify

Step 1: Open your theme in Shopify 

To edit your theme on Shopify, log into the admin dashboard and navigate to Online Store -> Themes. Then select Actions -> Edit Code for access to source code of the active template. 

open your theme in Shopify and choose edit code

Step 2: Edit your Layout 

You can see a list of all the files in your template in the left-hand column. Within the layout folder, find and open theme.liquid – this is where we’ll be editing most changes to our store’s appearance. 

edit your layout

Liquid syntax looks different from other HTML languages because it has brackets around tags with arguments inside them. These are either required or optional for use within Shopify themes on the online editor. However, you don’t need to worry too much about how they work right now, just going to edit something. 

Step 3: Add meta tags 

Add your meta tags in the < head>  section of theme.liquid file, using description approved syntax below: 

<meta class=”swiftype” name=”[field name]” data-type=”[field type]” content=”[field content]” />

For some of the terms in the tag above, here’s a brief explanation:

  • Name: You can name it whatever you like. For instance, the name or description of a product.
  • Data-type: it refers to the type of content that you use in your tag.
  • Content: Your custom field’s content is its actual value. Using liquid variables, you can extract this information.

Conclusion 

Meta tags play important role in bettering the search result and reaching out to more users. Without coding skills, everyone can easily add meta tags on Shopify in a few seconds. I hope you find this tutorial to be useful and easy to follow. Follow our website to update the latest post about Shopify tutorials and apps review as well. 





Leave a Comment

Logo AllFetch

© AllFetch 2021

For business enquiries: [email protected]