- Analyze how visitors behave when exposed to an experiment by watching session recordings, using a number of filtering options.
- Identify areas of optimization with Hotjar heatmaps and prioritize your roadmap of experiments in Kameleoon.
Enable Hotjar integration on Kameleoon
First, you must enable Hotjar on your website. Then, you must activate Hotjar on Kameleoon. Learn how to set up a custom analytics integration on Kameleoon. You can add predefined custom analytics scripts from the Script Library. From the dropdown list, choose the Hotjar integration and click Add new script. The corresponding script will automatically populate the JavaScript code insert.This code uses the Hotjar Events API:
window.hj('event', tag_name);Hotjar’s Events API lets you send events to Hotjar using JavaScript when a specific experiment or personalization is triggered on your site.window.hj('tagRecording', \[tag\_name\]);
Heatmaps
To analyze how your visitors behave when exposed to an experiment by using Hotjar’s heatmaps, you may need to set up the trigger name in Hotjar as follows:campaignId+"-"+campaignName+"-"+associatedVariationId+"-"+associatedVariationName
You can find the experiment and variation details (ID and Name) in your Kameleoon Experiments dashboard by hovering over the experiment name.