CMS and site builders
Pertento for Sanity
A content backend with the front end left to you, which is how this very site runs Pertento.
One script tag · 0.9 KB · no cookiesAll integrations
Sanity is a content store queried at build time or at request time, so the install belongs to the front end rather than to Sanity. The tag goes in that application’s head. Statically built sites are worth a note: the pages are HTML on disk, so a variant is applied in the browser rather than baked into the build, and nothing about the deployment has to change for an experiment to start or stop. Where a test should change the content itself, query both documents and let the SDK choose.
How it connects
- Add the tag to the head of the site that queries Sanity.
- On a static build, expect variants to be applied client-side rather than at build time.
- For content tests, fetch both documents and decide with the SDK.
More in CMS and site builders
All integrations