Documentation menuData quality: Hiding your own traffic

Data quality

Exclude your own visits from Loogika

Your own visits can distort the numbers on a small site. Loogika gives you two ways to leave them out. An IP exclusion covers every device on a network, and a browser setting covers one browser wherever it is.

Last updated .

How do you exclude an IP address?

Open Site Settings, go to Exclusions and add your address under IP Exclusions.

Loogika filters on the server, so excluded visits are never stored. The rule works for every browser and device behind that address. A change takes effect within about a minute.

FormatExample
One IPv4 address203.0.113.7
One IPv6 address2001:db8::1
CIDR range, IPv4 or IPv6203.0.113.0/24
IPv4 range203.0.113.1-203.0.113.20

IPv6 ranges with a dash are not supported. Use CIDR notation for those.

What if your IP address changes?

Home connections, mobile networks and VPNs hand out new addresses from time to time. An exclusion for one address then stops working without any warning.

Ask your provider which range your addresses come from and exclude the whole range. For an office, exclude the office range once.

How do you switch tracking off in one browser?

Open your site, open the browser console and run:

localStorage.setItem("disable-loogika", "true");

The script now does nothing in that browser on that site. Only the key matters, so any value works. Turn tracking back on with:

localStorage.removeItem("disable-loogika");

The setting belongs to one browser and one site. Repeat it on your phone and in other browsers you use.

Which method should you choose?

SituationMethod
A team in one officeIP exclusion for the office range
You work from changing networksThe browser setting
You want to hide visits to staging or preview domainsA hostname exclusion. See Filter traffic