GoodData

Hiding Own Traffic

When developing your website or analyzing it in production, you likely want to exclude your own visits from the analytics data to avoid skewing your metrics.

Gooddata offers a few ways to ensure your traffic is ignored.

You can set a specific key in your browser's LocalStorage to tell the Gooddata tracker to ignore your session. This is the easiest method and applies to your specific browser.

Open your browser's Developer Tools (F12 or Cmd+Option+I), navigate to the Console tab, and enter the following command:

localStorage.setItem('gooddata_ignore', 'true');

To resume tracking your visits, you can remove the key:

localStorage.removeItem('gooddata_ignore');

Excluding Localhost

By default, the Gooddata script automatically ignores traffic originating from localhost or 127.0.0.1. You do not need to do anything special to exclude local development traffic. Tracking will only occur when the script is loaded on a live, public domain.

IP Blocking (Self-Hosted)

If you are self-hosting Gooddata, you can configure IP blocklists in your server environment (such as Nginx or your reverse proxy) to block requests to the /api/track endpoints originating from your office or home IP addresses.