Exclude internal traffic from your analytics
By default, Plausible Analytics tracks every visitor to your website. You might not want your office traffic to be counted. Or when you're working on your site, you might not want to record your own visits and page views.
Here's how to block your internal traffic from your Plausible Analytics stats dashboard. You can block recording visitors from specific IP addresses, hostnames, countries or pages.
You can use our official WordPress plugin which excludes views coming from admins and other user roles
Exclude visits by IP address
-
Go into the site settings of the website you'd like to block your activity from
-
Choose "IP Addresses" in the "Shields" entry in the left-hand menu
- Click on the "Add IP Address" button to add a new address to the block list
- You can manually insert an IP address (both IPv4 and IPv6 addresses are acceptable) or you can click to block your current public IP address which our system will find and display for you
-
You can also add a description to help you identify which device or location you have blocked
-
You need to add one IP address at a time and it has to be the full IP address as IP ranges are not supported. You can block up to 30 different IP addresses per website
-
Once added to the block list, we will start blocking traffic from that specific IP address within a few minutes
-
You can see the list of all the IP addresses that you're blocking at the moment. The entry in the list which has the "YOU" tag is your current IP address
-
You can click on the "Remove" button next to that IP address to remove it from the blocklist
Exclude visits by hostname
If you prefer to only record traffic from specific hostnames (and block all the other traffic), you can do so in your site settings:
- Visit the site settings area for the dashboard in question
- Choose "Hostnames" in the "Shields" entry in the left-hand menu
- Then click on the "Add Hostname" button to add a new hostname to your allow list
You can group your hostnames when adding them to the allow list:
*.yourdomain.com
will record all traffic on all subdomains ofyourdomain.com
but won't record traffic ofyourdomain.com
itself*yourdomain.com
will record all traffic on all subdomains ofyourdomain.com
andyourdomain.com
traffic itself will be recorded too
Once added to the allow list, we will start blocking traffic from all the other hostnames within a few minutes. You can add up to 30 different hostnames.
You can see the list of all the hostnames that you're allowing the traffic from at any time. Click on the "Remove" button next to a hostname to remove it from the allow list.
Exclude visits by country
If you prefer to block traffic from specific countries from being recorded in your dashboard, you can do so in your site settings as well:
- Visit the site settings area for the dashboard in question
- Choose "Countries" in the "Shields" entry in the left-hand menu
- Then click on the "Add Country" button to add a new country to your block list
Once added to the block list, we will start blocking traffic from that specific country within a few minutes. You can block up to 30 different countries.
You can see the list of all the countries that you're blocking the traffic from. Click on the "Remove" button next to that country to remove it from the blocklist.
Exclude visits by page or section
If you prefer to permanently block traffic from specific pages or sections of your site from being recorded in your dashboard, you can do so in your site settings:
- Visit the site settings area for the dashboard in question
- Choose "Pages" in the "Shields" entry in the left-hand menu
- Then click on the "Add Page" button to add a new page to your block list
- You can group different pages or dynamic URLs by using asterisks. For instance, if you'd like to block all the blog traffic from being recorded you can add something like (
/blog/*
)
Once added to the block list, we will start blocking traffic from that specific page within a few minutes. You can block up to 30 different pages.
You can see the list of all the pages that you're blocking the traffic from. Click on the "Remove" button next to that page to remove it from the blocklist.
Exclude visits by browser
Do you use VPNs or often change your IP addresses? And do none of our other blocking options work for your use case?
You can then set a special localStorage
flag in your browser so you don't need to frequently block new IP addresses. Here's how