Add personalization to Sanity without code
Personalization features for Sanity
Smart opt-in forms that adapt to context
Show different lead magnets based on what visitors are reading on your Sanity site. Hide opt-in forms from existing subscribers and show upgrade paths instead.
Increase conversion rates with contextually relevant offers.
Dynamic headlines, CTAs, and content
Personalize any text on your Sanity site based on visitor segments, traffic source, or behavior. Show relevant testimonials, case studies, and social proof.
No code required. Just add CSS classes to elements you want to personalize.
See in Action
Get a personalized demo with one of our . We'll show you how to based on what you've shared with us.
Collect zero-party data with quizzes and surveys
Embed quiz funnels and sureys on your Sanity site to learn about your visitors. Use their answers to personalize content and sync data to your email platform.
Build rich visitor profiles based on explicitly shared preferences.
Tips for using RightMessage with Sanity
- Add the RightMessage script to your frontend application that renders Sanity content
- If using a SPA framework, call RightMessage.reset() on route changes to re-apply personalizations
- Connect RightMessage to your email platform for subscriber-based personalization
- Personalize content overlays without changing your Sanity schema or content
- Use quizzes to segment anonymous visitors before they subscribe
Connect with your email platform
RightMessage connects with popular email platforms to personalize your Sanity site based on subscriber data.
Real results from RightMessage users
- $650,000 Additional launch revenue
- 35,000 Segmented contacts
- 88% Increased sales page conversions
- 62% sales from new leads
- 200,000 data points collected
Ready to personalize your Sanity site?
Start your free 14-day trial and connect Sanity in minutes.
Frequently asked questions
How does RightMessage work with Sanity?
Sanity is a headless CMS that delivers content via GROQ queries. RightMessage adds personalization to your frontend application. Your Sanity content stays unchanged while RightMessage personalizes how it appears to different visitors.
Does RightMessage change my Sanity content?
No. RightMessage works client-side on your frontend. It can show, hide, or modify rendered content based on visitor segments, but your source content in Sanity stays the same.
How do I handle SPA navigation with RightMessage?
Most Sanity sites use frameworks like Next.js or Nuxt. Call RightMessage.reset() on route changes to re-apply personalizations after client-side navigation. Check our SPA guide for implementation details.
Can I use Sanity to manage personalization variants?
You can store different content versions in Sanity and use RightMessage to choose which to show. Or use RightMessage's visual editor to create personalizations without touching Sanity at all.
Does personalization work with Sanity's real-time preview?
Yes. RightMessage runs on any frontend where the script is loaded. Preview your personalizations in Sanity's preview environment before publishing.
How do I add RightMessage to my Sanity site?
Add a small JavaScript snippet to your Sanity site, similar to adding Google Analytics. In most cases, this means pasting the code in your Sanity site settings or header section. Installation typically takes 5 minutes or less.
Can I personalize without writing code on Sanity?
Yes. RightMessage works with Sanity's visual editor. Just add CSS classes to elements you want to personalize, then configure the rules in RightMessage's visual interface. No coding required.
Will RightMessage slow down my Sanity site?
No. The RightMessage script loads asynchronously and doesn't block page rendering. Personalizations are applied after the initial page load. The script is served from a global CDN and is highly optimized. Your Core Web Vitals and page speed scores remain unaffected.
What elements can I personalize on Sanity?
You can personalize any text, images, or content sections on your Sanity site. Common personalizations include headlines, CTAs, testimonials, case studies, pricing displays, and entire page sections. You can also show/hide elements and redirect visitors based on segments.
Does RightMessage work with Sanity's built-in forms?
RightMessage provides its own widgets (popups, slide-ins, inline forms, sticky bars) that you can embed on your Sanity site. You can also personalize Sanity's native forms by showing/hiding them based on visitor segments or personalizing the surrounding content.
Need detailed setup instructions? Read our Sanity integration guide →