show different strapi content to returning visitors?
nuxt app with a strapi backend. we want first-time visitors to see an explainer hero (what the product is, how it works) and returning visitors to see a product-news hero instead, since they already know the basics.
strapi obviously knows nothing about visitors so I get that this lives in the personalization layer, but how does the behavioral condition actually work? is "returning" something croct tracks for me or do I have to instrument it myself. also does the nuxt sdk support all of this or just the react one
1 answer
It is tracked for you, no instrumentation needed. Croct builds the behavioral profile from regular activity, so the audience condition is just CQL:
user is returningIf you want to be stricter about who counts as engaged, you can combine signals:
user is returning and session's stats' pageviews > 3You define that audience inside the experience, keep your explainer hero as the default content coming from Strapi, and author the product-news hero as the variant for the returning audience. First-timers fall through to the default automatically.
And yes, there are dedicated Vue and Nuxt SDKs, so nothing about this setup is React-only. The condition syntax and slot integration work the same across them.