AI commerce
GTIN on Shopify: what Google, OpenAI and Shopify ask for, in their own wording
A GTIN on Shopify is the number you enter in the variant's barcode field, and no AI shopping platform makes it mandatory across the board. OpenAI's product feed spec lists gtin as optional. Google Merchant Center calls it strongly recommended if available and warns that missing or wrong GTINs may limit visibility. Products that never had one, such as store brands, need none. Shopify lists the barcode among the fields AI platforms consider. In our sample, 332 of 1,722 product pages with Product JSON-LD (19.3 %) state a GTIN.
- Valid lengths in OpenAI's schema: exactly 8, 12, 13 or 14 digits with a valid check digit.
- Both Google and OpenAI say: do not guess or invent a value.
- Without a GTIN, Google asks for brand plus MPN.
Last checked:
In detail
Google: strongly recommended if available, with a stated consequence
Google is the platform with the most detailed wording, and for Shopify stores it is the one that matters for Google AI Mode and Gemini, because those surfaces take their product data from Merchant Center. The Merchant Center product data specification classifies GTIN as It Depends, with the addition strongly recommended if available.
The GTIN help article goes further. It recommends the attribute for all products with a manufacturer-assigned GTIN and names a consequence: products with missing or incorrect GTINs may have limited visibility, and accurate matching to products cannot be assured when the GTIN is missing. It also says products without any unique product identifiers are difficult to classify and may not be eligible for all Shopping programs or features.
The same article contains the exemption many merchants miss. If you are the only seller of a product, or the product is a store brand, it generally has no GTIN and you do not need to submit one. Google's instruction not to guess applies here: a made-up number is worse than an empty field.
For the markup on the product page, Google Search Central (documentation dated 2026-09-08) says to include all applicable global identifiers, recommends the most specific GTIN and wants it in numeric form only.
In detail
OpenAI lists gtin as Optional, and a missing GTIN has a documented fallback
In OpenAI's product feed schema as read on 2 December 2026, the requirement column for gtin says Optional. There is no recommended wording for it in the current schema. If you do send one, the format is strict: exactly 8, 12, 13 or 14 digits with a valid check digit, leading zeros preserved, and the field omitted if no GTIN is assigned. mpn is also Optional, is to be submitted together with the brand, and must not be invented to stand in for a missing GTIN. For a Shopify store this feed is background knowledge, since Shopify products reach ChatGPT through Shopify Catalog and not through a feed the merchant uploads.
For products without a GTIN, Google documents the fallback in two attributes:
- MPN: required for all products without a manufacturer-assigned GTIN. Optional if the product has no clearly associated MPN or is custom-made.
- identifier_exists: optional in the specification, recommended for products that have no GTIN, MPN or brand. Set it to no or false only if you are certain, because wrong use triggers a warning.
In detail
One in five product pages states a GTIN, and almost all state a brand
In our study AI visibility of Shopify stores 2026 (linked under Sources), measured on 2 December 2026, 1,722 product pages had Product JSON-LD. Of these, 332 (19.3 %) state a GTIN. A brand is stated on 1,714 (99.5 %), a SKU on 1,169 (67.9 %) and an MPN on 224 (13.0 %).
The MPN figure is the one to look at next to Google's rule. Google requires an MPN where no manufacturer GTIN exists, yet only 224 pages carry one. Many stores that sell without GTINs therefore show neither identifier in their markup. The measurement cannot tell how many of them are store brands that are exempt.
By store country, Germany has 44 of 177 product pages with JSON-LD stating a GTIN (24.9 %), the United Kingdom 36 of 149 (24.2 %) and the United States 95 of 622 (15.3 %). The country groups are small, so read them as a direction. The whole measurement is a single run on 2,000 stores drawn from 10,118, with 1,985 evaluated. It reads the page markup, not the barcode field in the admin, so a theme that does not print the barcode into JSON-LD counts as without GTIN even if the field is filled.
What is not known
No platform says a GTIN improves placement in AI answers
Whether a GTIN improves placement in Shopify Catalog or in ChatGPT is not stated by any platform. Shopify lists Barcode (ISBN, UPC, GTIN) among the fields AI platforms consider, without a requirement and without a weighting.
For Perplexity and Microsoft no field requirements were found in the research for this page.
Google's own pages do not use one wording for neighbouring attributes. The brand article says required for each product with a clearly associated brand or manufacturer, while the specification overview says required for all new products except movies, books and musical recording brands. For identifier_exists, the overview says Optional and the attribute article says recommended for products without GTIN, MPN or brand. Both versions are quoted here as found.
Index AI
Finding the products where the barcode field is empty
Index AI checks every product for what AI channels read: category, category attributes, GTIN, title, description and images, with a readiness score and issues per product. The product data check is free in the Starter plan. It shows where a GTIN is missing. It does not assign GTINs, which come from GS1 or the manufacturer, and it does not submit feeds to ChatGPT, Google or Perplexity.
FAQ
Questions about GTINs on Shopify
A GTIN cannot be generated in a meaningful way. Google says not to guess, and OpenAI's schema says to omit the field if no GTIN is assigned and not to invent an MPN as a replacement. A number that passes the check digit but belongs to nobody, or to another product, is exactly the incorrect GTIN Google warns about.
Nothing in the GTIN field. Google's GTIN article says a store brand or a product with only one seller generally has no GTIN and none needs to be submitted. Google then expects brand and, where one exists, an MPN. For custom-made products the MPN is optional as well.
Yes for OpenAI's feed schema, which asks for leading zeros to be preserved and accepts exactly 8, 12, 13 or 14 digits. Spreadsheet exports that turn the barcode column into a number drop those zeros, so check the column format before an import.
Free check
Check what AI assistants can read on your store
The free check looks at crawler rules, llms.txt and product markup. No cost.
Related
Related guides
- Shopify Agentic Storefronts: channels, countries, feesAgentic storefronts let customers find and buy a store's products inside AI channels: ChatGPT, Google AI Mode and Gemini, Microsoft Copilot and Meta.
- Shopify and ChatGPT checkout: what is live in December 2026OpenAI launched Instant Checkout on 29 September 2025 and stepped back from it on 24 March 2026; its merchant page now says purchases are completed on merchant-owned sites.
Index AI
Index AI checks every product for what AI channels read: category, category attributes, GTIN, title, description and images, with a readiness score and issues per product. The product data check is free in the Starter plan.
Sources
Sources
- OpenAI: Product feed schema · as of 2026-12-02
- Merchant Center Help: Product data specification · as of 2026-12-02
- Merchant Center Help: GTIN [gtin] · as of 2026-12-02
- Merchant Center Help: MPN [mpn] · as of 2026-12-02
- Merchant Center Help: Identifier exists [identifier_exists] · as of 2026-12-02
- Google Search Central: Merchant listing (Product, Offer) structured data · as of 2026-12-02
- BrandUp: AI visibility of Shopify stores 2026 (eigene Messung, 2.000 Shops gezogen aus 10.118, 1.985 ausgewertet, Messung 02.12.2026) · as of 2026-12-02
Research as of 2 Dec 2026. Nothing on this page was reproduced in a store; steps and behaviour are taken from the documentation named.