Check 15.01 · Schema.org structured data

Implement Organization and WebSite if appropriate

Declare your organization and your site in JSON-LD (Organization, WebSite) on WordPress, Shopify, PrestaShop, Drupal, Wix, Laravel, Next.js or Nuxt, then check.

Priority
Important
Difficulty
Intermediate
Estimated time
1 to 3 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Organization markup tells search engines who publishes the site: name, logo, contact details, legal identifiers, official profiles. WebSite markup gives the site name as it should appear in search results. Once the check is done, the home page carries a JSON-LD block with these two entities, each with a stable @id identifier that the site's other markup can reference.

Why it matters

A search engine crawling your site sees pages, not a company. It has to guess which logo represents you, whether “ACME” and “Acme SAS” are the same company, and which LinkedIn or YouTube accounts are official. Organization answers these questions explicitly.

Google documents two uses:

  • Organization: properties such as logo, address or sameAs help Google show the right administrative details, including the logo in search results and the knowledge panel. No property is required; Google recommends placing this markup on the home page or on the page that describes the organization.
  • WebSite: with name and url on the home page, it states the site name that Google shows above the link in search results. Without it, Google infers the name from the title, headings or other signals, and may get it wrong.

For generative engines, the effect is indirect. Google states that no specific schema.org markup is needed to appear in AI Overviews or AI Mode. OpenAI, Anthropic and Perplexity do not document how they use structured data. On the other hand, Organization markup consistent with the About page and external profiles reduces ambiguity about your identity, which helps every system that builds a representation of your company. No markup guarantees a citation.

“If appropriate”: a personal site or an independent consultant's site is described with Person rather than Organization. A business that receives the public uses a subtype of LocalBusiness (see Implement LocalBusiness if relevant (opens in a new tab)). An online store with no physical shop uses OnlineStore, which Google gives as an example.

What it improves

  • Site name in search results WebSite is the main signal Google documents for choosing the name shown.
  • Logo and knowledge panel logo may be used in search results and in the panel, with no guarantee.
  • Entity disambiguation legalName, sameAs, vatID or iso6523Code tie the site to the real company and its profiles. Useful for generative engines, not directly measurable.
  • Consistent markup Articles, products and services can refer to the organization by its @id instead of declaring it again.
  • Merchant policies A store can declare its shipping and return policies at the organization level.
  • Rankings No direct effect. Structured data is not a ranking factor.

How to check

List the types present in the home page HTML:

curl -s https://example.com/ | grep -o '"@type" *: *"[A-Za-z]*"' | sort | uniq -c

Expected result: at least one "@type": "Organization" line (or a subtype such as OnlineStore, Corporation, NGO) and one "@type": "WebSite" line. If Organization appears several times, two sources (theme and plugin) are probably producing competing blocks.

Then run the home page URL through the Rich Results Test: the item for the organization must appear without errors. The Schema Markup Validator shows the whole graph, WebSite included, and flags properties unknown to schema.org.

Check by hand that name is identical in Organization and WebSite, that url is the canonical home page URL (with or without www, over HTTPS) and that the logo URL returns a 200.

How to implement

Before you start

Choose the type. Organization by default; a more specific subtype if one exists (OnlineStore, NGO, EducationalOrganization, Corporation); Person for a personal site; a subtype of LocalBusiness for a place open to the public.

Gather the data in a table. Every value must already appear somewhere on the site, usually in the legal notice or on the About page:

Property Example Where it is visible
name Exemple Studio Header, legal notice
legalName Exemple Studio SAS Legal notice
url https://example.com/ Home page
logo https://example.com/logo-512.png Header
description Editorial design agency in Lyon About page
foundingDate 2014-03-01 About page
vatID FR12345678901 Legal notice
iso6523Code 0009:12345678900012 SIRET number in the legal notice
contactPoint +33 4 00 00 00 00, [email protected] Contact page
sameAs LinkedIn, YouTube, Wikidata profiles Footer

