General settings
Everything under Settings → General: installing the script, cookieless mode, your domain, the managed proxy, the timezone, the revenue color scheme, your website's identity, the public dashboard flag — and deleting a website. This guide walks through each card top to bottom.
Install the script
The first card is the install snippet — the small script tag that starts collecting analytics. It loads async and never blocks your page. The Script tab shows it for plain HTML and Next.js; the Next.js tab shows the next/script form for your root layout (app/layout.tsx):
1<script2 defer3 data-website-id="stz_YOUR_WEBSITE_ID"4 data-domain="yourwebsite.com"5 src="https://YOUR-STATIZ-HOST/js/script.js"6></script>Paste the HTML version into the <head> of every page (or your layout template). The settings page always shows your exact snippet — the one below uses placeholders.
Cookieless / privacy mode
The checkbox under the snippet switches how visitors are counted. Off (default), the script keeps a random visitor ID in localStorage — no cookies — so returning visitors and long-term revenue attribution work across days.
On, statiz stores nothing on your visitors' devices: the snippet swaps to the cookieless script and the server identifies each visitor with an anonymous hash that rotates every 24 hours. Your visitor's IP is only ever an input to that hash — never stored.
- Same visitor, same day → still one visitor.
- Same visitor, next day → a new, unlinkable visitor.
statiz.visitorId()returnsnull(there is no ID to read).
Turn it on when privacy compliance matters more than new-vs-returning accuracy — the card's helper text spells out the trade-off, and Cookieless tracking explains the mechanics in depth.
Domain
Your website's main domain — the origin statiz accepts events from. Every subdomain of it is tracked automatically, so app.yourwebsite.com and blog.yourwebsite.com work without extra setup.
- Save normalizes what you type (no scheme, no
www.) and checks the domain isn't already registered on your statiz deployment. - Your public Statiz ID (
stz_…) is shown under the field — it's thedata-website-idin your snippet. - Changing the domain updates where events are accepted from (and your snippet) — old data stays attributed to the website.
localhost origins are always accepted, regardless of the registered domain.Managed proxy
Ad blockers block requests to known analytics domains. The managed proxy serves the script and its events from a subdomain of your website — first-party traffic blockers don't touch. Statiz handles the routing and SSL; you add one DNS record.
- Enter a subdomain — e.g.
a.yourwebsite.com— and click Enable. - Add the DNS record the card shows: a
CNAMEfrom your subdomain to the displayed target (each value has a copy button). - Click Check status until the badge turns Active — usually 1–10 minutes after the DNS change. Pending and Error states always say exactly what's missing.
- Replace the script tag on your site: the snippet above now loads from
https://a.yourwebsite.comand sends its events there too.
Pick a short, neutral subdomain (a., cdn.) — names like analytics or tracking are on blocklists themselves. Disable switches everything back and clears the setup; the DNS record is yours to delete. Full details — including Vercel and self-hosted SSL — in Managed proxy.
Timezone
Defines what today means in your reports: Today, This week, This month and every day boundary on your charts follow it. The select shows a live clock for the highlighted zone — pick the one your audience (or you) lives in, then Save. New reports bucket by it on the next dashboard load; historical data isn't rewritten.
Color scheme
One color represents revenue everywhere on this website's dashboard. Pick any of the ten swatches — it saves instantly (no Save button) and the three live previews show exactly where it lands:
- Chart — the revenue bars behind the visitors line and the Revenue / Revenue-per-visitor lines.
- Lists — the revenue segment in every card's Revenue mode: channels, referrers, campaigns, keywords, pages, devices, countries, regions, cities.
- Map · donut · payments — the world map and channel donut ramps, tooltip swatches, and the Journey tab's payment dots.
The pick applies in both light and dark mode (each theme derives its own tints) and to the whole dashboard — pick red and every revenue element on every card turns red.
Website identity
A friendly name and logo for your view of the dashboard — visitors never see these:
- Display name — replaces the domain in the website switcher and the sites list (e.g. “Unicorn”).
- Custom icon — upload a PNG or JPG; it's resized in your browser to a 64×64 WebP and replaces the favicon in the switcher, sites list and live map. Remove reverts to the site's favicon.
Public dashboard
Flipping the toggle publishes a read-only copy of this dashboard at /public/<your-site-id> — anyone with the link can view it, no account needed. Public sections picks which of the eight dashboard sections it renders (at least one must stay shared), and Public interactions picks what visitors may do there:
- Filter — the filter panel, active filter chips and the per-row filter icons on every list, so visitors can slice the shared cards by channel, country, page, device and more.
- Compare — the Compare toggle with its deltas and previous-period overlays on the main graph and stat tiles.
Both are on by default, and the refresh button is always available — a visitor sees and can do exactly what you see, with one exception: visitor names, emails and payment ids are always masked on the public page (a payer shows as PHI** ******), and nothing on it can edit your data or settings. Turning an interaction off also makes the public page ignore that parameter in shared links.
Checkboxes in this card toggle instantly but only live in your browser — an Unsaved changes bar appears below the grids. Press Save changes to write everything (sections + interactions together) to the public dashboard, or Cancel to revert.
Delete website
The red Delete link at the bottom opens a confirmation dialog. To confirm, type the website's domain exactly — deleting removes the website with all of its analytics: sessions, events, goals, funnels, revenue connections and settings. It cannot be undone.