Mixpanel integration
Mixpanel is a tool that helps you understand how your users interact with your app. Being integrated with Pushwoosh, it allows building sophisticated audience segments and using these segments for exceptionally relevant and perfectly targeted communications.
To import the segments you build in Mixpanel to Pushwoosh, you have to integrate both tools in a few steps:
- Integrate Pushwoosh SDK
- Configure platforms in Pushwoosh
- Set the integration in Mixpanel
1. Integrate Pushwoosh SDK
Section titled â1. Integrate Pushwoosh SDKâFirst, integrate the Pushwoosh SDK into your mobile or web project:
2. Configure platforms in Pushwoosh
Section titled â2. Configure platforms in PushwooshâConfigure platforms for sending messages via Pushwoosh following the guides for instructions:
3. Configure Pushwoosh for Mixpanel
Section titled â3. Configure Pushwoosh for Mixpanelâ3.1. Get your Pushwoosh projectâs credentials
Section titled â3.1. Get your Pushwoosh projectâs credentialsâFor setting the integration, youâll need the app code and API access token of the Pushwoosh project.
App code
Section titled âApp codeâGo to the project youâre going to import segments to, click its name in the top left and copy the app code.

Auth token
Section titled âAuth tokenâGo to Settings -> API Access and copy the API auth token applicable to the project youâve chosen.

3.2. Set Pushwoosh integration in Mixpanel
Section titled â3.2. Set Pushwoosh integration in Mixpanelâ- Log in to Mixpanel.
- Go to Data Management -> Integrations -> Pushwoosh.
- Click Connect.
- In the window opened, set the Connector name, then paste the Pushwoosh API Access Token and App Code youâve copied at previous step.

5. To match Mixpanel User with Pushwoosh User, set the $pushwoosh_user_id user profile property with UserIDs or HWIDs collected from Pushwoosh. Please refer to Mixpanel docs for more detail.
4. Test your integration
Section titled â4. Test your integrationâTo export Mixpanel cohorts to your Pushwoosh account:
- Open your cohorts: Data Management -> Cohorts.
- Search for the cohort youâd like to export. Click the ââŚâ button next to the cohort youâd like to export. In the context menu opened, select Export to -> Pushwoosh.
- Then, specify whether the cohort should be sent to Pushwoosh one time or be synced dynamically at predefined intervals, updating the Pushwoosh segment to the most current set of users from Mixpanel.
- Once everythingâs set up, the cohort youâve exported will appear in the Segments (Filters) section of your Pushwoosh Control Panel.