Excluding your own visits, IPs, or paths

To refine your analytics data and prevent your own activity or irrelevant traffic from being counted, DataFast offers several exclusion methods.

1. Exclude specific URL paths

You can prevent pageviews from specific URL paths (e.g. /admin, /test) from being tracked.

  1. Go to your Website Settings in DataFast.
  2. Navigate to the Exclusions tab.
  3. Add the URL paths you want to ignore. DataFast won't track visitors who visit these paths and you won't see them in your analytics.

2. Exclude IP addresses

Prevent visits from specific IP addresses (e.g. 127.0.0.1) from being included in your analytics.

  1. Go to your Website Settings in DataFast.
  2. Navigate to the Exclusions tab.
  3. Add the IP addresses you want to ignore. DataFast won't track visitors from these IPs and you won't see them in your analytics.

3. Exclude your own visits (browser-based)

To prevent counting your visits from a specific browser, you can set a special localStorage flag. This method is useful for development and testing.

To exclude your visits:

  1. Visit the website where you want to exclude your visits.
  2. Open the developer tools in your browser. (Right-click on the page and select Inspect, or press F12 on Firefox/Chrome, or Option+Command+i on Safari).
  3. Go to the "Console" tab.
  4. Paste the following command and press Enter:
localStorage.datafast_ignore=true

This needs to be done for each domain/subdomain and for every browser you use for testing.

To re-enable counting of your visits:

  1. Visit the website and open the developer console as described above.
  2. Paste the following command and press Enter:
delete localStorage.datafast_ignore
Something missing? Suggest features ✍️