# show different strapi content to returning visitors?

Asked by lucia_f on 2026-06-19. Tags: strapi, personalization, cql.

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

### Answer from Gabriel Fontes (2026-06-20)

It is tracked for you, no instrumentation needed. Croct builds the behavioral
profile from regular activity, so the audience condition is just CQL:

```cql
user is returning
```

If you want to be stricter about who counts as engaged, you can combine signals:

```cql
user is returning and session's stats' pageviews > 3
```

You 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.
