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, only IP and page filters are available, but more are being added soon.
To create a new filter, click the "Add Filter" button. This will open a modal where you can define your filter.
Select the type of filter. Currently, only "IP" and "Page" are available. Then enter the IP address or page to match.
{info} CIDR ranges are supported. For example
127.0.0.1/24
will match all ips from127.0.0.1
to127.0.0.255
{info} Use of wildcards in page filters is supported. For example
/mypage*
will match all pages starting with/mypage
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');