SEO and GEO

Make your online shop visible in the search results: tips and tricks for SEO in Shopify

Your Shopify store also needs to be easy to find on Google. Here we first go through the SEO basics you need to get right. Once the foundations are in place, we move on to the more technical steps.
→ All articles

Get the basics right, online shop SEO for dummies

Start with the basic SEO on your online shop. The more complex technical SEO disciplines, such as canonical tags and structured data, come afterwards. A builder putting up a house doesn't think about the fine aesthetic details before he has laid the foundations and built the frame either.

So what does basic SEO actually mean? Or online shop SEO for dummies, as we've rather arrogantly chosen to call it.

We mean the hands-on SEO steps you absolutely have to be able to tick off. Only then can you have any hope of good rankings in the search results for your online shop.

Basic SEO on your online shop

  • Correct H-tags on the homepage and on the collection and product pages
  • Unique meta and page titles and meta descriptions (meta tags) on the homepage and the most important collection and product pages
  • ALT tags

Google looks at exactly these three things among the first when the search engine hands out rankings in the search results. So optimise them before you move on.

What are H-tags?

An H-tag (or a header) is a piece of HTML code that marks a text as a heading. It tells Google what a page is about. It's like the headline and subheadings in a news article, which tell the reader what the article and the individual sections are about.

H-tags come in six levels, from H1 to H6. H1 is the most important, and H6 is the least important. A newspaper article has one headline and several subheadings. In the same way, every page in your online shop should have one H1 and preferably several H-tags at the lower levels.

  • The H1 is the landing page's “angle”. It describes and frames what the page is about overall
  • The H2s give more detailed and important information
  • The H3s cover what's nice to know rather than need to know, and so on

Want to know more about H-tags and how to use them? Click here.

How do you create H-tags in Shopify?

You don't need to be an HTML whizz, a coding genius or a web wizard to create H-tags in Shopify. Shopify has a simple, user-friendly text editor. It makes it easy to insert, edit and tag text on your collection and product pages.

Here's how to tag headings in the text on a collection or a product in Shopify:

  • Click Products > All products or Collections
  • Find the collection or product you want to edit, and click on it
  • Copy-paste or write your text in the text field
  • Choose the heading level in the Formatting dropdown menu (“Heading 1” corresponds to H1, “Heading 2” to H2 and so on)

Select a piece of text and click, for example, “Heading 2”. The formatting changes, and Google reads the text as an H2.

Keep an eye on one thing: Shopify often gives the text in the title field an H1 tag itself. So as a rule, don't give headings in the text field itself H1 tags. That way, you avoid having several H1s.

What are meta tags?

You've definitely seen meta tags before. They appear in the search engines' results and describe the content of a website or a page. A meta tag consists of two parts: an SEO title and a meta description. The SEO title is also called the page title or meta title.

This is roughly what it looks like:

How do you create meta tags in Shopify?

You also create meta tags in the text editor. Scroll all the way to the bottom of the text editor and click Edit website SEO.

Now you can write your page title and meta description. Below you can see the text editor for one of our online shop clients, who sells makeup. Here we're editing the meta tags on a collection page for blusher.

Tip: Want to check that your meta tags aren't too long and that they get potential customers to click through to your online shop? Then try Amplify's meta tags tool.

What are ALT tags?

ALT tags are also called ALT text or alternative text. It's text in the source code that tells Google and other search engines what an image shows. Google is pretty “clever”. It just isn't clever enough to understand images. So the otherwise all-knowing search engine needs a little help with the images on your online shop. The more Google knows about a collection or product page, the more likely your online shop is to rank well in the search results.

This is where ALT tags come into the picture, quite literally! So give your images relevant ALT tags.

If you have a very large online shop, writing ALT tags for all your images can feel overwhelming. Fortunately, with AI automation flows (Programmatic SEO) you can generate and upload thousands of ALT texts in one go!

How do you create ALT tags in Shopify?

  • Click Products > All products
  • Find the product or collection you want to give ALT tags
  • Click the image under the Media section
  • Click Add alt text
  • Write your ALT tag
  • Click Save alt text

Hey presto: Now Google knows what the image shows. And that makes it more likely that the search engine understands the rest of the page.

You can and should create ALT tags for all images on your collection and product pages. Remember to give each image its own ALT tag.

If your online shop sells tools, for example, all your hammers shouldn't have the ALT tag ‘hammer’. Create variations such as ‘hammer’, ‘carpenter's hammer’ and ‘rubber mallet’ when you give ALT tags to several products in the same category.