iso6523Code combines an issuing agency code (ICD) and the identifier: Google mentions 0060 (DUNS), 0088 (GLN) and 0199 (LEI). Code 0009 corresponds to the French SIRET number in the ISO 6523 list: check it before using it, or stick with vatID, which Google documents as is.

Logo: at least 112 × 112 pixels, in a format supported by Google Images, legible on a white background, at a URL that can be crawled and indexed. A 512-pixel square PNG works everywhere.

Identifiers. Give each entity a fixed @id built on the home page URL: https://example.com/#organization and https://example.com/#website. It is not an address to visit but a unique name that other markup reuses. Never change it afterwards (see Use stable @id values (opens in a new tab)).

Reference block, to place in the <head> or <body> of the home page:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Exemple Studio",
      "legalName": "Exemple Studio SAS",
      "url": "https://example.com/",
      "logo": {
        "@type": "ImageObject",
        "url": "https://example.com/logo-512.png",
        "width": 512,
        "height": 512
      },
      "description": "Editorial design agency in Lyon.",
      "foundingDate": "2014-03-01",
      "vatID": "FR12345678901",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "10 rue de l'Exemple",
        "addressLocality": "Lyon",
        "postalCode": "69002",
        "addressCountry": "FR"
      },
      "contactPoint": {
        "@type": "ContactPoint",
        "contactType": "customer support",
        "telephone": "+33-4-00-00-00-00",
        "email": "[email protected]",
        "availableLanguage": ["fr", "en"]
      },
      "sameAs": [
        "https://www.linkedin.com/company/exemple-studio",
        "https://www.youtube.com/@exemplestudio",
        "https://www.wikidata.org/wiki/Q00000000"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "name": "Exemple Studio",
      "alternateName": "Exemple",
      "url": "https://example.com/",
      "inLanguage": "fr-FR",
      "publisher": { "@id": "https://example.com/#organization" }
    }
  ]
}
</script>

Remove properties you have no value for rather than leaving them empty. alternateName is useful if the site is also known by an acronym or a short name. External profiles are covered in detail in Provide relevant sameAs links (opens in a new tab).

Good to know: Google supports site names only at the domain or subdomain level, not for a subdirectory such as example.com/blog/. WebSite goes on the domain's home page only. Organization can appear on every page, as most plugins do, but the home page is where it counts.

WordPress

Versions WordPress 6.4 and later; Yoast SEO 20 and later, Rank Math 1.0.x, November 2026.

Yoast SEO outputs Organization (or Person) and WebSite on every page. Configure them in Yoast SEO > Settings > Site representation: choose organization or person, enter the name, upload the logo, then add the profiles in the other profiles section. The site name and alternate name are set in Yoast SEO > Settings > Site basics. Depending on the version, additional fields (legal name, identifiers, founding date) are offered in the same section.

Rank Math: Rank Math SEO > Titles & Meta > Local SEO. Choose “Person” or “Organization”, then fill in the website name, alternate name, organization name, description, logo (at least 112 × 112 pixels), URL, email and address. The additional info field accepts legal name, founding date and tax identifiers.

Without an SEO plugin, add this code to a child theme's functions.php or to a code snippets plugin:

add_action('wp_head', function (): void {
    if (! is_front_page()) {
        return;
    }

    $home = home_url('/');

    $graph = [
        '@context' => 'https://schema.org',
        '@graph' => [
            [
                '@type' => 'Organization',
                '@id' => "{$home}#organization",
                'name' => get_bloginfo('name'),
                'url' => $home,
                'logo' => get_site_icon_url(512),
            ],
            [
                '@type' => 'WebSite',
                '@id' => "{$home}#website",
                'name' => get_bloginfo('name'),
                'url' => $home,
                'publisher' => ['@id' => "{$home}#organization"],
            ],
        ],
    ];

    echo '<script type="application/ld+json">'
        . wp_json_encode($graph, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG)
        . "</script>\n";
});

