RELEVANT PRODUCTS:
  • Optimizely Classic

This article will help you:
  • Integrate Mixpanel to read data from Optimizely
  • See reporting on Optimizely experiments in Mixpanel

Mixpanel users can include Optimizely experiment and variation names directly into Mixpanel reports. Optimizely will automatically populate a Mixpanel super property to all events triggered for that user. 

To enable the Mixpanel integration in Optimizely X, navigate to Settings > Integrations. Click Mixpanel and toggle the button to On in the right sidebar.

mixpanel.png
 

 Your Optimizely experiment must be running for this integration to work. 

Integrate Mixpanel for Optimizely

To set up for integration with Mixpanel, add the Mixpanel JavaScript snippet AFTER the Optimizely snippet on your page. This lets Optimizely properly set the Mixpanel super properties before any Mixpanel events are sent.  

  1. Enable the integration in the Optimizely experiment:

    • In Optimizely X, navigate to the Integration tab in the Editor and select Mixpanel.
      mixpanel2.png

    • In Optimizely Classic, navigate to the Mixpanel section and check the box:


  2. Segment your existing funnels and metrics by your Optimizely experiments. The name of the property is the name of the experiment prefixed with "Optimizely," and the values are your variation names.

    For example:

"Optimizely {{Experiment Name}}": "{{Variation Name}}" 

After you start your experiment, the data should be available to Mixpanel within minutes. Here's an example of using Mixpanel to evaluate the funnel performance of two distinct variations: