Amplitude
Forward events to Amplitude for product analytics.
Amplitude
The Amplitude integration sends Setgreet events directly to your Amplitude project, so you can analyze in-app flow performance alongside the rest of your product analytics.
How it works
When enabled, Setgreet forwards events to Amplitude using the Amplitude HTTP V2 API. Events appear in your Amplitude project as standard events, ready for charts, funnels, and cohort analysis.
Setup
- Click Integrations in the sidebar.
- Click Add Integration and select Amplitude.
- Enter your Amplitude API Key. Find this in your Amplitude project under Settings > Projects > Your Project.
- Select which event types to forward.
- Click Save.
Event mapping
Setgreet sends events to Amplitude using the same event names documented in the event types table (for example, flow_completed, flow_component_click).
Each Amplitude 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 user_id field is set to the end user's ID as identified in the Setgreet SDK.
Use cases
- Funnel analysis. Build an Amplitude funnel that starts with
flow_startedand ends with a product event (likesubscription_started) to measure the impact of your in-app flows on conversions. - Cohort comparison. Compare the behavior of users who completed an onboarding flow versus those who dismissed it.
- Retention impact. Use Amplitude's retention charts to see if users who interact with specific flows have better long-term retention.
Events are sent server-side from Setgreet, so they are attributed to the same user ID your app uses. Make sure the
user ID you pass to Setgreet.identifyUser() matches the user ID in Amplitude for accurate attribution.