Do not use this code alongside an SEO plugin that already outputs these entities: you would end up with two competing organizations.

Shopify

Versions Online Store 2.0 Horizon and Dawn themes, Shopify admin, November 2026.

Shopify's free themes already output an Organization block in sections/header.liquid. They read the store name (Settings > General) and the logo from the theme settings (Online Store > Themes > Customize > Theme settings). Fixes are made in Online Store > Themes > … > Edit code, file sections/header.liquid, and differ by theme family. SEO apps from the Shopify App Store often add their own Organization: keep a single source.

Horizon and recent themes

Horizon, the default theme for new stores since 2025, and the themes derived from it only output a minimal Organization (name, logo, URL), with no sameAs and no WebSite block. Social links there are section blocks, not global settings: list your profiles by hand. Replace the Organization block with:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "@id": {{ shop.url | append: '/#organization' | json }},
  "name": {{ shop.name | json }},
  "url": {{ shop.url | append: '/' | json }},
  {%- if settings.logo %}
  "logo": {{ settings.logo | image_url: width: 512 | prepend: 'https:' | json }},
  {%- endif %}
  "sameAs": [
    "https://www.instagram.com/exemple-studio",
    "https://www.linkedin.com/company/exemple-studio"
  ]
}
</script>
{%- if request.page_type == 'index' %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": {{ shop.url | append: '/#website' | json }},
  "name": {{ shop.name | json }},
  "url": {{ shop.url | append: '/' | json }},
  "publisher": { "@id": {{ shop.url | append: '/#organization' | json }} }
}
</script>
{%- endif %}

The second block is only output on the home page.

Dawn and derived themes

Dawn outputs an Organization (name, logo, social links) and, on the home page, a WebSite block. It reads social links from the theme settings. Two flaws to fix: social links left blank produce empty strings in sameAs, and url takes the address of the current page. Replace the block with a complete version:

{%- assign social_links = settings.social_facebook_link | append: '|' | append: settings.social_instagram_link | append: '|' | append: settings.social_youtube_link | append: '|' | append: settings.social_tiktok_link | append: '|' | append: settings.social_twitter_link | split: '|' -%}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "@id": {{ shop.url | append: '/#organization' | json }},
  "name": {{ shop.name | json }},
  "url": {{ shop.url | append: '/' | json }},
  {%- if settings.logo %}
  "logo": {{ settings.logo | image_url: width: 512 | prepend: 'https:' | json }},
  {%- endif %}
  "sameAs": [
    {%- assign separator = '' -%}
    {%- for link in social_links -%}
      {%- if link != blank -%}{{ separator }}{{ link | json }}{%- assign separator = ',' -%}{%- endif -%}
    {%- endfor -%}
  ]
}
</script>

The loop skips empty links and only puts a comma between two filled-in profiles. If you add this block, delete the old Organization block from the same file, but keep the home page WebSite block.

PrestaShop

Versions PrestaShop 8 and 9, Classic and Hummingbird themes.

The Classic theme and Hummingbird, the default theme for new installations since PrestaShop 9.1, output Organization (name and logo), WebPage and, on the home page, WebSite in the same file, templates/_partials/microdata/head-jsonld.tpl. The home page WebSite block has no name property there, which Google requires for the site name. In a child theme, copy this file and add the line "name": "{$shop.name}", to the WebSite block, then complete Organization with @id, sameAs and contact details. Clear the cache in Advanced Parameters > Performance.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9.

First check what your theme and extensions output. To add the reference block without touching code, open Content > Design > Configuration, edit the store view, then paste the JSON-LD into HTML Head > Scripts and Style Sheets. This field applies to every page: that is acceptable for Organization, but WebSite should only appear on the home page. To restrict it to the home page, use a cms_index_index.xml layout block in your theme. Flush the cache (System > Cache Management).

Drupal

Versions Drupal 10 and 11, Metatag 2 and Schema.org Metatag 2.6 or 3.x modules.

