Mixpanel
Forward events to Mixpanel for behavioral analytics.
Mixpanel
The Mixpanel integration sends Setgreet events to your Mixpanel project, enabling you to analyze in-app flow interactions alongside your existing behavioral analytics.
How it works
When enabled, Setgreet sends events to Mixpanel using the Mixpanel Ingestion API. Events appear in your Mixpanel project with full properties, ready for segmentation, funnels, and flow analysis.
Setup
- Click Integrations in the sidebar.
- Click Add Integration and select Mixpanel.
- Enter your Mixpanel Project Token. Find this in your Mixpanel project under Settings > Project Settings.
- Select which event types to forward.
- Click Save.
Event mapping
Setgreet sends events to Mixpanel using the same event names documented in the event types table (for example, flow_completed, flow_component_click).
Each Mixpanel event includes these properties:
flowId-- the Setgreet flow ID.flowName-- the human-readable flow name.screenId/screenName-- the screen for screen and component events.componentId/componentType/componentLabel-- the component for component events.sessionId-- the SDK session identifier.appId/organizationId-- the app and organization.custom-- additional event-specific data (selected option, input value, rating score, etc.).
The distinct_id field is set to the end user's ID as identified in the Setgreet SDK.
Use cases
- Behavioral segmentation. Create Mixpanel cohorts based on Setgreet flow interactions -- for example, "users who completed the onboarding flow in the last 7 days."
- Funnel analysis. Build funnels that combine Setgreet events with your product events to measure end-to-end conversion.
- Flow optimization. Use Mixpanel's Flows report to visualize the sequence of events before and after a Setgreet flow display, revealing how flows fit into the broader user journey.
Make sure the user ID you pass to Setgreet.identifyUser() matches the distinct_id you use in Mixpanel so that
Setgreet events are attributed to the correct user profile.