breat.fr

Ignore your own visits

Brivacia can ignore visits from your own browser.

This is useful when you are testing your website, updating pages, checking the tracking pixel, or browsing your own site as an administrator.

How it works

Open this URL from the browser you want to ignore:

https://YOUR_BRIVACIA_INSTALLATION/api/ignore.php

Brivacia sets a brivacia_ignore cookie in that browser.

When the tracking pixel receives a visit with this cookie, the visit is ignored and no statistics are written.

Cookie duration

By default, the ignore cookie lasts for 5 years.

You can change this duration in the Brivacia settings.

The setting only applies when the cookie is created or refreshed. If you change the duration after opening ignore.php, the existing cookie keeps its current expiration date.

To apply the new duration to your browser, open ignore.php again.

Example

If Brivacia is installed at:

https://stats.example.com

open:

https://stats.example.com/api/ignore.php

Then browse your tracked website normally from the same browser.

Same root domain only

The ignore cookie is shared across the tracked sites that use the same root domain.

For example, if your tracked sites are:

example.com
blog.example.com
shop.example.com

one ignore cookie can cover them all.

Cookies cannot be shared across unrelated domains.

For example, a cookie set for example.com cannot also ignore visits on another-site.net.

Browser-specific

The ignore setting only applies to the browser where you opened ignore.php.

If you use several browsers or devices, open the ignore URL once from each one.

Examples:

Desktop browser
Mobile browser
Private browsing profile
Another computer

How to stop ignoring your visits

Delete the brivacia_ignore cookie from your browser, or clear the site data for your Brivacia/tracked domain.

After the cookie is deleted, your visits will be counted again.

Notes

The ignore cookie is separate from the Brivacia admin login cookie.

Logging in or out of Brivacia does not enable or disable ignored visits.

The ignore cookie is intended for administrators, site owners, developers and testers.

Do you find this project useful? You can support its development using the buttons in the page footer.