Skip to content
See Sanity in action 👀 Join us for a live product demo + Q&A →
Sanity
Get started
  • Sanity Studio - Flexible editing environment
  • Content Lake - Real-time database
  • Developer experience - Tooling you love
  • Structured content - The philosophy behind Sanity
  • Review changes - View edits & rollback instantly
  • Image pipeline - On-demand transformations
  • E-commerce - Better shopping experiences
  • Marketing sites - Control your story
  • Products & services - Innovate and automate
  • Mobile apps - Content backend for every OS
  • Aether - Unique digital shopping experience
  • Morning Brew - Omnichannel media distribution
  • InVision - Delivering exceptional customer experiences
  • DataStax - Personalization for global audience
  • React
  • Gatsby
  • Next
  • Nuxt
  • Eleventy
  • Netlify
  • Vercel
  • Algolia
  • Documentation
  • Reference
  • Guides
  • Resource library
  • Headless CMS
  • Tools & plugins
  • Project showcase
  • Schemas & snippets
  • Agency partners
  • Technology partners
  • Get support
  • Share your work
  • 5 Disadvantages Of Wordpress That Are Holding You Back
EnterprisePricing
Contact salesLog inGet started

E-commerce SEO

  • E-commerce SEO: The Essential Guide To Success
  • On-page SEO for E-commerce
  • Technical SEO For E-commerce
  • Link Building For E-commerce

Categorized in

  • SEO Guides
  1. Resources
  2. SEO Guides
  3. E-commerce SEO

Last updated March 16th 2023

On-page SEO for E-commerce

  • Kevin Indig

    Growth advisor (ex Shopify, G2 and Atlassian)

On-page optimization is one of the 4 pillars of e-commerce SEO. The goal is to help Google understand the relevance of a page for keywords and user intent by optimizing elements like meta titles, text, images, and videos.

In an ideal world, just writing naturally (“write as you speak”) and creating content that users want would be good enough for Google to reward your site with high rankings and lots of traffic. Despite its growing sophistication, however, Google still lacks a good understanding of implicit meaning.

In other words, we still need to optimize content to perform optimally in search.

How to optimize title tags for SEO

Title tags - the heading of your search result on Google - are some of the most important ranking signals to Google and the first element from your site that searchers will see.

Technically, title tags are not on the page, but we include them in this section because they often match the H1 heading (the headline of your page). In fact, Google might automatically rewrite titles that venture too far away from H1 headings, which can lead to suboptimal titles in search results.

Good titles help users quickly understand the context and value of a page. Write a title that appeals to the user intent behind a keyword.

Look at the titles of pages that perform in top positions for your target keyword and think about how to stand out within the best practices of title optimization:

  1. Stick to a limit of 60 characters to avoid Google cutting your titles off
  2. Avoid generic titles like “homepage”.
  3. Aim to include at least the main keyword.
  4. Add unique selling propositions like “cheap,” “deals,” “shipping price,” or “free returns” when applicable.
  5. Optionally, add your brand name at the end of a title.

When starting out, creating a template you can use to define titles for your product and category pages makes sense. Over time, optimizing these title templates allows you to quickly make an impact on a large number of pages.

Templates include different elements like your brand name, keywords, and value propositions. An example of a page title template for a category page could be:

“Premium {category name} | Free shipping | {brand}”

One resulting title from this template could be “Premium women's slippers | Free shipping | The Slipper Store”.

Start building title templates in Google Sheets or Excel and test different variations over time to find the best one. You can carry learnings or templates over to meta descriptions and headings as well.

How to optimize on-page content for SEO

The text on a page tells Google what the page is about, and how relevant it is for a keyword. The goal of on-page text optimization is to provide information that makes it easier for users to make decisions.

For example, good product descriptions carry key pieces of information like size, price, or fit. Google understands the relationship between such parameters and products. As a result, having more information on a page generally improves its rankings in organic search.

Good e-commerce content is customer-oriented: it helps users make decisions and answers their most important questions about a topic. Since buyer journeys are rarely linear, you should include links to other products, categories, or blog articles in your content and use descriptive words to help users and Google find all pages and understand their relevance to each other

When optimizing on-page text, keep in mind that requirements vary depending on the type of page you're optimizing: product page, category page, or blog article. When creating or optimizing text for product pages, think about all the questions customers might ask about the product and try to anticipate them.

Protip

