SEO and Redirects
Titles and descriptions, sitemaps, robots, and sending old addresses somewhere useful.
Settings, SEO Settings holds what search engines are told, and Settings, Redirects sends old addresses to new ones.
Titles and Descriptions
Every product, category and page carries an SEO title and description. Left blank, the shop uses the item's own name and the first part of its content, which is usually fine.
Fill them in deliberately for the handful that matter: your homepage, your main categories, and anything you are actively trying to be found for. Writing them for three hundred products is work with very little return.
Addresses
The slug is the address, and it is the thing worth settling early and never changing.
Changing a slug breaks every link to it
Every link anybody saved, shared, printed or published points at the old address. Search engines have to find the new one and rank it again from scratch. If you must change one, add a redirect at the same time.
Redirects
Settings, Redirects maps an old address to a new one.
Use it whenever you change a slug or delete a page, and especially when moving from a previous shop, where years of links point at addresses that no longer exist. A redirect turns a dead end into an arrival, and costs nothing.
Redirects are also how you tidy up: a long address somebody printed on a flyer can be replaced with a short one that redirects to it.
Sitemap
The shop publishes a sitemap at /sitemap.xml automatically, listing your products, categories and pages. Search engines find it on their own, and you can submit it directly in their webmaster tools to speed up a new shop being indexed.
Robots
/robots.txt tells crawlers what to ignore. The defaults exclude the admin, the API, the basket, the checkout and account pages, which is what you want: none of those should ever appear in a search result.
Custom rules can be added for anything particular to your shop.
Discourage search engines switches the whole shop off from crawling, for a shop being built or one only shown to people you send there. It is a request rather than a lock, so do not use it to hide anything that actually matters.
Share Previews
When somebody pastes a link to your shop into a message, a post or a chat, what unfurls is a title, a description and a picture. The first two come from the fields above. The picture is found for you: a product, category or page uses its own image, and the front page uses the first image on its homepage, falling back to your logo.
Set Social share image on a product, category or page to override that with a particular picture.
Share cards cannot read WebP
Facebook, X and LinkedIn read JPEG, PNG and GIF and none of them read WebP or AVIF. A share picture in one of those is silently skipped, which looks the same as having none. If a share of your shop comes out as a bare link with no picture, that is nearly always why: upload a JPEG or a PNG for the image you want shared.
Paste your own front page into a message after any change to the homepage, because that is the address people share most and the one nobody checks.
Analytics and Tags
Settings, SEO Settings is also where Google Analytics, Google Tag Manager and the Meta pixel are configured. Paste the identifier rather than the whole script.
If a tag is not firing, the usual cause is the content security policy blocking it rather than the identifier being wrong. That is under Settings, Content Security Policy. The other cause is the cookie banner below: a tag the shopper has not agreed to is never written into the page.
Asking Before You Track
Ask before setting tracking cookies, on the same screen, puts a banner at the foot of the shop and holds Analytics, Tag Manager and the Meta pixel back until the shopper agrees.
It is off to begin with, and left off the tags run for everybody exactly as they always have.
Switched on:
- Nothing is written into the page until somebody agrees. The tags are held back on the server, not hidden and loaded anyway, so no tracking cookie is set and no page view is sent to anybody while the question is still open.
- Accept and Reject are the same size and sit side by side, with Reject first. A reject that is harder to find than an accept is not a choice, and in several places it is not lawful either.
- A browser that has already answered is not asked. Do Not Track and Global Privacy Control are treated as a refusal, silently.
- The answer is remembered for a year.
The banner uses your own colors, so it looks like your shop rather than something bolted on.
Whether you need it
You need it if you sell to people in the UK or the EU, and in several US states. It is about the tags above rather than about the shop: a shop with no Analytics, Tag Manager or pixel sets no tracking cookies and has nothing to ask about.
It does not make your privacy policy true
The banner is one part of what those laws ask for. Your privacy policy still has to say what you collect and who you share it with, and the one your theme ships is a starting point rather than legal advice.
What Actually Moves the Needle
In rough order: having pages worth linking to, a shop that loads quickly on a phone, product names that match what people search for, and descriptions written for a reader rather than stuffed with terms.
Everything on this page helps a search engine understand a shop that is already worth finding. None of it substitutes for that.
