A template for adding firmographic personalization on a Sanity project.

Introduction

Looking to personalize your Sanity-powered site for target accounts using Demandbase data?

This template combines Sanity.io, Next.js, and Croct to adapt your content to an account's industry and company size in real time, using the firmographic data you activate from Demandbase.

It's the fastest way to launch account-based personalization on Sanity Studio with no CMS migration.

Using Croct, you get:

  • Firmographic personalization driven by Demandbase account data
  • Real-time audience evaluation with no extra integration work
  • Built-in analytics and Bayesian analysis for every experience
  • Seamless compatibility with your existing Sanity schemas

Prerequisites

To feed firmographic data into the audience, complete the Demandbase data activation first. Until data flows in, visitors keep seeing the default content.

What's included

Besides the Sanity integration itself, this template creates a personalized experience targeting mid-market financial services accounts, using the firmographic attributes ingested from Demandbase:

user's industry is "Financial Services"and user's employees is "Mid-market"

As an example, the home hero content adapts to that audience:

  • Default heading: Croct + Sanity + Next.js
  • Personalized heading: Built for mid-market finance

Usage

Run the following command in an empty directory to create a new example project using this template:

npx croct@latest use croct://integration/sanity-demandbase
Explore or help us improve this template

Start building in seconds

Paste the following command in your terminal and let the CLI do the rest.

npx croct@latest use croct://integration/sanity-demandbase