Install Metatag and Schema.org Metatag (composer require drupal/schema_metatag), enable them, then open Configuration > Search and metadata > Metatag (/admin/config/search/metatag). In the “Front page” configuration, fill in the Schema.org Organization and Schema.org WebSite tabs, using tokens ([site:name], [site:url]) rather than typed values. Clear the caches (drush cr).

Wix

Versions Wix Editor and Wix Studio, all plans, November 2026.

Wix adds its own structured data depending on the features you use. To declare the organization, open the home page in the editor, then the page's SEO settings, Advanced SEO tab, structured data markup section, and add the reference block. Wix limits each markup to 7,000 characters and five markups per page, in JSON-LD format only; dynamic pages do not accept it.

Squarespace

Versions Squarespace 7.1, plans with code injection, November 2026.

First check what Squarespace generates on the home page with the Schema Markup Validator. To add to it, paste the reference block into the home page's code injection (page settings, Advanced, page header code injection). Code injection depends on the plan. Avoid declaring a second Organization if the platform already outputs one: align the site information instead (Settings > Business information).

Webflow

Versions Webflow, paid site plans, November 2026.

Open the home page settings (Page settings), Custom code section, Inside <head> tag field, paste the reference block, save and publish. Page-level custom code requires a paid site plan.

Laravel

Versions Laravel 11 to 13, spatie/schema-org 3 to 5 (version 5 requires PHP 8.4).

Build the graph in PHP and render it in the home page view. With the spatie/schema-org package (composer require spatie/schema-org):

use Spatie\SchemaOrg\Graph;

$graph = new Graph();

$graph->organization()
    ->setProperty('@id', url('/#organization'))
    ->name(config('app.name'))
    ->url(url('/'))
    ->logo(asset('logo-512.png'))
    ->sameAs([
        'https://www.linkedin.com/company/exemple-studio',
    ]);

$graph->webSite()
    ->setProperty('@id', url('/#website'))
    ->name(config('app.name'))
    ->url(url('/'))
    ->publisher(['@id' => url('/#organization')]);

In the home page Blade view: {!! $graph->toScript() !!}. Without a package, encode a PHP array:

<script type="application/ld+json">
{!! json_encode($schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG) !!}
</script>

JSON_HEX_TAG prevents a value containing </script> from breaking the page.

Symfony

Versions Symfony 7.4 and 8, Twig 3.

Prepare the array in the home page controller and output it in the Twig template:

<script type="application/ld+json">
{{ schema|json_encode(constant('JSON_UNESCAPED_SLASHES') b-or constant('JSON_UNESCAPED_UNICODE') b-or constant('JSON_HEX_TAG'))|raw }}
</script>

Next.js

Versions Next.js 15 and 16 (App Router).

With the App Router, render the JSON-LD in app/page.tsx (home page), following the method documented by Next.js:

const jsonLd = {
  '@context': 'https://schema.org',
  '@graph': [
    {
      '@type': 'Organization',
      '@id': 'https://example.com/#organization',
      name: 'Exemple Studio',
      url: 'https://example.com/',
      logo: 'https://example.com/logo-512.png',
    },
    {
      '@type': 'WebSite',
      '@id': 'https://example.com/#website',
      name: 'Exemple Studio',
      url: 'https://example.com/',
      publisher: { '@id': 'https://example.com/#organization' },
    },
  ],
};

export default function Home() {
  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(/</g, '\\u003c') }}
      />
      {/* page content */}
    </>
  );
}

Use a native <script> tag, not next/script. The schema-dts package lets you type these objects in TypeScript.

Nuxt

Versions Nuxt 4 (same code on Nuxt 3, end of life since July 2026); Nuxt Schema.org module 7, which requires Nuxt 4.6 or later.

In the <script setup lang="ts"> block of pages/index.vue:

