How to Exclude Your Own Visits in Umami
Quick answer
Run localStorage.setItem('umami.disabled', 1) in the browser console on each of your sites. Self-hosters can also ignore their IPs with IGNORE_IP, and you can stop localhost tracking with data-domains.
Most likely fix: Disable tracking in your browser
How to fix it
Try these in order — the most common fix is first.
1. Disable tracking in your browser
- Open your website and open DevTools > Console
- Run localStorage.setItem('umami.disabled', 1)
- Repeat on every site and in every browser/device you use
- To undo, run localStorage.removeItem('umami.disabled')
Did this fix it?2. Ignore IP addresses (self-hosted)
- Set IGNORE_IP to a comma-separated list of IPs or CIDR ranges
- Restart Umami
Did this fix it?3. Stop tracking localhost and staging
- Add data-domains="example.com,www.example.com" to the production script tag
- Use a separate website ID with data-tag for development if you want dev data
Did this fix it?
Symptoms
Your own testing and browsing inflate visitor counts, or localhost and staging visits appear in production stats.
Why it happens
- Umami has no dashboard toggle to ignore yourself
- The exclusion is per browser and per site
- No data-domains restriction, so dev and staging hosts are tracked
This guide also covers
- umami exclude my visits
- umami ignore my own visits
- umami.disabled
- umami ignore localhost
Still not working?
If Umami keeps failing, you're not alone. See every Umami problem users report or the alternatives people switch to.
Done fighting Umami? Our small team builds your own Umami alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quoteOther Umami errors
- Umami Not Tracking Visitors (No Data Showing)
- Umami Blocked by Ad Blockers (uBlock Origin, Brave)
- Umami v3 Upgrade: MySQL Not Supported
- Umami Migration Failed (Prisma P3009 / P3018 Error)
- Umami Docker "Unable to Connect to the Database"
- Umami Default Login and Forgot Password Reset
- Umami Shows Wrong Country or "Unknown" Location
- Umami Custom Events Not Showing