Practical guide · Inspeccia

Where to add your business JSON-LD

The card in your report is a structured-data block written as JSON-LD. It does not go inside the visible text of a page and it will not change your website’s design. You install it once in the site-wide code, normally before the closing </head> tag.

Short answer

Copy the complete block, from <script> through </script>, and place it in your site-wide head. If another Organization or LocalBusiness block already describes the same business, do not add a duplicate: replace it or merge the fields.

Google says structured data provides explicit clues that help it understand a page, and recommends JSON-LD because it is generally the easiest format to implement and maintain. That does not make it a ranking shortcut: a correct card can clarify your name, website, phone, hours and official profiles, but it cannot guarantee a position or a recommendation.

Before you paste it: four checks

  • Complete real information only. Replace text such as “YOUR PHONE” and remove fields that do not apply.
  • Never invent an address. If customers do not visit a public location, do not publish a private address merely to complete the schema.
  • Use official profiles in sameAs. Do not include directories, competitors or profiles you do not control.
  • Look for an existing block. In your homepage source, search for application/ld+json and your business name.

Choose your website platform

WordPress and WooCommerce

The simplest route is a header-code manager. WooCommerce follows the same process.

  1. In your WordPress dashboard, first check whether your SEO plugin already manages your company schema.
  2. If it does not, install and activate a header-code plugin such as WPCode.
  3. Go to Code Snippets → Header & Footer and paste the full card into Header.
  4. Save, clear your cache if you use a cache plugin, and validate the published homepage.

WooCommerce: keep the Product, price, availability and review data generated for your store. The Inspeccia card replaces or completes business identity; it should not remove each product’s schema.

WordPress.com

This is different from WordPress installed on your own hosting.

  1. Confirm that your plan allows header code. WordPress.com documents this feature for Personal, Premium, Business and Commerce plans.
  2. Install and activate Insert Headers and Footers by WPCode.
  3. Open Code Snippets → Header & Footer, paste the block into Header, and save.
  4. Open the published website — not only the editor — and run the final validation.

Free WordPress.com sites restrict <script> tags. Do not paste the card into a visible content block: the editor may remove it or display it as text.

Shopify

Business identity belongs in the theme’s global layout.

  1. Duplicate your theme before editing it, so you have a clean rollback copy.
  2. Go to Online Store → Themes → … → Edit code.
  3. Open Layout → theme.liquid and find </head>.
  4. Paste the card immediately before that line, save, and check the published storefront.

Do not remove product schema generated by Shopify or an app. After a theme update or theme switch, confirm that the block is present in the newly published theme.

Wix

Wix provides a dedicated area for invisible, site-wide code.

  1. Make sure the site is published and has a connected domain.
  2. In the dashboard, open Settings → Development & integrations → Custom Code.
  3. Click + Add Custom Code, paste the block and name it “Business identity”.
  4. Choose All pages, load it on each page, select Head, and click Apply.

Do not use a visible embed or the “Header Code Meta Tags” area: that area accepts meta tags, not JSON-LD scripts. Use Custom Code.

Squarespace

Site-wide code injection places the card in <head> on every page.

  1. Open your site’s Code Injection panel.
  2. Paste the complete block into the Header field.
  3. Save and review the public website in a new window.

Code Injection is available on selected plans. Squarespace already produces some structured data, so search its JSON-LD blocks for your business name before adding an equivalent one.

Webflow

Use site-wide custom code, not a visible element in the Designer.

  1. Go to Site settings → Custom code.
  2. Paste the card into Head code. Do not wrap it in extra <html>, <head> or <body> tags.
  3. Click Save changes and publish the site again.
  4. Check the public URL: custom-code changes are not live until you publish.

Custom HTML or a custom-built website

Find the shared file that creates the head across your pages.

  1. Open the template, layout or component containing <head> and </head>.
  2. Paste the complete block immediately before </head>.
  3. Deploy the change and confirm it appears in the homepage source.

React, Next.js, Laravel and other frameworks use different files, but the rule is the same: the block should appear in the public page HTML. Avoid Google Tag Manager when you can edit the layout directly; direct markup is simpler and does not depend on another system executing JavaScript.

Another platform

Search its settings for “Custom code”, “Code injection”, “Header code”, “Head” or “Integrations”.

  1. Choose an option that applies code across the site, not a content block on one page.
  2. Select Head or “before </head>”.
  3. Paste the complete block, publish, and validate the real URL.

A precise support request is: “I need to replace my site’s Organization or LocalBusiness JSON-LD with this block, load it site-wide in the HTML, and avoid creating a duplicate.”

How to check that it works

  1. Publish first. Validators cannot read a draft or private preview.
  2. Open Google’s Rich Results Test. Paste your homepage URL and run the test.
  3. Review the facts. Name, domain, phone, hours and address —when applicable— must be real and match the website.
  4. Inspect the URL in Search Console. Once it is correct, request indexing for the homepage.
The rule that prevents problems

One identity, complete and consistent. Two blocks describing the same business with different names, phones or addresses are worse than one short but accurate block.

What it can help with —and what it cannot do

The card turns scattered facts into named fields: “this is a business”, “this is its official website”, “this is its phone number” and “these are its official profiles”. Google says it uses structured data to understand page content and gather information about businesses and other entities.

Google’s AI documentation also draws an important line: there is no special schema that guarantees inclusion in AI Overviews or AI Mode. The card is an identity and consistency layer, not a direct pass. It needs to sit alongside useful visible content, indexability, external mentions and matching public information.

Frequently asked questions

Where exactly should I paste JSON-LD?

The simplest option is to paste the complete block, including its opening and closing tags, into your site-wide code before the head closes. That makes it available across the site. Google also accepts JSON-LD inside the page body, but the global head is usually easier to maintain.

Will the JSON-LD card appear on the page?

No. It is machine-readable information: it does not add visible text, buttons or design elements. After publishing, you can confirm it in the page source or with a validation tool.

What if my website already has structured data?

Do not add another equivalent card without checking. If an Organization or LocalBusiness block already describes your business, update or merge that block. Keep Product, Article, Breadcrumb and other types that describe different content.

Does JSON-LD guarantee better Google rankings or AI recommendations?

No. Structured data can help systems interpret identity and content, but it does not guarantee rankings, rich results or recommendations. Google also states that there is no special schema for appearing in AI Overviews or AI Mode.

When should I update the card?

Whenever your name, domain, public phone number, opening hours, public address or official profiles change. The card must match information a visitor can verify on your website.

Official sources consulted

  1. Google Search Central — Introduction to structured data, LocalBusiness and AI features and your website.
  2. WordPress.com — Add code to headers.
  3. Shopify — Editing theme code.
  4. Wix — Embedding custom code.
  5. Squarespace — Using code injection.
  6. Webflow — Custom code in head and body tags.

Does AI understand who your business is?

Inspeccia compares what your website says with what Google and AI tools find, then gives you concrete corrections.

Analyze my website free →