useHead({
  script: [
    {
      type: 'application/ld+json',
      innerHTML: JSON.stringify({
        '@context': 'https://schema.org',
        '@graph': [
          { '@type': 'Organization', '@id': 'https://example.com/#organization', name: 'Exemple Studio', url: 'https://example.com/' },
          { '@type': 'WebSite', '@id': 'https://example.com/#website', name: 'Exemple Studio', url: 'https://example.com/' },
        ],
      }),
    },
  ],
});

The Schema.org module from Nuxt SEO also generates these entities from an identity declared once; it needs server-side rendering.

Astro

Versions Astro 5 to 7.

In src/pages/index.astro, after defining the schema object in the component frontmatter:

<script type="application/ld+json" set:html={JSON.stringify(schema)} />

Common mistakes

  • Two competing Organization entities: the theme and the SEO plugin each output one, with different names or logos.
  • WebSite on every page with the page URL: url must be the canonical home page, and the block belongs only on the home page.
  • Different names in WebSite, Organization, the home page title and the logo: Google may then choose another site name.
  • Inaccessible or unsuitable logo: URL blocked by robots.txt, returning a 404 after a redesign, image smaller than 112 pixels, or a white logo that is illegible on a white background.
  • Empty or invented properties: sameAs with empty strings, the address of a registered-office service not mentioned on the site, an approximate founding date.
  • A person marked up as Organization: an independent consultant describing themselves as a company without being one.
  • Markup added in JavaScript after page load without checking that it appears in the rendered HTML (see Check rendered structured data (opens in a new tab)).

Frequently asked questions

Should Organization markup be on every page?

No, Google only asks you to place Organization markup on the home page or on the page that describes the organization, such as the About page. Repeating it on every page is not an error, and most SEO plugins do so that articles and products can reference the organization by its @id. What matters is that there is only one organization, with the same values everywhere.

How do I change the site name Google displays?

Declare the name you want in WebSite markup on the home page, with the name and url properties, and optionally alternateName for an acronym. Use the same name in the home page title, the headings and Organization. Google takes it into account after recrawling the home page, which can take anywhere from a few days to a few weeks. It remains free to choose another name if the signals contradict each other.

Does Organization markup help you get cited by ChatGPT or Perplexity?

Nothing guarantees it. OpenAI and Perplexity do not document how they use structured data, and Google states that no specific markup is required for its AI features. Accurate Organization markup, consistent with the About page and official profiles, reduces ambiguity about your identity, which helps the systems that use it. It is a complement, not a lever for getting cited.

Is the SearchAction search box still useful?

Not for Google: the sitelinks search box has no longer been shown since November 21, 2024. Google says there is no need to remove existing SearchAction markup, which causes no errors or problems. If you remove it, keep the WebSite block with name and url, which is still used to determine the site name shown in search results.

Updated on

Topic checklist (PDF)

And now?

In the “Schema.org structured data” topic

  1. Implement Organization and WebSite if appropriate
  2. Implement LocalBusiness if relevant
  3. Implement Person and ProfilePage
  4. Implement WebPage, AboutPage and ContactPage if useful
  5. Implement BreadcrumbList
  6. Implement Article, BlogPosting or NewsArticle
  7. Implement Product, ProductGroup and Offer to match the catalog
  8. Implement Service if relevant
  9. Implement Review/AggregateRating only if justified
  10. Implement FAQPage/HowTo only if relevant
  11. Implement VideoObject/ImageObject if useful
  12. Evaluate Event, JobPosting, SoftwareApplication, Recipe, Dataset and Course depending on the site
  13. Prefer JSON-LD
  14. Fill in required and recommended properties
  15. Use stable @id values
  16. Connect entities
  17. Provide relevant sameAs links
  18. Specify authors, publisher, dates and images
  19. Align markup with visible content
  20. Avoid fake reviews and misleading data
  21. Test with the Rich Results Test and Schema Markup Validator
  22. Monitor Search Console errors
  23. Automate validation after each deployment