Organization schema for online stores
Add a JSON-LD block to your homepage with @type set to OnlineStore (or Organization) and at least name, url, logo and sameAs links to your official profiles. Optionally add a WebSite block with your site name.
Why it matters
Structured data states facts in a form machines do not have to guess. Google says Organization markup on your homepage helps it understand your organization’s administrative details.
For a store, the identity facts that matter are the legal or trading name, the canonical URL, the logo, and links to the profiles that confirm you are the same business elsewhere (social accounts, marketplace stores, Wikidata). sameAs carries those links.
Google has no required properties for Organization and recommends adding as many relevant ones as apply. For online stores it recommends the most specific subtype: OnlineStore, which schema.org defines as an eCommerce site under OnlineBusiness and Organization.
We parse the JSON-LD on your homepage and pass the check when any node has one of these types: Organization, OnlineStore, OnlineBusiness, Store, LocalBusiness, Corporation or WebSite. We also count JSON-LD blocks that fail to parse.
How to fix it
Check what your homepage already has
Many themes and SEO plugins output Organization or WebSite markup. Look before adding a second, conflicting block.
shellcurl -sL https://your-domain.com/ | grep -o '"@type" *: *"[A-Za-z]*"' | sort | uniq -cAdd an OnlineStore block
Place it in the
<head>or<body>of the homepage. Use absolute URLs. The logo must be at least 112 x 112 px, crawlable, and in a format Google Images supports.HTML<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "OnlineStore", "@id": "https://your-domain.com/#organization", "name": "Example Linen Co.", "url": "https://your-domain.com/", "logo": "https://your-domain.com/assets/logo-512.png", "description": "Linen bags, aprons and table linen made in Portugal.", "email": "[email protected]", "sameAs": [ "https://www.instagram.com/examplelinen", "https://www.facebook.com/examplelinen" ], "contactPoint": { "@type": "ContactPoint", "contactType": "customer service", "email": "[email protected]" } } </script>Optionally add a WebSite block
A
WebSitenode withnameandurlstates the site name you want shown. Link it to the store withpublisher.JSON{ "@context": "https://schema.org", "@type": "WebSite", "name": "Example Linen Co.", "url": "https://your-domain.com/", "publisher": { "@id": "https://your-domain.com/#organization" } }Add it through your platform
On Shopify, add the script to the theme layout or homepage section, or use an app that outputs it; check first whether your theme already does. On WordPress, most SEO plugins have an organization or site representation setting that outputs this markup. Avoid two plugins writing the same block.
How to verify
Run the free check at citeto.com/check. The Organization schema item lists the types we found and any JSON-LD parse errors.
Paste your homepage URL into Google’s Rich Results Test or the Schema Markup Validator and confirm the Organization or OnlineStore item has no errors.
Common pitfalls
Invalid JSON: a trailing comma or an unescaped quote makes the whole block unreadable. Validate after every edit.
A logo URL that points to an SVG behind a CDN rule blocking crawlers, or to an image smaller than 112 x 112 px.
sameAslinks to profiles you do not control, or to share URLs instead of profile URLs.Different names in the Organization block, the title tag and Open Graph
og:site_name.
FAQ
Google recommends the most specific schema.org subtype that matches. For a store that sells online, that is OnlineStore. Organization still works and passes our check.
No. Google recommends placing it on the homepage or a single page such as About us.
Google supports JSON-LD, Microdata and RDFa and recommends JSON-LD where your setup allows it. Our check reads JSON-LD only.