Flow
referenceId.
Private Mixpanel credentials, webhook secrets, and project API keys stay on the
server side.
Identity
referenceId is the join key between the installed app user and the synced
audience member. Use the same stable person id your app uses for analytics,
such as Mixpanel distinct_id, or your canonical app user id when that is what
you sync to UserJourneys.
UserJourneys also matches against the provider member id when reference_id is
not present on the synced member. That lets teams start with Mixpanel
distinct_id and move to a canonical app user id later without changing the
SDK surface.
Prompt behavior
Audience membership does not push a user directly into an interview. The SDK sets a pending invite andUserJourneysInterviewHost shows the in-app prompt.
Accepting the prompt resolves the respondent short code and opens the in-app
WebView or the server-selected browser fallback.
Attribution
When an audience prompt is materialized, UserJourneys stores:- the Study Launch Rule id;
- the study id;
- the audience id;
- the audience member id;
- the respondent short code;
- the app
referenceId; - primitive, allowlisted audience traits used for context.