- Integrate CrazyEgg to read data from Optimizely
- See reporting on Optimizely experiments in CrazyEgg
- Figure out why you're getting an error message in CrazyEgg
If you are a CrazyEgg customer, you can enable Optimizely to create snapshots of your experiments and to assign your visitors to the proper snapshot based on the active experiment.
Set up the integration
Make sure to install the CrazyEgg code snippet on your site below the Optimizely Snippet for this integration to work.
On the Home page, go to the Integrations tab. Select CrazyEgg and toggle the button to On in the the right sidebar.
To enable the CrazyEgg integration, you'll need to find your API Key and API Secret provided by CrazyEgg and input those into the Settings section of the sidebar, then click Save.
Also within the Settings, you can choose to enable CrazyEgg for all experiments by clicking the corresponding checkbox and then Save.
If you want to customize the settings for each experiment, go to the Editor for that experiment and click Options > Integrations, then check or uncheck the CrazyEgg checkbox.
Additionally, make sure that your Settings in the Home page > Settings tab are set so that the Force Variation box is unchecked. The CrazyEgg integration relies on a query parameter that allows CrazyEgg to force each variation to generate the appropriate snapshots. By default, this parameter is disabled as a layer of privacy.
Find your API keys within your CrazyEgg account.
Once your experiment has been successfully integrated with Optimizely, you should be able to see your snapshots created from the CrazyEgg dashboard. All snapshots created by Optimizely will be prefixed with "Optimizely" and contain the experiment name followed by the variation name. Here you can verify that the generated snapshot matches the experiment variation from within Optimizely.
CrazyEgg snapshots the URL you load into the Editor, not the URL targeted.
Also, CrazyEgg will not work with Mobile Specific URLs or Multi-page Experiments.
If you delete a CrazyEgg snapshot connected to an experiment, you must duplicate the experiment to regenerate it. Past data is not recoverable.
While visitors get included in your experiments, their activity will now be associated with the automatically generated snapshot. Once the heatmaps have been generated you'll be able to use all features included in CrazyEgg.
Troubleshoot your CrazyEgg integration
If you mask Optimizely descriptive names from third-party integrations, you may receive the following error message when you hit Verify Install in CrazyEgg:
“Page is currently tracking? No. This page does not match any active snapshots”
When you enable the CrazyEgg integration, the snippet sets a variable (
CE_SNAPSHOT_NAME) and populates it with the Optimizely Experiment name and variation. If you mask Optimizely descriptive names as IDs,
CE_SNAPSHOT_NAME attempts to populate the variable with the Experiment ID instead of the name, causing Crazy Egg to generate an error message.
To clear this error and begin data collection, do one of the following:
- Change the name of the snapshot manually in CrazyEgg
- Unmask the variation name in Optimizely in Home page > Settings > Privacy. This allows Optimizely to re-populate the CrazyEgg variable. Once the descriptive name is unmasked and the snapshot is recaptured, you can then mask the name again.