Learn from the Croct community
Questions and answers from the Croct community, covering personalization, A/B testing, CMS integrations, and SDK usage.
For personalized blocks, should the copy live in Sanity or in Croct?
I am designing how content is authored across our Sanity project and Croct, and I want to get the data model right before anyone starts building. My main…
Where do I call identify on login in the App Router, server or client?
I want logged-in users recognized so their profile carries across visits. What I cannot figure out is where identify belongs in the App Router, a server…
How do I keep marketing pages static while personalizing only a few routes?
Most of our site is static marketing content and I want it to stay fully static. Only a handful of routes actually need personalized slots, things like the…
Our slots are wired up, can I build and launch a new experience myself without filing an eng ticket?
Our developers integrated the slots a few weeks ago, and now I would like to run campaigns on my own schedule instead of queuing behind the eng backlog. So…
How do I get TypeScript types for the content a slot returns in React?
I am tired of treating slot content as any in my React components. Right now I destructure useContent('home-hero') and TypeScript has no idea what the fields…
I only want to watch recordings of people who got variant B, how?
running a hero-section A/B test and I want to just sit and watch the sessions of people who landed in variant B, to see how they scroll and where they click…
What version syntax can I use for slots in croct.json5?
ours has a plain "3" for a couple of slots and I want to know what else the version field accepts. Can I give a range, or a list of specific versions? And…
What does croct install actually do, and why a postinstall hook?
I ran the Croct CLI and noticed that croct install registered a postinstall hook in the project. Anything that hooks into the install step gets scrutiny from…
Can I use VTEX order placement as the primary goal of an experiment?
I set up an experiment on a VTEX landing experience and I want the purchase to count as the conversion. The problem is the order event was not showing up as a…
Finished moving off Ninetailed after the sunset, sanity-checking our new setup
ok we are finally live and I can breathe again. we ran Contentful with Ninetailed for personalization and had to move once the legacy standalone app got…
Starting my first experiment on a Strapi hero, what traffic split should I begin with?
I wired our Strapi hero block to a slot and built two variants, so now I have to actually set the experiment up. I am not sure whether to send all my traffic…
Exactly what does Croct send into Clarity for each session?
before i connect clarity i want a precise inventory of what gets attached to each session. partly for my tracking plan and partly to be sure nothing sensitive…