Mixpanel is a product analytics tool that enables you to capture data on how users interact with your digital platforms. Mixpanel then lets you analyse this product data with simple, interactive reports that let you query and visualise the data in just a few clicks.
The Mixpanel integration allows you to target the cohorts created in Mixpanel with AB Tasty.
⭐ Good to know: Mixpanel Cohorts
Cohorts are groups of users defined by a chosen set of criteria, like a shared property or sequence of events.
For more information on how to use cohorts please refer to the Mixpanel documentation.
Enable the integration on AB Tasty
- Go to Profile> Integrations>DMP & CRM Onboarding
- In the “Other CMP and CDP tools” box, select Mixpanel and click the connect button.
Mixpanel is set up. No other action is required here. This will allow AB Tasty to display the cohorts that will be sent by Mixpanel.
Enable the integration on Mixpanel
You must be a Mixpanel project Admin to enable the AB Tasty integration.
- Go to "Integrations" under the "Data Management" tab in the top navigation bar
- In the integrations list, select "AB Tasty", and click "Connect"
- To set up the AB Tasty integration you need to enter your account’s API Key. Copy paste the API Key of your AB Tasty account. Click “Continue”.
⭐ Good to know: API Key
An integration API key is a unique key that allows a third party tool to communicate with your specific AB Tasty account i.e. send data to you account.
To generate an API Key:
- Go to Settings > Integrations > API Key
- Click generate API Key
- The API Key is ready to use
The AB Tasty integration will show a "Connected" tag once the connection is established.
Export the cohorts from Mixpanel to AB Tasty
Now that the connection between the tools is established, we have to export the desired cohorts to AB Tasty in order to target them.
- Click "Cohorts“ under "Users" in the navigation bar.
- Select the cohort that you want to export. Click on the three-dot icon on the right side of the cohort.
- Click Export to > AB Tasty. Select either one-time sync or dynamic sync. Click Start Sync.
Mixpanel Documentation on cohorts exports is available here.
Congratulations, the integration is now set up and you can target your Mixpanel cohorts with AB Tasty!
⭐ Good to know: Technical specification
- Mixpanel sends the cohorts every 15 minutes in case of a recurring exports
- AB tasty pushes the abtasty_visitor_id to Mixpanel, Mixpanel includes it in the cohort export. The abtasty_visitor_id is used to match user.
- For the cohorts to be used in AB Tasty’s segment builder (once exported from Mixpanel), we need to match at least one user i.e. empty cohorts will not be displayed in the segment builder.
Using and retrieving your Mixpanel cohorts
When you have activated and configured an integration, you will be able to retrieve Mixpanel cohorts in the segment builder (available when you create a new segment).
All the audiences coming from your integrations are available within the criteria group “DATA INTEGRATION”.
For each integration, you will have a corresponding item that you can drag and drop to use.
For global information on how to build a targeting segment, please refer to this page.
⭐ Good to know: audience availability in the segment builder
In order for an audience to be available in the segment builder it must not be empty, meaning that we have to identify at least one user belonging to that audience.
Once one user is identified, the audience will appear in the segment builder.