Your Sanity site, cited by AI search.
Sanity holds your content as structured documents; your front end turns them into pages AI crawlers can read, or can’t. Citable measures whether AI cites you, finds the gaps and creates sourced articles as documents of your type, with the body in Portable Text.
Why AI cites (or skips) Sanity sites
Sanity is headless: your front end (often Next.js with next-sanity, or Astro, Remix, Nuxt…) queries documents with GROQ and renders them. Most AI crawlers don’t run JavaScript, so a page rendered on the server or generated statically gives them the full article, and a page that queries Sanity from the browser gives them an empty shell.
Once the pages are readable, what decides whether AI cites you is whether they answer your buyers’ questions. Citable measures that every week, shows who gets cited instead, and writes the documents that fill the gap.
What gets in the way on Sanity
Citable’s weekly audit checks your public site from outside, the way AI crawlers see it, and tells you what to change.
01
Documents queried in the browser
If the article is fetched with the Sanity client after the page loads, crawlers that don’t run JavaScript don’t see it. Query on the server or at build time.
02
Portable Text blocks your front end skips
Portable Text is rendered by your own components. A block type without a component (an image, a quote) is silently left out. Citable writes headings, bold, italics, links, lists, quotes and images; check your serializer handles each one. Tables arrive as lists, since Sanity has no standard table type.
03
Drafts and published documents mixed up
Drafts are documents whose ID starts with drafts. If your public queries use a token that can read drafts, unfinished text can end up on the live site; if your sitemap reads only drafts, published articles are missing. Use the published perspective for public pages and the sitemap.
04
New documents missing from the sitemap
A sitemap built at deploy time doesn’t list documents published later. Revalidate it from a Sanity webhook on publish, or generate it on request.
Connect Sanity to Citable
Takes a few minutes. Every article then arrives in your CMS, as a draft or published on its own, depending on how you set publishing.
- 1
Create your Citable account and add your site: website, competitors and buyer questions.
- 2
Open Settings → CMS for that site and choose Sanity.
- 3
In sanity.io/manage, open your project → API → Tokens and add one with the Editor role.
- 4
Paste it in Citable with the project ID and the dataset.
- 5
Choose the document type and check the field mapping.
- 6
In the same tab, choose how articles get published: scheduled with an approval window, or Drafts only.
What you need
- A Sanity project, its project ID and the dataset
- An API token with the Editor role (write access)
What Citable publishes on Sanity
Draft or live
Arrives as a draft (a drafts. document, as in Studio) unless automatic publishing is on (it is by default, with its approval window). If there’s a draft, updates go to it. You can unpublish from Citable for 7 days.
One-click unpublish from Citable for 7 days
Fields we fill
- Whatever fields your document type has, mapped once (we detect them from your existing documents; a type with no documents gets the fields of Sanity’s blog template)
- Body in Portable Text: headings, bold, italics, links, lists, quotes and images; tables become lists (Sanity has no standard table type)
- Slug as a slug field
- Images (main and in the article): uploaded as image assets
Citable on Sanity: questions
What people ask before they start. If something’s missing, write to us.
Write to usDoes my schema need specific fields?
No. We detect the fields from your existing documents and you map them once. A type with no documents yet gets the fields of Sanity’s blog template.
Which token does Citable need?
An API token with the Editor role (write access) from sanity.io/manage → your project → API → Tokens, plus the project ID and the dataset. It is stored encrypted.
Do articles go live straight away?
They arrive as drafts (drafts. documents, as in Studio) unless automatic publishing is on, which it is by default with an approval window. You can unpublish from Citable for 7 days.
Will ChatGPT read my Sanity site?
If your front end renders documents on the server or statically, yes, unless robots.txt or a noindex blocks it. Citable’s weekly audit checks your live pages from outside.
Can Citable promise AI will cite my site?
No, and nobody can. Citable measures every week how often each AI mentions and cites you, with a confidence range, publishes sourced articles for the gaps and shows when a published URL starts being cited.
See what AI says about you before connecting anything.