Excluding data

Filter out unwanted traffic from your analytics. Exclude your own visits, internal IPs, specific pages, staging domains, or entire countries from being stored in your data.

Unlike dashboard filters which only change what you see, exclusions prevent data from being stored entirely. Excluded visits never appear in your analytics.

Exclude yourself (quick method)

The fastest way to exclude your own visits. Open your browser console on your site and run:

localStorage.setItem("attribu_ignore", "true");

To re-enable tracking for yourself:

localStorage.removeItem("attribu_ignore");

This only affects the browser where you set it. You'll need to set it on each device and browser you use.

Exclude by IP address

Block specific IP addresses or ranges from being tracked. Useful for filtering out your office, home network, or VPN.

  1. Go to Settings > Exclusions
  2. Under Excluded IPs, add the IP addresses you want to block
  3. Click Save

Supports individual IPs and CIDR ranges:

203.0.113.50
10.0.0.0/8
2001:db8::/32

Exclude by path

Prevent specific pages from appearing in your analytics. Useful for admin pages, staging paths, or internal tools:

  1. Go to Settings > Exclusions
  2. Under Excluded Paths, add URL paths to exclude
/admin
/admin/*
/staging/*
/internal/*

Paths support wildcards. /admin/* excludes all pages under /admin/.

Exclude by hostname

If your pixel runs on staging or development domains that share the same website ID, you can exclude those hostnames:

staging.yourdomain.com
dev.yourdomain.com
localhost
The pixel already blocks localhost tracking by default. You only need to add it here if you've enabled data-allow-localhost.

Exclude by country

Filter out traffic from specific countries. This can be useful if you're getting large amounts of bot or irrelevant traffic from certain regions:

  1. Go to Settings > Exclusions
  2. Under Excluded Countries, select the countries to block

Built-in exclusions

The pixel automatically excludes traffic from:

  • Bots and crawlers - Detected via user agent string
  • Headless browsers - Puppeteer, Playwright, etc.
  • Iframes - Events from embedded iframes are blocked
  • Localhost - Disabled by default (enable with data-allow-localhost)
  • File protocol - Pages opened as local files
  • Opted-out visitors - Anyone with localStorage.attribu_ignore = "true"
Copied