Skip to content

Website settings

A website’s Settings tab is for its admins. It has two halves: Install & share and Configuration.

The Settings tab: the Tracking code card with the script tag, and the Public dashboard & badge card below it.

The tracking code card has four tabs:

  • Script: the script tag to paste into your pages, the optional queue stub, and the link that excludes your own visits.
  • Custom events: examples of beacon.track() and data-beacon-event.
  • TypeScript: beacon.d.ts, for autocomplete on window.beacon.
  • Server & CI: fetch and curl examples for server-side events and deploy annotations.

Turn on a read-only public link to the dashboard. See Sharing.

Setting What it does
Name, Domain How the website appears in Beacon. The domain is also the default allowed hostname.
Reporting timezone Where days start and end in reports, digests and the chart.
Outbound link clicks Track clicks on links to other hosts.
File downloads Track clicks on links to PDFs, ZIPs and other files.
Core Web Vitals Collect LCP, INP, CLS and TTFB. See Web Vitals.
Respect Do Not Track / GPC Drop events from browsers that send DNT: 1 or Sec-GPC: 1.
Allowed hostnames One per line; subdomains are included. Empty means the domain above. Events from other hosts are dropped.
Excluded paths Exact paths, or prefixes ending in * (/admin/*). Events on them are dropped.
Excluded IPs IPs or CIDR ranges (10.0.0.0/8). Checked in memory and never stored.
Collect data Turn off to pause the website: it rejects new events but keeps its data.

Changing the tracking switches changes the snippet, so copy it again afterwards. Ingest picks up every other change within seconds.

Delete at the bottom of the tab removes the website and, in the background, all of its analytics. It can’t be undone.