Skip to main content
Adding JSON-LD schema markup to Wix using Custom Code
Module 6·Lesson 4 of 25·35 min read

How to add JSON-LD schema markup to any Wix page using Custom Code

Wix does not have a built-in schema editor, so you need to use the Custom Code feature in Wix Settings. This step-by-step lesson shows you exactly how to add any JSON-LD schema to any page or site-wide.

What you will learn in this Wix SEO lesson

  • Navigating to Custom Code in Wix Settings
  • Adding page-specific vs site-wide schema code
  • The correct placement: head vs body vs end of body
  • Testing your implementation with Rich Results Test
  • Updating and managing schema code in Wix over time

This is the most technically important lesson in the entire course. Every structured data type covered in subsequent lessons relies on this foundation: how to add JSON-LD code to your Wix site using the Custom Code feature.

Finding Custom Code in Wix

Navigate to Custom Code in Wix

  1. 1Log in to your Wix dashboard
  2. 2Go to Settings in the left sidebar
  3. 3Scroll down to "Advanced" and click "Custom Code"
  4. 4You will see three tabs: Head, Body Start, Body End
  5. 5For SEO schema markup, always use the "Head" section

Adding Site-Wide vs Page-Specific Schema

Wix Custom Code lets you add code to: All pages (site-wide), specific pages only, or all pages except specific pages. For Organization or LocalBusiness schema (which describes your whole business), add it site-wide. For FAQ schema on a specific service page, add it to that page only.

Adding Your First JSON-LD Block

Step-by-step: adding schema to Wix

  1. 1Go to Settings > Custom Code > Head
  2. 2Click "+ Add Custom Code"
  3. 3Name the code snippet (e.g. "Organization Schema")
  4. 4In the code field, paste your JSON-LD code (wrapped in <script> tags)
  5. 5Under "Add Code to Pages", choose "All Pages" for site-wide schema or specific pages
  6. 6Under "Place Code in", choose "Head"
  7. 7Click Apply and then publish your site
  8. 8Test the implementation at search.google.com/test/rich-results
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Business Name",
  "url": "https://www.yourdomain.com"
}
</script>

Always Test First

Before publishing any schema code on your live Wix site, paste the JSON-LD (without the script tags) into validator.schema.org to check for errors. Then test the live URL in search.google.com/test/rich-results after publishing.


Complete How-To Guide: Adding JSON-LD Schema to Any Wix Page

This step-by-step guide covers the entire process of creating, validating, and deploying JSON-LD schema markup on your Wix site using the Custom Code feature.

Follow these steps to add JSON-LD schema to any Wix page

  1. 1Write your JSON-LD code or generate it using a tool like technicalseo.com/tools/schema-markup-generator
  2. 2Validate the code by pasting it into the Rich Results Test at search.google.com/test/rich-results before adding to Wix
  3. 3In your Wix Dashboard go to Settings > Custom Code (under Advanced)
  4. 4Click Add Custom Code at the top right
  5. 5Paste your complete JSON-LD code including the script tags into the code box
  6. 6Name the code snippet descriptively like Homepage Organization Schema
  7. 7Set Place Code In to Head
  8. 8Under Pages choose whether to apply it to All Pages (for site-wide schema like Organization) or Specific Pages Only
  9. 9If applying to specific pages select the exact pages from the dropdown
  10. 10Click Apply and then publish your Wix site
  11. 11Return to the Rich Results Test and enter your live page URL to verify the schema appears correctly
  12. 12Check Google Search Console Enhancements section after a few days to confirm Google has detected your schema
  13. 13Repeat for each schema type on your implementation plan

Final Checkpoint

Every schema snippet should pass the Rich Results Test with zero errors. Check GSC Enhancements within a week to confirm detection. If errors appear fix the code and republish.

Finished this lesson?

Mark it complete to track your course progress.

AI Lesson Tutor

AI Powered

Got a question about this lesson? Ask the AI tutor for a quick explanation or practical examples.

Module 6

Technical SEO, Structured Data & Rich Snippets for Wix

