sectionsight
An agent skill that sets up website analytics that respect visitors, and
proves it in a real browser.

Ask your coding agent to "add privacy-first analytics to this site". It
then does this:
- asks the owner about the few decisions only they can make: the
consent model, where data lives, retention, private pages;
- builds a cookieless tracker that measures what people actually read:
active seconds per page section and whether it was read; scroll depth, CTA and goal clicks, form submits (never their content),
dead and rage clicks, copies, prints and video plays, and 404 pages
(including which ones came from broken links on the site itself; a
link checker in CI covers images and files); and,
opt-in, the site's own JavaScript errors (scrubbed, counted per page,
never tied to a visit) and Core Web Vitals (LCP, CLS, INP, TTFB as
buckets, with the section that was slow). A same-origin collector stores
the data;
- adds, if wanted:
- a consent banner designed around the EDPB Cookie Banner Taskforce
report and CNIL guidance;
- PostHog session replay that runs only after consent;
- one Slack (or e-mail) line per notable visit;
- a weekly "what changed" digest from the totals: this week against last
week and the 4-week average with the counts beside every percentage,
small counts rounded (under 10 shows as
<10), sections whose read
rate moved, goals by source, new sources, outbound hosts, 404 paths
and JavaScript errors, slow pages, deploys, and, if the owner counts
them, the consent banner's accept rate, which shows what share of visitors
the per-visit rows cover;
- optional, in the tracker:
data-strip-utm removes campaign tags from
the address bar once read (including on Next.js's App and Pages routers);
- deploy markers from CI, so the digest lists deploys and health alerts
say "after deploy ";
- AI visibility: visits from AI assistants (ChatGPT, Perplexity, Claude,
Gemini, Copilot and others) grouped, AI crawlers counted on the server
from a vendored snapshot of the ai.robots.txt list (which pages, which
response status, which fetches were made live for a user's question; never an
IP or a user agent), and Search Console's daily top queries and pages
without the
googleapis package;
- health and anomaly alerts to an ops channel: failed writes behind the
collector's silent 204, a form that is sent but never confirmed (its
backend is broken), and, on sites with steady traffic, hours without a
visit, a day far below or far above the usual, a goal that stopped,
404 spikes and new broken links, new or spiking JavaScript errors, each
compared with the same weekday and hours of earlier weeks;
- enforces what it promises about data:
- retention enforced for every store without a TTL (files, SQL), with the
oldest stored day shown to the owner, and the bot's own Slack lines
deleted after N days;
- "Delete my visit data" in the reopened banner: the collector deletes
that visit's rows, and consent is withdrawn; helpers to export or
delete a visit on request;
- drafts the privacy-page text for what was actually built;
- verifies it with a headless browser:
- nothing stored and no ids before consent;
- no e-mail or token from the query string, and no token-like path
segment, in any report, PostHog event or recording;
- private pages silent;
- a withdrawal stops every open tab;
- Global Privacy Control honoured;
- "Delete my visit data" sends the visit id and nothing else;
- with errors on, an error whose message holds the probe e-mail and
token is reported scrubbed and without ids;
- with consent counts on, the banner's reports carry no ids, including
the Accept;
- and, read-only, the things that quietly break: CTA links pointing
where they should, pages that must (or must not) be indexable
(meta robots,
X-Robots-Tag, robots.txt), a sitemap whose URLs
answer, and a privacy page that names every service the data goes to;
- keeps checking in CI: a GitHub Actions workflow runs the same check on
every pull request (blocking or warning, as the owner chooses) and every
night against production, without writing data, from one shared config
file.
🎯 🇨🇿 · mobile · google · / 0:42 ↓75% (pricing 0:20 · intro 0:12) → /signup 1:10 → 🎯 signup · ▶ replay
No Slack? The same reports go out by e-mail as plain text:

Why