We've always been fans of Sanity CMS, and we've seen some folks struggling to integrate it with AB testing and content personalization tools.
Got us thinking: since Croct is also headless, why not make that kind of plug-and-play? 💡
We decided to start with Next.js templates, so now you can get all those features working with any Next.js + Sanity website in just one command:
npx croct@latest use croct://integration/sanity
Or, if you want a fully configured example for each use case:
npx croct@latest use croct://integration/sanity-ab-testing
npx croct@latest use croct://integration/sanity-personalization
If you're a developer working on Sanity projects, we'd really appreciate your thoughts on this! Let us know if this is helpful or if you'd like anything changed or added.
More about Croct templates: https://croct.com/templates