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.
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.
- Go to Settings > Exclusions
- Under Excluded IPs, add the IP addresses you want to block
- Click Save
Supports individual IPs and CIDR ranges:
203.0.113.50
10.0.0.0/8
2001:db8::/32Exclude by path
Prevent specific pages from appearing in your analytics. Useful for admin pages, staging paths, or internal tools:
- Go to Settings > Exclusions
- 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
localhostdata-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:
- Go to Settings > Exclusions
- 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"