How to Add Schema Markup to Wix

Developer adding JSON-LD schema markup to a Wix website

By Michael Andrews | Published: 2026-02-10 | Updated: 2026-08-17 | 14 min read

A practical step-by-step guide to adding JSON-LD schema markup to Wix websites using Custom Code. Covers LocalBusiness, FAQ, Article schemas, validation, and the mistakes that break them.

Schema markup is one of the most underutilised SEO opportunities on Wix websites. When implemented correctly, structured data can unlock rich results — star ratings, FAQ dropdowns, breadcrumbs, product details — that meaningfully increase your click-through rates from Google without needing to rank any higher. This guide walks through the actual process of adding JSON-LD schema to a Wix site, step by step, with a worked example you can adapt and the validation steps to confirm it works.

What Is Schema Markup and Why Does It Matter?

Schema markup is code in JSON-LD format that you add to your web pages to help search engines understand your content. It does not change how your page looks to visitors. It tells Google what your content means — not just what it says.

When Google understands the meaning behind your content, it can display it as a rich result: a search listing with extra visual elements like star ratings, FAQ expandables, business hours, price ranges, or breadcrumb trails. These enhanced listings take up more space on the results page and attract more clicks than plain blue links at the same position.

JSON-LD (JavaScript Object Notation for Linked Data) is Google's preferred format for structured data. It sits in a script block in your page's HTML head and is invisible to visitors. You do not need to be a developer to use it — you need to understand what each property means, paste the right block into the right place, and validate it.

Pages with structured data are eligible for rich results that can meaningfully increase click-through rates compared to standard blue links at the same ranking position — Why it matters

The 7 Most Important Schema Types for Wix Websites

  1. LocalBusiness — for any business serving local customers. Triggers business panels with address, phone, hours, and map pins.
  2. Article / BlogPosting — for blog posts and news content. Helps Google surface articles in Top Stories and news carousels.
  3. FAQPage — for FAQ sections. Triggers expandable question-and-answer dropdowns directly in search results.
  4. BreadcrumbList — for site navigation. Shows the page hierarchy path in search results instead of the raw URL.
  5. Product — for eCommerce product pages. Can display price, availability, and review stars in search.
  6. Review / AggregateRating — for businesses with customer reviews. Shows star ratings alongside your search listing.
  7. Person — for author profiles and personal brand sites. Helps Google connect content to a known individual.

Expert Tip: Pick the single most specific schema type for each page. A product page gets Product schema, not Article. A blog post gets BlogPosting, not LocalBusiness. Using multiple conflicting types on one page confuses Google's parser.

How to Add Schema Markup to Wix: Step by Step

Wix supports JSON-LD structured data through its Custom Code feature. This is the recommended method for adding schema because it injects the code directly into the page's HTML head, exactly where Google expects to find it. Here is the process:

  1. Open your Wix site dashboard (not the editor — the dashboard). Navigate to Settings, then Custom Code. This is the central place for all code snippets that Wix injects into your published pages.
  2. Click the button to add a new custom code snippet. You will see a text area where you paste your code.
  3. Paste your complete JSON-LD block. It must be wrapped in script tags with the type attribute set to application/ld+json. The full format is: opening script tag with type="application/ld+json", then your JSON object, then a closing script tag.
  4. Set the placement to Head. This is critical. Wix gives you three options: Head, Body - start, and Body - end. Always choose Head. While Google can technically read JSON-LD anywhere on the page, Head placement ensures it is parsed first by crawlers and avoids timing issues where the body has not finished loading.
  5. Choose which pages the code applies to. You can select All Pages or choose specific pages. This matters: LocalBusiness schema belongs on your homepage and contact page, not on every blog post. FAQ schema belongs only on pages that contain FAQ content. Article schema belongs only on blog posts.
  6. Set the code to load on each page load. Wix may offer options for when the code runs — you want it present every time the page loads, not triggered by a user action.
  7. Give the snippet a clear name (for example "LocalBusiness Schema - Homepage") so you can find it later, then save.
  8. Publish your site. Custom Code only takes effect on the published live site, not in the editor preview. This is one of the most common sources of confusion — if you test in the editor, you will not see your schema.

Common Mistake: Your site must be published and have a connected domain for Custom Code to work. Snippets added via Custom Code do not appear in the editor and cannot be tested in editor preview mode — you must check the published site.

Worked Example: LocalBusiness Schema

LocalBusiness is the most broadly useful schema type and a good starting point. Below is a complete, valid JSON-LD block you can adapt for your own business. Replace every value with your real details — name, address, phone number, opening hours, and coordinates.

The script block to paste into Wix Custom Code:

<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "LocalBusiness", "name": "Your Business Name", "description": "A one-sentence description of what your business does.", "url": "https://www.yourdomain.com", "telephone": "+44-1234-567890", "email": "[email protected]", "address": { "@type": "PostalAddress", "streetAddress": "123 High Street", "addressLocality": "Your Town", "addressRegion": "Your County", "postalCode": "AB1 2CD", "addressCountry": "GB" }, "geo": { "@type": "GeoCoordinates", "latitude": 51.5074, "longitude": -0.1278 }, "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"], "opens": "09:00", "closes": "17:30" } ], "image": "https://www.yourdomain.com/your-logo.png", "priceRange": "££" } </script>

