With Chameleon's Mixpanel integration, you can more deeply analyze and target Chameleon Experiences. To learn about Mixpanel visit our integration page.Β
The Mixpanel integration includes two components:
Send Chameleon events to Mixpanel -- for analyzing Experiences
Get Mixpanel cohorts -- for targeting Experiences
Quick access
As with other Chameleon integrations, you can enable and configure your Mixpanel integration from your Chameleon Dashboard:
Click 'Configure' to load the Mixpanel integration page:
To send events Chameleon automatically collects, simply turn on the 'Send Chameleon events to Mixpanel' toggle on the Mixpanel Integration page.
This will then send events to Mixpanel directly from your application's client-side.
To enable this to work, Mixpanel's client-side Javascript SDK must be installed within your web app. This SDK must be available at the root property of window.mixpanel
. Events will then go to whichever Mixpanel project is loaded onto the page where the event took place.
This means that events will go to whichever Mixpanel project is loaded onto that page.
This includes the following events:
Chameleon Started Tour / Microsurvey
Chameleon Completed Tour / Microsurvey
Chameleon Step Seen -- by request, to avoid flooding you with events.
Event properties sent as part of these events include the Experience name, URL and others (e.g. Step number) where relevant.
For full details of all Chameleon data sent to Mixpanel, use our schema Google Sheet:
You can combine these events along with other events from your product to construct a holistic picture of how your Experiences are performing and driving other actions. You can also construct a list of users that have viewed a certain Experience or exited another Experience etc.
To enable the second part of the integration, you will have to visit your Mixpanel dashboard and go to Data Management > Integrations:
Here you will be able to see the Chameleon integration listed.
Click 'Connect' and you will receive a prompt to add the API key:
Copy the API key from the Chameleon Mixpanel integration page and paste it into this window.
(The API key should look something like: SReML19OWgBk2cg8dS2P5SZCXvBPNDNef8KVfyWnJf0NYa-1KnYZs-zEdCvFL4VBJghiAo
.)
After this, you will be able to export Cohorts from within Mixpanel to Chameleon as a one-time or dynamic (every 2 hours) sync. This means they can be effective for targeting personas but not for triggering Experiences in real-time.
π‘ See the section below on how you can reduce the sync time from 2 hours to 30 minutes using webhooks.
If you would like to show Experiences immediately after a user takes an action then send that data to Chameleon directly.
A few things to keep in mind:
After first connecting, you must hard refresh the Chameleon Builder before Mixpanel shows as an option within your Segmentation filters.
The numbers of people showing exported within Mixpanel and showing as matching within Chameleon may vary if some users have not been seen since Chameleon was installed (therefore Chameleon has not "seen" these users and will not have those in the database.)
You can leverage this to create groups of users based on your product data within Mixpanel and then target those users with relevant in-product Experiences from Chameleon.
When creating an audience Segment in Chameleon, you will be able to combine membership of a Mixpanel cohort, along with other targeting filters (e.g. whether a user did/did not complete another Tour, or data from other sources, such as Salesforce etc.)
Webhooks
You can also send webhooks from Mixpanel (e.g. using the Journeys feature) to Chameleon to update user data and consequently trigger an in-product Experience.
Learn more about how Chameleon can receive webhooks here.
π§βπ» Developer can help: you can sync cohorts data from Mixpanel to Chameleon faster using a Webhook integration.
By setting this up, Mixpanel can send out an ongoing webhook every 30 minutes to Chameleon and we will receive it whenever it's sent. With this method, you can get cohort data from your Mixpanel account faster and use it to further target your Experiences.