How to fix seo product missing gtin on Shopify

Add a valid GTIN (and/or MPN) to your Product structured data so Google can match your listings to its product catalog and show them in Shopping results and AI-powered product features.

Steps for Shopify

  1. In your Shopify admin, go to Products → select a product → scroll to the 'Shipping' section → find the 'Barcode (ISBN, UPC, GTIN, etc.)' field and enter the product's GTIN.
  2. Shopify's default product JSON-LD does NOT automatically inject the barcode into Product schema. To add it to structured data, go to Online Store → Themes → Actions → Edit Code.
  3. Open 'templates/product.json' (or 'sections/main-product.liquid' in Dawn-based themes) and locate the existing Product schema block (search for '"@type": "Product"').
  4. Add the GTIN line inside that block: '"gtin": "{{ product.variants.first.barcode | escape }}"' — this dynamically pulls the barcode value you entered in the product admin.
  5. Alternatively, install a structured data app (e.g. 'Schema Plus for SEO' or 'JSON-LD for SEO') that reads the Barcode field and injects a complete, GTIN-enriched Product schema automatically — no code editing needed.
  6. Save changes and verify using Google's Rich Results Test on the product URL.
Official Shopify documentation ↗
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Example Running Shoe",
  "gtin": "012345678905",
  "mpn": "RS-2024-BLK-10",
  "brand": {
    "@type": "Brand",
    "name": "Example Brand"
  },
  "offers": {
    "@type": "Offer",
    "price": "99.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

What is seo product missing gtin?

A GTIN (Global Trade Item Number) is the universal product barcode identifier — the same number printed on a product's UPC, EAN, or ISBN barcode. An MPN (Manufacturer Part Number) is the code the brand uses to identify a specific product variant. When you add these identifiers to your product pages inside structured data (the hidden JSON-LD code that tells Google what your page is about), you're giving Google a precise, unambiguous signal that says "this page sells this exact, real-world product." Without them, Google can only guess what product you're selling based on text alone.

Google's Shopping Graph — the database powering Google Shopping, product panels in Search, and AI-driven shopping features — matches product pages primarily by GTIN. Without a GTIN in your Product schema, your listings are far less likely to appear in Google Shopping free listings, merchant-driven product carousels, and the growing wave of AI shopping summaries that pull structured product data. Stores that supply GTINs consistently win more impressions and clicks in Shopping surfaces at zero additional ad spend. There is also an indirect ranking benefit: Google's quality guidelines treat missing GTINs as incomplete product markup, which can reduce your eligibility for rich result enhancements.

See the complete Seo product missing gtin guide for every platform and the full background.

Not sure if your Shopify store has this?

Run a free SEOLZ audit — we’ll find seo product missing gtin and every other issue across your whole site.

Scan my site free

Fix seo product missing gtin on another platform