Required fields that Google needs to display a rich result: name, address (with streetAddress, addressLocality, postalCode, and addressCountry). Optional but strongly recommended: telephone, geo coordinates (get these from Google Maps — right-click your business location and copy the coordinates), openingHoursSpecification, image, and priceRange.

Expert Tip: Get your exact latitude and longitude from Google Maps: search for your business, right-click the pin, and the coordinates appear at the top of the menu. Copy them directly into the geo block.

How to Check It Worked

Adding the code is only half the job. You need to verify that Google can actually parse it. There are three checks to run, and all must be done on the published live site — never the editor preview.

  1. Google Rich Results Test (search.google.com/test/rich-results): paste your published page URL. If your schema is valid and eligible for rich results, Google will show a green tick and list which rich result types were detected. If there are errors — missing required fields, invalid property types — they will be listed with specific descriptions. Fix every error before moving on.
  2. Schema Markup Validator (validator.schema.org): paste the same URL. This tool checks technical correctness against the full schema.org specification, not just Google's subset. It catches issues the Rich Results Test may not flag, such as deprecated properties or incorrect value types.
  3. View Page Source: on your published site, right-click and select View Page Source (or press Ctrl+U / Cmd+U). Press Ctrl+F and search for application/ld+json. You should find your JSON-LD block exactly as you pasted it. If it is not there, the Custom Code snippet is either not saved, not set to the right pages, or the site has not been republished since you added it.

A pass looks like this: the Rich Results Test shows green ticks for the schema types you added, all required fields are present, and View Page Source shows your JSON-LD block in the head. A fail looks like this: the Rich Results Test shows red error icons, lists missing required fields or invalid value types, or your JSON-LD block does not appear in the page source at all.

What Goes Wrong: Common Schema Mistakes on Wix

These are genuine faults that break schema implementations on Wix sites. Each one has caused real problems on sites that came through for audits.

FAQ Schema: The Easiest Win in Wix SEO

FAQ schema is the single easiest rich result to implement and often the most impactful. Adding FAQPage schema to pages with genuine FAQ sections can trigger expandable questions directly in Google's search results, effectively doubling your real estate on the SERP without needing a higher ranking.

The process is identical to the LocalBusiness example above: create a JSON-LD block with @type set to FAQPage, list each question and answer as a Question object inside the mainEntity array, paste it into Custom Code with Head placement, and apply it only to the specific page that contains those FAQs. Do not apply FAQ schema sitewide unless every page has FAQ content.

Frequently Asked Questions

How do I add JSON-LD schema to my Wix website?

In your Wix site dashboard, go to Settings then Custom Code. Click to add a new snippet, paste your JSON-LD script wrapped in script tags with type application/ld+json, set placement to Head, choose which pages it applies to (all pages or specific pages), and save. Custom Code only runs on the published site — you must publish and check the live URL to verify it works.

Should I put JSON-LD in the Head or Body on Wix?

Always Head. While Google can read JSON-LD anywhere, Head placement ensures it is parsed before page content renders and avoids timing-dependent issues. Wix Custom Code gives you the choice — always select Head.

Does Wix automatically add schema markup?

Yes. Wix auto-generates basic schema including WebSite and Organization types. If you add your own Organization schema via Custom Code, you may end up with duplicate blocks. Check your published page source for existing auto-generated schema before adding your own.

How do I test if my Wix schema markup is working?

Use three tools: (1) Google Rich Results Test at search.google.com/test/rich-results for rich result eligibility, (2) Schema Markup Validator at validator.schema.org for technical correctness, and (3) View Page Source on your published site to confirm the JSON-LD block is present in the head. All checks must be on the live published URL, not the editor preview.

Can I add different schema to different pages on Wix?

Yes. When adding Custom Code in the Wix dashboard, you choose whether to apply the code to All Pages or to specific pages. LocalBusiness schema goes on your homepage and contact page. Article schema goes only on blog posts. FAQ schema goes only on pages with FAQ content. Applying page-specific schema sitewide is a common mistake.

Where to Go from Here

Schema markup is not a magic switch. Adding it does not guarantee rich results — Google decides which results to enhance and when. What schema does is make your content eligible for those enhancements. Without it, you are not even in the running.

Start with the single most relevant schema type for your business. For most Wix sites, that is LocalBusiness for the homepage and FAQPage for any page with genuine questions and answers. Add one, validate it, confirm it appears in Google Search Console's Rich Results report (this can take days to weeks after publishing), and then move on to the next type.

If you are unsure which schema types your site needs, or you want to check whether your existing schema is valid, get in touch for a structured data audit. No guesswork — just a clear report of what is working, what is broken, and what is missing.

Get a Free Wix SEO Consultation | Back to Blog