top of page

How to force your sample to be tracked in heatmaps & session recordings

  • Customer Success Team
  • Dec 11, 2025
  • 1 min read

Sometimes you might want to force the screenshot on a heatmap to make sure it's correct, or you might want to check the configuration on your session recording. If your sample rate isn't 100% there is a risk your activities won't be recorded.To ensure your activities are included in the sample group you can append a URL parameter?pk_hsr_forcesample=1 to the page you're visiting. The page still needs to follow the target rules you configured in your heatmap or session recording. 


www.example.com?pk_hsr_forcesample=1


Make sure your IP-adress is not blocked. You find which IP-adresses are blocked under the analytics settings in the data source you want to track. 


If you instead want to prevent your activity to be recorded, you can change the URL parameter to ?pk_hsr_forcesample=0. 


www.example.com?pk_hsr_forcesample=0

Related Posts

See All
How to mask elements

When you record a session or sample a heatmap Extellio may record user-sensitive data with is displayed on your website. To avoid recording personal data you can mask elements from being recorded by a

 
 
Heatmap screenshot not working

After you have created a new heatmap, it will automatically start to collect samples, but in order to view it, you also need to take a screenshot. Note that the samples are not dependent on the screen

 
 
bottom of page