Your customers don't see ALT tags on the online shop itself. They sit in the source code, and that's exactly where Google looks. Below you can see the source code of the blusher collection page we mentioned earlier. Here Google can read that an image has the ALT tag ‘blush’.

Write unique collection and product copy

We can't say it clearly enough: content is king online, and that goes for your online shop too. H-tags, metadata and ALT tags are an important part of Google's vocabulary. Google also understands ordinary human language pretty well. So well that text is one of the most important factors in Google's equation when the search engine hands out rankings in the search results.

Let's say you have a collection page with red shoes on your online shop. The page has lots of products and no text saying that you sell red shoes. Then Google struggles to understand that the page is about red shoes. You may have the basic SEO in place. Google still ranks pages with in-depth copy higher.

In short: if you want to make your online shop visible on Google, you need to get typing and write user-friendly SEO copy for your product and collection pages. And it's a no go to copy text from your competitors. Google penalises duplicate content with poor rankings.

Online shop copy also matters a lot to your customers, beyond SEO. An online shop with no information about the products is like a physical shop where the staff can't be bothered to tell customers about the products.

Tip: Does the thought of a blank document give you sweaty palms? Or do you just find writing copy for your online shop dull, everyday work? Then build your copy using this template. It makes it easier and quicker to find the angle and write online shop copy:

  • Introduction to the collection or product
  • Buying guide
  • Benefits and value of the products
  • Answers to typical questions about the product. Answer the public can be worth its weight in gold here
  • Benefits and value of buying from your online shop in particular
  • Call to action: What do your customers need to do to get their hands on the product?

Tip: At Amplify, we have professional copywriters who are happy to help you write engaging, SEO-friendly and user-friendly content for your online shop. If you just need inspiration for good web copy, we warmly recommend these posts:

Create landing pages for important keywords, filters don't help your SEO

Shopify has an excellent filter function. It makes it easy for your customers to narrow down their choice of products based on personal preferences. On a collection page with red shoes, for example, you can set up filters so your customers can sort by brand, model or price.

The filters definitely help your users. Your SEO gets nothing out of them! The problem with the filter function is that you leave SEO potential untapped. That potential lies in separate collection pages for the individual filter parameters.

Let's say you run an online wine and spirits shop. You've created a collection page for wine and set up filters so your customers can find their favourite wine based on parameters such as:

  • Type: Red, white, rosé or sparkling wine (etc.)
  • Country of origin: French, Italian or Spanish wine (etc.)
  • Region: Bourgogne, Amarone Della Valpolicella or Rioja (etc.)
  • Grape variety: Cabernet Sauvignon, Malbec or Merlot (etc.)
  • Price: Under DKK 50, under DKK 100, under DKK 200 (etc.)
  • Alcohol content: Alcohol-free or alcoholic wine

The page is optimised for the very broad, generic keyword ‘wine’. So the H-tags, metadata, ALT tags and copy on the page are optimised for Google to show the page when people google ‘wine’. Filtering doesn't change that at all.

(Keep that last sentence in mind. We'll come back to filter functions in the next section.)

For example, you don't show up for high-volume keywords such as ‘red wine’, ‘Italian wine’, ‘Amarone Della Valpolicella’, ‘Cabernet Sauvignon’ and ‘alcohol-free wine’. That means you miss out on a lot of traffic and revenue.

According to the SEO tool Ahrefs, people google ‘alcohol-free wine’ no less than 1,500 times a month. The keyword is also relatively easy to get into the top 10 for.

The maths looks like this:

  • high search volume + low difficulty = low-hanging fruit!

So of course you need a landing page with your range of alcohol-free wine. You optimise that landing page using our first two tips. That significantly increases your chances of being found for ‘alcohol-free wine’. And with 1,500 searches a month, there's good reason to.

So should you choose landing pages over filters? The answer is a resounding no! The filter function in Shopify matters a lot for the user-friendliness of your online shop. And user-friendliness (or UX) also affects your SEO. Filters and landing pages are in no way opposites. On the contrary, they work together and lift each other.

Bonus tip if you sell well-known brands

If you sell well-known brands in your market, give serious thought to creating landing pages for keyword combinations with high potential. These combinations pair a generic product collection with a specific brand.

For example:

  • Hästens beds (monthly search volume: 400) for the online shop that sells beds
  • Nike running shoes (monthly search volume: 1,100) for the online shop that sells sports equipment
  • PH lamps (monthly search volume: 2,500) for the online shop that sells lamps

If you're unsure which combinations to go for, do a keyword analysis, or have one done. The analysis shows you which keyword combinations have high potential.

Get canonicals right on pages with filters

As mentioned, Google penalises duplicate content with lower rankings. That applies to content from your competitors, and it also applies to your own content.

So what does that mean? Why would you copy your own content? Of course you don't use the same copy, images, ALT tags, meta tags and H-tags on two completely different products or collections. Let's go back to Shopify's filter function for a moment and show what we mean.

In the image below, you can see part of a product page on an online shop that sells beauty and health products. Notice that the product is set to 200 ml by default.

Shopify has given the product page this path (the part of the URL after the domain name):

/collections/iles-formula/products/iles-formula-serum

Now see what happens to the path when a customer uses the filter function and chooses the 1000 ml variant of the product:

/collections/iles-formula/products/iles-formula-serum?variant=33744616914989

The filter extends the path. That can cause problems, because the new URL essentially tells Google that you've created a new product page. The "new" page has exactly the same content as the original. So it counts as duplicate content!

The risk is greatest on collection pages with many filter parameters, such as the wine shop in the previous section. There you can end up with as many URLs as there are filter combinations.

So how do you stop Shopify's otherwise excellent filter function from hurting your rankings on Google?

The answer is canonical tags and canonical URLs!

What is a canonical tag?

A canonical tag is a piece of code. It looks like this:

  • <link rel=”canonical” href=”https://www.webshop.dk/collections/produkt/”>

A canonical tag lives in the <head></head> section of your online shop's source code. Among other things, you can use it to define canonical URLs.

What is a canonical URL?

A canonical URL is the URL you choose as the "master" of a set of duplicate pages. That could be the many pages a filter function creates, for example. In the eyes of the search engines, those pages are duplicates.

Google puts it like this:

A canonical URL is the URL of the page that Google thinks is the most representative of the identical pages on your site.

Source: https://support.google.com/webmasters: Search Console Help

So the canonical URL is the version of a page that Google should crawl.

Tell Google which URL is the canonical one. Otherwise the search engine picks a version at random.

Modern eCommerce platforms such as Shopify automatically give your pages canonical tags when you create collection and product pages. So as a rule, you don't need to add canonical tags to your canonical URLs yourself.

Even so, we warmly recommend that you double-check your online shop's canonicals. This applies especially if you use an eCommerce system other than Shopify. That way, you avoid these 3 SEO (nightmare) scenarios:

  • Duplicate content!
  • Google crawls a less relevant version of the page
  • Google crawls hundreds of filter-generated URLs on your website, gets confused and shows a competitor with their canonicals in order in the search results instead

How to check the canonicals on your online shop

You can check the canonical tags on your Shopify store in one of these ways.

1. Look in the source code

  • Open any collection or product page in your browser. Use a desktop, as it doesn't work on mobile or tablet.
  • Right-click anywhere on the page and click Inspect.
  • The page's source code now opens in a new window.
  • Press control/command + F to search the source code, and type “canonical”.

If the page's URL has a canonical tag, the canonical URL appears right after the yellow highlight.

Canonical tag in the source code

Now use the filter function so the URL changes as in the earlier example, and repeat the process. You should see the same result in the source code. In other words, the URL after <link rel=”canonical” href= should stay the same, even though you've applied a filter. That means the original URL is the canonical one.

And then everything is in order. Google only takes the canonical URL into account.

2. Check with an SEO crawler

If you want a broader overview of the canonicals on your site, use an SEO crawler such as Screaming Frog. It shows you all the canonicals on every page of your online shop.

We won't go into the program in detail here. You can read much more about it in the post “Seven tips for improving your SEO with Screaming Frog”.

3. Check theme.liquid in Shopify's admin panel

Finally, you can look in the <head></head> section of the theme.liquid file. You'll find it in your online shop's admin panel.

  • Go to Online Store > Themes, and click Actions > Edit code
  • Select theme.liquid, and search for “canonical”
  • If everything is in order, you'll see the following (see the yellow highlights):

Canonical tag in the source code

Is a canonical tag missing from the <head></head> section? Then just copy this piece of code into the section:

<link rel="canonical" href="{{ canonical_url }}">

Want to know more about canonical URLs and tags in your Shopify store? Follow Shopify's guidelines and best practice.

Give your page and URL structure a health check

The page structure of your online shop should make it easy for your customers to find what they're looking for. That also makes it easier for Google to find your online shop.

In a supermarket, you don't look for cat food in the fruit and veg section. And you don't look in the butcher's section when you need a plug socket.

In the same way, your online shop needs “departments”. They make it easy for your customers to find the product they need. And not least, they make it easy for Google and other search engines to crawl your online shop.

So keep the page structure simple and easy to navigate. Ideally, it should look roughly like this:

  • Homepage > category > (any subcategory) > product page > product

The URL structure is just as important as the page structure. Your paths should match your page structure and be as simple as possible. The URL of a product page with men's shoes, for example, should be something like:

  • www.webshop.dk/collections/herresko

Shopify generates URLs itself when you create collection and product pages. So the path matches the name of the collection or product. If you call the collection herresko, Shopify automatically gives the page the path /collections/herresko.

If you still want to change the URL manually for the sake of the search engines, you can easily do it in the URL and handle field. You'll find it in the Edit website SEO section under the individual product or collection.

Use schema.org, structured data makes you visible in the SERP

Look at Google's results page (SERP), and you'll quickly see that some results show more than others.

Take the result below from the bike shop Saxil Cykler. Here you can see both the price and the stock status of the popular Hövding Cykelhjelm. Normally a search result (snippet) only shows the SEO title, URL and meta description. Here the user learns more directly in Google.

A search result like this is called a rich snippet. It gives your online shop a more visible place in the search results for two reasons. It stands out visually from the other results. And it gives potential customers relevant information about the product before they've even visited your online shop.

Rich snippets benefit the user experience, your SEO and your click-through rate.

How do you get a rich snippet?

You get it with structured data.

Structured data is HTML that tells Google and other search engines what a website is specifically about. Our colleague Peter has already written an excellent introduction to structured data, so we won't go into what structured data is here. It's perhaps more interesting to know what it does, and not least what it can do for your online shop's visibility in the search results.

Structuring data yourself takes a fair amount of technical understanding. Fortunately, there are tools to help, such as this Schema Markup Generator. Here you choose a Schema.org markup that suits your type of business. If you have an online shop, it makes sense to choose Product.

Then you enter the parameters you want to tell Google and potential customers, such as stock status and price as in the example above. Based on your parameters, the markup generator creates a JSON-LD script. Afterwards, you can test and implement your schema code in your online shop's source code, typically in the collection.liquid or product.liquid file.

How do you get a rich snippet?

You can use structured data for many purposes. For example, you can show reviews in the search results, so your customers know whether your online shop is worth a visit.

Of course, that requires your customers to review your business on Trustpilot, Google, your online shop itself and other platforms. And ideally, those reviews should be good.

Here, for example, we've structured a schema (the most universal vocabulary in structured data) for displaying reviews:

<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "",
"image": "",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"ratingCount": "299"
}
}
</script>

