A1
Check A1 · Product data & schema

Product schema present and valid

Structured Product data (JSON-LD) that AI engines can read without guessing.

15 / 100 pts in pillar · pillar = 30% of scorelow effort

This check looks for Product structured data on your page. Structured data is a small block of code, usually written as JSON-LD, that sits in the page's HTML and states plainly what the page is about: the product name, images, brand, price and more. Shoppers never see it, but machines read it first.

Why AI search cares

AI search engines have to work out what a page is selling before they can recommend it. Without structured data they have to guess from your layout, menus and marketing copy. A clean Product block removes the guesswork and gives them a reliable set of facts to match against a shopper's question.

Where the block appears matters too. Most AI crawlers, including GPTBot, PerplexityBot and ClaudeBot, read the raw HTML your server sends and do not run JavaScript. If your schema is added later by an app script, many of them will never see it.

How CartGEO scores it

  • Product JSON-LD in the raw HTML: 100 points.
  • Product microdata only (older itemtype markup): 50 points.
  • Product JSON-LD that only appears after JavaScript runs: 30 points.
  • No Product schema at all: 0 points.

If any JSON-LD block on the page fails to parse, the score is capped at 20, because a broken block may be ignored entirely. The usual causes are a trailing comma or an unescaped quote in a product title.

This check is worth 15 of the 100 points in the Product data pillar, which makes up 30% of your overall score.

How to fix it on Shopify

  1. Most modern Shopify themes already output Product JSON-LD. View your product page source (right-click, View page source) and search for application/ld+json to see what is there.
  2. If nothing is found, or it is only added by an app, go to Online Store → Themes → Edit code.
  3. Under Snippets, add a new snippet called cartgeo-product-schema and paste in the code below.
  4. Open your product section (often sections/main-product.liquid) and add {% render 'cartgeo-product-schema' %} near the top.
  5. Save, then turn off any app setting that outputs a second Product block, so engines see one clear source.
  6. Always use the | json filter on Liquid values. It escapes quotes and keeps the block valid.

Example

{%- comment -%} snippets/cartgeo-product-schema.liquid — render it once in your main product section: {% render 'cartgeo-product-schema' %}. Remove any other Product schema, including {{ product | structured_data }}. {%- endcomment -%}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": {{ product.title | json }},
  "description": {{ product.description | strip_html | truncate: 5000 | json }},
  "url": {{ shop.url | append: product.url | json }},
  "image": [{% for image in product.images limit: 10 %}{{ image | image_url: width: 1200 | prepend: 'https:' | json }}{% unless forloop.last %},{% endunless %}{% endfor %}],
  "brand": { "@type": "Brand", "name": {{ product.vendor | json }} },
  {%- if product.selected_or_first_available_variant.sku != blank %}
  "sku": {{ product.selected_or_first_available_variant.sku | json }},
  {%- endif %}
  {%- if product.selected_or_first_available_variant.barcode != blank %}
  "gtin": {{ product.selected_or_first_available_variant.barcode | json }},
  {%- endif %}
  "offers": [
    {%- for variant in product.variants %}
    {
      "@type": "Offer",
      "name": {{ variant.title | json }},
      {%- if variant.sku != blank %}
      "sku": {{ variant.sku | json }},
      {%- endif %}
      {%- if variant.barcode != blank %}
      "gtin": {{ variant.barcode | json }},
      {%- endif %}
      "price": {{ variant.price | divided_by: 100.0 | json }},
      "priceCurrency": {{ cart.currency.iso_code | json }},
      "availability": "https://schema.org/{% if variant.available %}InStock{% else %}OutOfStock{% endif %}",
      "itemCondition": "https://schema.org/NewCondition",
      "url": {{ shop.url | append: variant.url | json }}
    }{% unless forloop.last %},{% endunless %}
    {%- endfor %}
  ]
}
</script>

Scan your own product page