Exclude Your Visits

When you browse your own site, your visits show up in your analytics just like any other visitor. Clickport lets you hide your own visits with one toggle per device. The exclusion stays set even when your IP address changes (mobile networks, Wi-Fi switching, VPN).

Looking for site-wide rules? This page covers the personal device toggle. To block specific IPs, countries, pages, or restrict tracking to listed hostnames, see Tracking rules.

Enable exclusion

1

Open your Clickport dashboard on the device you want to exclude. If you want to hide your phone visits, open the dashboard on your phone. If you want to hide your laptop visits, open the dashboard on your laptop.

2

Click the settings icon in the top right corner of the dashboard. Go to the Tracking rules tab.

3

Flip the Exclude this device toggle on. It is the first card on the Tracking rules page.

Tracking rules

Exclude this device
Hides this device. Flip on each device once.
This device will no longer be tracked
4

A new tab opens on your site with a confirmation message. Close the tab. That device is now excluded, and it stays excluded even if your IP address changes later.

Per device, per site. You need to flip the toggle once on every device and browser you want to exclude. If you have multiple sites in Clickport, repeat the toggle on each site while it is the active one in your dashboard.

Disable exclusion

Flip the Exclude this device toggle off on the same device where you enabled it. A new tab opens confirming tracking is re-enabled.

If you cannot access the dashboard on that device (for example, the device is far away or the browser data was cleared), visit https://yoursite.com/?clickport_exclude=0 directly on that device. The tracker clears the exclusion and you'll see a confirmation message.

Team exclusion

To hide visits from your whole team, share this instruction with each teammate: open the site with ?clickport_exclude=1 in the URL. For example: https://yoursite.com/?clickport_exclude=1. They will see a confirmation and their device will be excluded from then on.

How exclusion works

When you flip the toggle in the dashboard, Clickport opens your site in a new tab with a special query parameter. The tracker on your site reads that parameter and stores a flag in the browser's localStorage under the key clickport_ignore. On every future visit, the tracker checks the flag first and exits immediately if it is set. No pageview, no events, no network request. Your visit never reaches Clickport.

Because the flag is stored per browser and per site origin, it survives IP changes, network switches, browser restarts, and OS updates. Clearing browser data removes it.

Troubleshooting

My visits are still showing up

  • Check the right browser. The exclusion only applies to the browser where you flipped the toggle. Different browsers, private windows, and different devices each need their own toggle.
  • Check the flag directly. Open your site, press F12, go to Application > Local Storage, select your domain, and look for the key clickport_ignore. It should equal the string true. If it is missing, visit https://yoursite.com/?clickport_exclude=1 directly to set it.
  • Check for a www redirect. If your site redirects between apex and www versions, the flag is stored on whichever origin ends up serving the page. Make sure you are checking localStorage on the final origin, not the one that redirected.
  • Check the date range. Your dashboard may be showing data from before you enabled exclusion. Visits recorded before you set the flag are not retroactively removed.

I cleared my browser data and the flag is gone

Clearing cookies, site data, or all browsing data removes localStorage entries including the clickport_ignore flag. Flip the toggle again in the dashboard to reset it.

Excluding visits on localhost

You do not need to exclude yourself during local development. The tracker automatically skips localhost, 127.0.0.1, and file:// URLs. No data is sent from local environments.