Wix site speed optimisation: a step-by-step Core Web Vitals guide45 min
Mobile SEO on Wix: common pitfalls and exactly how to fix them30 min
What is structured data? JSON-LD vs Microdata vs RDFa, which to use on Wix20 min
How to add JSON-LD schema markup to any Wix page using Custom Code35 min
Organisation and LocalBusiness schema: tell Google exactly who you are30 min
BreadcrumbList schema: how to implement breadcrumbs on Wix and get them in results28 min
FAQ schema on Wix: earn expanded FAQ rich results and dominate more SERP space32 min
HowTo schema on Wix: step-by-step rich results for tutorial and guide content30 min
Review and AggregateRating schema: star ratings in Google search results28 min
Article and BlogPosting schema: author, datePublished and E-E-A-T signals25 min
Product schema for Wix eCommerce: price, availability and rich product listings35 min
Event schema: show dates and event details directly in Google20 min
VideoObject schema: get your videos indexed and appearing in video rich results22 min
Testing and validating schema with Google's Rich Results Test and Schema.org validator18 min
Duplicate content, canonical tags and Wix pagination25 min
Wix JavaScript rendering: how Googlebot processes your Wix site differently28 min
Service, ProfessionalService and SameAs schema for Wix businesses25 min
301 redirects, crawl errors, hreflang and robots.txt on Wix30 min
Using ChatGPT, Claude and AI tools to generate schema, redirects and structured data for Wix35 min
SpeakableSpecification schema for voice assistants on Wix44 min
noai and noimageai robots meta tags: controlling AI content usage on Wix35 min
NLWeb protocol: making your Wix site queryable by AI agents28 min
Model Context Protocol: your Wix site as an MCP server32 min
Wix AI-generated structured data for blog posts: automatic schema markup24 min
Wix robots meta tags deep dive: controlling exactly how Google indexes every page26 min

Your Course Resources

11 downloadable PDFs -- checklists, templates, worksheets and your certificate

Course Progress0/561 lessons

Checklists

Wix SEO Audit ChecklistPDF

20-point site-wide audit covering technical, on-page, content and local SEO

On-Page SEO ChecklistPDF

37-point per-page checklist: titles, headings, content, images, links, schema

Technical SEO Deep-DivePDF

50-point technical audit: crawlability, Core Web Vitals, speed, security, Wix-specific

Local SEO Setup ChecklistPDF

42-point local checklist: Google Business Profile, NAP, citations, reviews, local links

Site Launch SEO ChecklistPDF

48-point pre-launch and post-launch guide for new Wix sites going live

Templates & Worksheets

Keyword Research TemplatePDF

Printable tracker with columns for volume, difficulty, intent, priority and notes

Monthly SEO Report TemplatePDF

Client-ready report covering traffic, rankings, technical health and action plan

Content Brief TemplatePDF

Plan every page: target keywords, outline, competitor analysis, internal links, CTAs

Backlink Outreach TrackerPDF

Campaign log with status tracking plus 3 proven outreach email templates

Competitor Analysis WorksheetPDF

14-metric comparison table, content gap analysis and SEO SWOT framework

Achievement

Certificate of CompletionLocked

Complete all lessons to unlock (0/561 done)

Lesson Tools

No part of this Wix SEO Course content may be reproduced, copied, or distributed without the written consent of Michael Andrews.

This lesson on How to add JSON-LD schema markup to any Wix page using Custom Code is part of Module 6: Technical SEO, Structured Data & Rich Snippets for Wix in The Most Comprehensive Complete Wix SEO Course in the World (2026 Edition). It covers Wix SEO optimization (US) and optimisation (UK) strategies applicable to businesses in the United Kingdom, United States, Australia, Canada, New Zealand, Ireland and worldwide. Created by Michael Andrews, the UK's No.1 Wix SEO Expert with 14 years of hands-on experience, 750+ completed Wix SEO projects and 425+ verified five-star reviews. This is lesson 53 of 561 in the most affordable, most comprehensive Wix SEO training programme available in 2026.