- 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
This integration works by Optimizely running the following line of code:
kissMetricsKeyValue contains the experiment and variation name. There are a few ways to troubleshoot:
- Checking the Network Panel for trk.kissmetrics.com/s and seeing whether
experiment_name : variation_namewas passed as one of the parameters.
- Looking into the console for
_kmpto check if the experiment information is present within the object
- 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.