Split testing gives you the opportunity to split traffic between two or more versions of the same page and measure the performance of each.
Tracking variations with different URLs
Hotjar is able to record Heatmaps for different variations in a split test if the URL is different for each variation. For example:
In this case, you can create two separate Heatmaps to track both pages. Follow our Heatmap Guide to learn how to setup Heatmap reports.
Tracking variations on the same URL
If your split test does not use separate URLs for each variation but instead loads different content randomly each time a new visitor lands on the page, Hotjar will be unable to record data for each variation separately. If you wish to make Hotjar take a screenshot of a particular variation, you can use the regular expression option.
In the example above, Hotjar will collect data from all visitors who visit www.domain.com but will display the screenshot of www.domain.com/?variation=B in the Heatmap report. For more information about this, you can read out our Screenshot page URL explained article.