When you browse your own site, your visits show up in your analytics just like any other visitor. Clickport offers two ways to exclude yourself so your data stays clean.
Set a flag in your browser's localStorage to tell the Clickport tracker to skip this browser. The tracker checks for this flag before sending any data, so excluded visits never reach the server.
Open your website in the browser you want to exclude.
Open the browser's developer tools. On most browsers: press F12 or right-click the page and select Inspect.
Go to the Console tab and paste this command:
Press Enter. That's it. This browser will no longer send any tracking data to Clickport.
Run this in the console to confirm the flag is set:
You can also verify by opening the Network tab in developer tools, navigating around your site, and confirming that no requests are sent to /api/event.
To start tracking your visits again, remove the flag:
To exclude your entire team, share these instructions with anyone who regularly visits your site. Each person sets the flag in their own browser.
If your team members all work from the same office, IP exclusion (below) may be easier since it covers everyone on the same network in one step.
Exclude all traffic from your IP address at the server level. This is the easiest method since it works across all browsers and devices on your network, and you can enable it with one click.
Open your Clickport dashboard.
Click the settings icon in the top right corner of the dashboard.
Find the Exclude my IP toggle and enable it. Your current IP address is shown next to the toggle.
When you exclude your IP, it is automatically applied to all your sites in Clickport. You do not need to set it separately for each site.
To stop excluding your IP, return to the dashboard settings and toggle Exclude my IP off. The exclusion is removed from all your sites.
Use IP exclusion if you work from a fixed location (office, home with static IP). It's the simplest option and covers all devices on your network.
Use browser exclusion if you move between networks (coffee shops, coworking spaces, mobile data) where your IP changes frequently. The localStorage flag stays set regardless of your network.
You can use both methods together. If either one matches, your visit is excluded.
The Clickport tracker checks localStorage.getItem('clickport_ignore') on every page load, before sending any data. If the value is exactly 'true' (the string), the tracker exits immediately. No pageview, no events, no network requests. Your visit is invisible to Clickport because the data never leaves your browser.
When IP exclusion is enabled, the server checks the visitor's IP address against a list of excluded IPs before storing any event. If the IP matches, the event is silently dropped and never written to the database. The response still returns success to avoid errors in the tracker.
localStorage.getItem('clickport_ignore') in the console. It must return exactly "true" (a string). If it returns null, the flag was cleared or never set.Clearing cookies, site data, or all browsing data removes localStorage entries including the clickport_ignore flag. Set it again using the console command above.
You do not need to set exclusion flags for local development. The tracker automatically skips localhost, 127.0.0.1, and file:// URLs. No data is sent from local environments.