Filters can be used to exclude incoming events from contributing to your website statistics. For example, if you don't want your office IP to factor into gathered stats, you can filter out that IP.
Currently, the following filters are available:
To create a new filter, click the "Add IP Address" button. This will open a modal where you can define your filter.
Then enter the IP address or range to block.
{info} CIDR ranges are supported. For example
127.0.0.1/24
will match all ips from127.0.0.1
to127.0.0.255
To create a new filter, click the "Add Page" button. This will open a modal where you can define your filter.
Then enter the page path to block, wildcards are supported.
{info} Use of wildcards in page filters is supported. For example
/mypage*
will match all pages starting with/mypage
To create a new filter, click the "Add Country" button. This will open a modal where you can define your filter.
Then enter the country code to block, use the ISO 3166-1 alpha-2 standard.
To create a new filter, click the "Add Hostname" button. This will open a modal where you can define your filter.
Then enter the hostname to block. Wildcards are supported.
{info} Always enter the entire fqdn, for example
www.example.com
and not justwww
if you want to blockwww
hostname.
Click on the "pencil" button to edit existing filters. The interface is the same as when creating new filters.
To delete a filter, click the "trashcan" icon.
If you want to opt out of tracking events from your browser, you can do so by setting a special flag in localstorage in your browser.
Go to the website where you want to opt out of tracking, open the developer console and run the following command:
localStorage.setItem('galytics:ignore', 'true');
This will prevent any events from being sent to the server from your browser. To opt back in, run the following command:
localStorage.removeItem('galytics:ignore');