How to exclude recording for a specific IP, country, URL or user agent?
To exclude recordings for a specific variable:
Go to Settings → Websites. Find the website you would like to edit and click on “Edit” on the right side:
Once you enter there, you’ll get a screen like below, where you click on “Recording rules”
The next window will look like the following:
- You can exclude recordings based on their URL, IP address, location, and user agents
While IP, location and user agents are self-explanatory in terms of blocking, with the URL it is a bit more complex. Click on Don’t record URLs, the following will appear
You can exclude an URL that contains subpages, f.e
example.com/fruits, but at the same time RECORD a subpage within the URL you have excluded
You can add more variables if you’d like. Additionally, click Save changes on the bottom of the page save your new settings.
How to properly exclude elements from recordings
Excluding URLs from recording sessions was explained in this article, but sometimes it is difficult to know just what kind of URLs can be excluded when typing them in the Don’t record URLs section in Recording rules. Below is a table which will clarify the rules of which URLs are excluded and which ones aren’t when inputting them.
|example.com ❌||The URL address is the exact same one as inputted|
|example.com?utm_source=google ✅||URL is not the same|
|example.com/page1 ✅||URL is not the same|
Additionally, you can stop session recording of a URL link that contains a subpage, resulting in websites containing that URL not being recorded as well:
|example.com/page1 ❌||Contains ‘example.com/page’|
|example.com/page2 ❌||Contains ‘example.com/page’|
|example.com/index ✅||Does not contain ‘example.com/page’|
|example.com ✅||Is not + does not contain ‘example.com/page’|
As mentioned higher in the article, you can record URLs while bypassing the Don’t record URL by clicking Except URLs.
|example.com/page2 ❌||Contains URL|
|example.com/page1 ✅||Doesn’t contain the URL|
|example.com/page2/smartphones ❌||Contains URL|