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

There are troubleshooting tips for internal agents at the bottom of this article.

Integrating Optimizely with Kissmetrics allows you to continue to track your metrics in Kissmetrics, while being able to pivot by experiment at the same time.

To enable Kissmetrics for a project, go to the Integrations tab on the Home page and toggle the button to On in the right sidebar.

This will enable Kissmetrics for your project.

Then, when you are in Kissmetrics, you can pivot metrics by properties set by Optimizely. Any visitor who was not bucketed into the Optimizely experiment will show up as None.

Make sure that your Optimizely experiment is running for this integration to work.

For more information about Kissmetrics properties, see http://support.kissmetrics.com/getting-started/people-events-properties

Troubleshooting tips:

This integration works by Optimizely running the following line of code:

_kmq.push('set', kissMetricsKeyValue); 

Where kissMetricsKeyValue contains the experiment and variation name. There are a few ways to troubleshoot:

  1. Checking the Network Panel for trk.kissmetrics.com/s and seeing whether experiment_name : variation_name was passed as one of the parameters.
  2. Looking into the console for _kmp to check if the experiment information is present within the object
  3. Set a breakpoint after the Optimizely snippet executes on the page. Check the _kmp object to see if the Optimizely experiment information is set. Run the rest of the page. Check the object once more. If the experiment information is no longer present, another script may be overwriting the variable. This is a known problem that is being discussed by Segment and Kissmetrics (not Optimizely's fault). This is covered in the following bug report: https://optimizely.atlassian.net/browse/BUG-2963.