On an online shop, structured data is dynamic. If you sell out of a product, the stock level changes in the structured data too. That is, provided you've set it up correctly and according to the guidelines.

The same applies to the price of your product when it goes on offer or drops in price. So you don't have to change anything manually, and that saves you a lot of time.

Blog like mad!

If you've read our post "Why your business should write blog posts", you already know 5 good reasons to write blogs with tips and tricks about your products. If you haven't read it, here's a quick summary of what a blog on your online shop does for your SEO:

  • You catch customers early in the buying journey
  • You get found for long tail keywords
  • You increase your chances of backlinks

First, you catch customers early in the buying journey. Your potential customers may not even know that your products can meet their needs. So you need to help them along a little, and you can easily do that by blogging about your products.
The blog guides them on through the decision phase.

  • For the makeup retailer, it could be advice on how to apply makeup that lasts
  • For the wine merchant, it could be advice on how to choose wine to go with food
  • For the health shop, it could be a post about the benefits of collagen powder

That's exactly why a blog is also the perfect platform for getting found for the keywords people use when they google a problem. These are typically so-called long tail keywords: longer, very specific search terms. For example:

  • Breathable raincoat with a high hydrostatic head
  • Supplements for skin and nail care
  • Breathable compression running socks

In the early part of the buying journey, people search for solutions to their problems. The products come later.

Perhaps you have a health shop online that sells collagen as a supplement. Your potential customers still won't find your online shop if they don't know that collagen is an important component of the skin. Nor do they know that collagen powder can therefore help firm up the skin.

So write a blog post about skin care. Talk about collagen, and link to a relevant product page.

The blog is also an obvious place for internal link building, and that lifts your SEO too. And speaking of link building: if you write really good, informative blog posts, there's also a chance that other websites will link to your site. In other words, you lay the groundwork for valuable backlinks.

How to create and edit a blog in Shopify's admin panel:

  • Click Online Store > Blog posts
  • Click Manage blogs
  • Click Add blog
  • Give the blog a name
  • Start blogging

Want to know more about SEO for Shopify stores?

Too busy running your online shop to play SEO specialist as well? Or does SEO on your online shop seem a little too complicated?

Then contact us at Amplify on 70 60 50 28, or write directly to ak@amplify.dk

Ready to grow? Let’s talk

→ Book a chat