Skip to content

Privacy

Beacon never sets cookies and never writes to localStorage, except for the opt-out flag described below.

For each event, ingest hashes the visitor’s IP address and user agent with a secret salt to get a visitor ID. The salt rotates, so the same person gets a new ID in the next period:

  • Monthly (default): unique visitors are counted per month.
  • Daily: stricter. A visitor who returns the next day counts again.

A superadmin picks the rotation in Settings → Privacy & retention. The salts are derived from INGEST_SECRET.

Stored Never stored
The hashed visitor ID The IP address
Page URL, title and referrer The user agent string
Browser, OS and device type, parsed from the user agent Cookies or any other browser storage
Country, region and city, when a GeoIP database is set up
Screen size and language
Custom event names and properties you send

identify() attaches your own user id to events. It’s opt-in, meant for your signed-in users, and kept in memory only in the browser.

Ingest drops events before they’re stored when:

  • they come from a bot,
  • the page’s host isn’t one of the website’s allowed hostnames,
  • the visitor’s IP or the page’s path is excluded in the website’s settings,
  • the website respects Do Not Track and the browser sends DNT: 1 or Sec-GPC: 1,
  • the event type is turned off for the website, or the website is paused.

All of these are set per website on its Settings tab.

Raw events can be deleted after a number of days, set in Settings → Privacy & retention. The worker enforces it every night. Deleting a website deletes its analytics too.

Open your site once with #beacon-ignore=true at the end of the URL. That browser stops sending events until you open it with #beacon-ignore=false. This flag is the only thing Beacon ever writes to the browser’s storage.