Add product JSON-LD to Wix (for developers and for your AI agent)
The exact, verified way to put AI-search JSON-LD on a Wix product page — server-side, and multilingual. Do it yourself with the steps below, hand the runbook to your AI agent, or let Store Operators do it for you.
The Wix JSON-LD flow at a glance (illustrative diagram).
For a developer
Enable Dev Mode (Velo). In the product page's code, call `wixSeoFrontend.setStructuredData([...])` inside `$w.onReady()` — Wix renders it for crawlers.
Alternative: an installed Wix App can inject via the Embedded Scripts REST API (app-only — requires an authorized app, not a plain owner key).
Per language: Wix Multilingual + the wix-seo per-language APIs — set the matching locale's structured data.
Wix Multilingual + wix-seo per-language APIs; set each locale's structured data.
View source / SEO preview per locale: the JSON-LD is present.
The exact code
Prompt for your AI agent — connect Wix & implement
A complete copy-paste prompt for your own AI agent (Claude / ChatGPT). It tells the agent how to connect to your Wix store and implement the JSON-LD for you — with safe-write discipline: backup, preview, verify, and your approval before publishing.
You are helping me add AI-search JSON-LD to ONE product on my Wix store, safely.
SAFETY (follow exactly, in order):
1. Back up first: duplicate the current theme (or export it) BEFORE any write. No exceptions.
2. Work on an UNPUBLISHED copy / preview — never edit the live theme directly.
3. Use a least-privilege token: only the scopes the task needs.
4. After each change, VERIFY (fetch the page, confirm the JSON-LD renders and is valid).
5. Do NOT publish. Show the human the preview and the verification, and let the human approve the publish.
6. Keep the rollback ready: if anything looks wrong, restore the backed-up theme.
CONTEXT: Product URL: https://your-store.example/product/your-product. Store locales: your primary language.
ACCESS:
Wix Dev Mode (Velo) enabled on the site, or an installed & authorized Wix App for the Embedded Scripts API.
TASK:
1. Enable Velo Dev Mode.
2. On the product page, call wixSeoFrontend.setStructuredData([...]) inside $w.onReady().
3. Set the matching locale's structured data (Wix Multilingual), preview, verify, then have the human publish.
JSON-LD to inject:
{}
Questions people ask their AI
What is the prompt to connect Claude to Wix to add product JSON-LD?
Use the runbook on this page — paste it into Claude. It connects to your Wix store with your own credentials and adds the schema.org JSON-LD, with backup, preview, verification and your approval before publishing.
How do I connect ChatGPT to my Wix store to add schema.org JSON-LD?
The same runbook works for ChatGPT (or any capable AI agent): it authenticates to your store and injects the JSON-LD server-side, safely, and stops for your approval before publishing.
Can an AI agent add product JSON-LD to Wix for AI search (ChatGPT, Perplexity, Google AI)?
Yes — server-side (client-side-only JavaScript is not reliably seen by AI crawlers). Do it with the agent runbook here, hand it to a developer, or have Store Operators do it for you.