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
As with other new Chameleon integrations, you can enable and configure your Mixpanel integration from your Chameleon dashboard:
Click 'Configure' to load the Mixpanel integration page:
Sending Chameleon events to Mixpanel
To send events Chameleon automatically collects simply turn on the 'Send Chameleon events to Mixpnael' toggle on the first part.
This will then send events to Mixpanel directly from your application's client-side.
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 / Survey
- Chameleon Completed Tour / Survey
- 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.
Getting Mixpanel cohorts into Chameleon
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 within from the Chameleon Mixpanel integration page and paste it into this window.
(The API key should look something like:
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.
If you would like to show Experiences immediately after a user takes an action then send that data to Chameleon directly.
- After first connecting, you must hard refresh the Chameleon Builder before Mixpanel shows as an option within your Targeting 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 a Target Audience within 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.)
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.
We are not currently aware of any common problems experienced as part of this integration. If you have any questions or issues please review how to best get help.