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 exert an impact on the organic traffic, engagement rate, as well as your SEO 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.

Shortcut for adding meta tags

If you are not familiar with editing code and find it complicated to follow some steps above, don’t worry! There’s another quick and effective solution for you. With just a few clicks, the AllFetch SEO & Image Optimizer app powers you to add meta tags for all pages including homepage, product page, collection page, and blog post in a matter of minutes.

As its name suggests, AllFetch SEO & Image Optimizer is an autopilot SEO optimization tool with a bunch of cool features.

  • Meta Tags Optimization
  • Image Alt Text Optimization
  • Image Compression
  • Scan Broken Links
  • Sitemap Submission
  • JSON-LD with one click

Don’t waste your precious time working on SEO issues! Let your online store be automatically optimized based on Google’s best practices. One-time setup, no coding required!

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. 



Related posts



Logo AllFetch

© AllFetch 2022

For business enquiries: [email protected]