Think of yourself as a customer service representative. Your goal is to help your audience make the best decisions about your products and services.

Instead of copy-pasting the manufacturer’s product description, write your own. For category pages, provide some guidance to help customers find the right product. For blog articles, create comprehensive buying guides.

How to style content for SEO

The structure of your content, expressed in headings (h-tags), is a representation of breadth and depth. They tell users and search engines how many sub-topics you cover and how deeply you cover them. When writing on-page text, you should consider expanding on both of these qualities.

The most important heading is the H1, because it defines the page's topic. But headings 2 through 6 help users and search engines understand the structure and sub-topics of your content. Aim to include keywords in headings, as long as they are useful to the reader.

Google understands what formats users expect to see for a specific search, so you should try to format your content to meet those expectations. For example, searchers looking for “the 13 best buttoned-down shirts for winter” expect a list. Add a snappy list of products at the beginning of your article and then elaborate on each item.

Keep content light and easy to skim using bullet points, tables, and bolding. Avoid extravagant analogies, stories, or metaphors. You don’t want to sound mechanical, but SEO content is about answering a searcher’s questions by writing simply and clearly and getting to the point.

How to optimize images and videos for SEO

Google has been moving towards making search results more visual, which means images have become very important for SEO.

However, Googlebot — the program Google sends to your site to download, understand and rank content — can’t “see” images. It relies on other indicators to understand visual elements. Optimizing these indicators is known as image or video SEO.

To infer what an image is showing, Google looks at the image file name and alt tag. So make sure to include your main keyword in the alt tag and write a descriptive name. Videos don’t have alt tags, so you should give them a descriptive file name.

Both images and videos benefit from specified dimensions and large resolutions. Google supports BMP, GIF, JPEG, PNG, WebP, and SVG for images and any provider for videos besides Youtube.

The relevance of your images and videos to the content is important. Like it does with internal links, Google evaluates how the images and videos relate to the surrounding text.

For example, placing a video about cats in an article about mattresses might not be a good idea. But it’s a very good idea to include a video about choosing the right mattress size in a buying guide for mattresses. Ask yourself how the image or video adds to the content.

Ready to grow your e-commerce business?

Create seamless and connected experiences for your e-commerce that rank on Google users with Sanity and Shopify. Sign up today to unlock the full potential of your online store!

Get started with Sanity
Previous
E-commerce SEO: The Essential Guide To Success
Next
Technical SEO For E-commerce

Page content

  • How to optimize title tags for SEO
  • How to optimize on-page content for SEO
    • How to style content for SEO
  • How to optimize images and videos for SEO

Platform

Structured ContentDeveloper experienceContent LakeSanity StudioSecurity & Compliance
  • Sanity vs Contentful
  • Sanity vs Strapi
  • Sanity vs Adobe Experience Manager
  • Sanity vs Hygraph
  • Sanity vs Sitecore
  • Sanity vs Storyblok
  • Sanity vs Contentstack
  • Sanity vs Prismic
  • Sanity vs Drupal
  • Sanity vs ButterCMS

Resources

Documentation
  • React Blog
  • Gatsby Blog
  • Next.js Landing Pages
  • Progressive Web Application
  • Single Page Application
  • Svelte & Typescript App
  • Vue & Tailwind Blog
  • Developer Portfolio Templates
  • Form validation with Yup
  • Live Preview with Next.js and Sanity.io
Resource library
  • Agency partners
  • Technology partners
  • Blog Template
  • Personal Website Template
  • Developer Portfolio Templates
  • All Templates
Case Studies
  • Headless CMS
  • What is an API CMS
  • Static Sites 101
  • Headless SEO
  • Localization
  • GraphQL vs REST
  • What is a DXP?
  • Typescript 101
  • Content as a Service
  • Ecommerce SEO
  • React CMS
  • Next.JS CMS
  • CMS for Shopify
  • Content platform
  • Multilingual CMS
  • Static Site CMS
  • Gatsby CMS
  • Node CMS
  • E-commerce CMS
  • Vue CMS
  • Angular CMS
  • GraphQL CMS
  • Newspaper CMS
  • Magazine CMS
  • CMS for apps
  • Remix CMS

Company

Contact SalesEnterpriseCareersTerms of ServiceAccessibility Statement

Stay connected

  • GitHub
  • Slack
  • Twitter
  • YouTube
  • Stack Overflow
  • Blog RSS
  • Newsletter
©Sanity 2023