# Canonical Tags for AI Overviews on Shopify

Canonical URL: https://trakkr.ai/article/canonicals-for-ai-overviews-on-shopify
Published: 2025-12-16
Last updated: 2026-03-13
Author: Mack Grenfell

Set up canonical URLs on Shopify for AI Overviews citations.

AI Overviews gets confused by duplicate URLs. Your product appears at '/products/blue-widget' and '/collections/widgets/products/blue-widget', and Google's AI can't tell which is the authority. When it cites your content, it might link to the wrong version. This dilutes your citation value and confuses users who click through.

## The Problem

Shopify creates multiple URLs for the same product by default. AI Overviews treats each URL as separate content, fragmenting your authority. Without proper canonicals, your citations get split across duplicate pages instead of consolidating to your preferred URL.

## The Solution

Canonical tags tell AI Overviews which URL is the master version. Set them correctly, and all citation value flows to your chosen URL. Shopify makes this manageable through themes and apps, but you need to know exactly which URLs to canonicalize and how AI Overviews interprets them.

## Audit your duplicate URLs first

Check how many URLs point to the same product. Search site:yourstore.com '[product name]' in Google. You'll typically find collection URLs, search result URLs, and the main product URL. List every variation that shows the same content.

## Set product page canonicals in your theme

Edit your product.liquid template. Add this in the <head> section: `<link rel="canonical" href="{{ shop.url }}{{ product.url }}" />`. This forces all product variations to point back to the main product URL, which AI Overviews will treat as the authority.

## Handle collection page duplicates

Collection URLs often appear with pagination and sorting parameters. Add canonical tags to collection.liquid: `<link rel="canonical" href="{{ shop.url }}{{ collection.url }}" />`. This prevents AI Overviews from treating '/collection/shoes?page=2' as different from '/collection/shoes'.

## Fix blog post canonicals

Blog posts can appear in multiple tag archives. In article.liquid, add: `<link rel="canonical" href="{{ shop.url }}{{ blog.url }}/{{ article.handle }}" />`. This ensures AI Overviews always cites the main article URL, not the tag archive version.

## Test with Google's URL Inspection Tool

Submit your main URLs to Search Console's URL Inspection. Look for 'User-declared canonical' vs 'Google-selected canonical'. If they don't match, Google might ignore your canonical tags. AI Overviews follows Google's canonical choice, not necessarily yours.

## Monitor citation URLs monthly

Search for your brand + product names to see which URLs AI Overviews actually links to. Screenshot these citations. If the wrong URLs keep appearing, your canonicals aren't working correctly or need more time to take effect.

## Frequently Asked Questions

### Does Shopify automatically handle canonical tags?

Shopify adds some automatic canonicals, but they're inconsistent. Products in collections sometimes get canonicalized to the collection URL instead of the product URL. Always set explicit canonical tags in your theme files to ensure AI Overviews cites the right URLs.

### How long until AI Overviews respects new canonical tags?

AI Overviews typically updates within 2-4 weeks after Google recrawls your pages. You can speed this up by requesting indexing through Search Console for your main URLs with new canonical tags.

### Should collection pages canonical to themselves?

Yes, always. Collection pages with filters, sorting, or pagination parameters should canonical back to the clean collection URL. This prevents AI Overviews from treating '/collection/shoes?sort=price' as separate content.

### What if Google ignores my canonical tags?

Check for conflicting signals: multiple canonicals on the same page, canonical pointing to a 404, or internal links pointing to non-canonical versions. Clean these up and Google (and AI Overviews) will typically respect your canonical choice.

### Do I need canonical tags for single product variants?

Yes, if variants have separate URLs. Some Shopify themes create URLs like '/products/shirt-red' and '/products/shirt-blue'. Canonical these to the main product URL so AI Overviews treats them as one product with variants, not separate products.
