Each Hotjar Site has a daily session capture limit, that applies to both Heatmaps and Recordings. This limit is used to determine the rate of traffic that Hotjar will track each day. If you exceed your daily session capture limit, Hotjar will sample your traffic. Our sampling algorithm captures data at an even rate and ensures even distribution over time to give a more holistic view of visitor behavior.
You can find your current daily session rate by clicking on the traffic coverage widget found on the top right of Hotjar. Inside the traffic coverage widget, you'll find your daily session rate listed next to Coverage on current plan.
- How to understand sampling
- What does the traffic coverage widget show?
- Adjusting my session targeting and tracking settings
When talking about sampling, it helps to think about your site traffic being split into three categories:
- Total traffic - All visits to your website.
- Potential traffic - Visits to your website that Hotjar has the capability to track. To learn more about why some visits cannot be tracked, check out Does Hotjar track all your users?
- Sampled traffic - Visits that Hotjar is actively tracking on your website.
Sampling is done to ensure that your daily tracking limits are evenly distributed throughout each day.
If you have a plan with 500 daily sessions but you actually receive a higher number of daily users visiting your site, Hotjar will sample your traffic. This means that we'll capture an even number of sessions (500) spread throughout the day. This avoids 500 sessions being captured by midday and subsequently no sessions being captured during the remainder of the day.
Hotjar adjusts the flow of sessions based on the total number of sessions recorded over a moving 24-hour window. This gives you an even distribution of session capture throughout the day. This illustration compares static data capture and distributed session capture:
Notice how data capture is spread throughout the day, ensuring that you don’t miss data collection from sessions that occur later in the day. More information on what a session is can be found in What is a Session?
If the daily number of user visits (traffic) to your site exceeds the number of sessions in your Hotjar plan, Hotjar will only capture a portion of your traffic. The traffic coverage widget shows this as a percentage of your traffic and is calculated by this formula:
Traffic coverage = Plan Daily Limit / Potential Traffic*
For example, if you have a Hotjar plan with 500 sessions, but your site receives 1,000 sessions of potential traffic per day, then your traffic coverage would be 50%.
If you ever need to know whether your current plan is big enough to cover your site traffic, you can check whether your traffic coverage includes all of the potential traffic Hotjar could track.
Find the traffic coverage widget on the top right corner of Hotjar.
Click on the % traffic coverage button (example above)
You'll see a more detailed breakdown of your traffic coverage, which will look similar to the screenshot below:
If you'd like to learn more about what Hotjar can track as potential traffic, you can read more in our article Does Hotjar track all your users?
Only team members with Admin permissions, within your Organization, have the ability to configure session targeting and tracking settings in Hotjar. As shown below, you can tell Hotjar to start collecting session data when a user visits a specific page or triggers an event that you have specified.
In the above example, Hotjar will start tracking a user session if a user visits either https://www.example.com or https://www.example.com/blog.
This allows you to limit the number of sessions that Hotjar captures, based on the pages that are of most interest to you.
Session capture will start when a user lands on a page specified, but remember that subsequent pages (on your site) that the user visits during their session will also be recorded. For more information on when a session begins and ends, see What is a Session?
Session targeting and tracking settings will impact sampling and the traffic coverage widget in different ways
If Hotjar is sampling your site’s traffic, the sample will be taken from the sessions that are being collected based on the configuration that is in place in the session targeting and tracking settings. Hotjar will not sample from all of your site’s traffic in this case - only from sessions that qualify based on your settings.
The traffic coverage widget you see inside Hotjar, however, is not influenced by session targeting and tracking settings. Traffic coverage is always based on potential traffic for the entire site - it ignores any targeting rules you might apply in site settings. In other words, it always looks at all traffic you could be capturing with Hotjar across all pages.
In summary, sampling is entirely based on the number of sessions captured over time. Restricting targeting rules means that Hotjar will only record on a subset of pages. Sampling will start to let more sessions in so you still fulfill your daily plan limit to compensate for restricting targeting rules.
As long as you have enough traffic given your targeting rules, sampling will help you fulfill your daily limit.