More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    sectionsight

    1

    Privacy-first website analytics your agent builds into your site, then proves in a real browser.

    Free

    Security scanned
    sectionsight

    sectionsight

    Example session with this skill installed

    Add privacy-first analytics to this site. I want to know which sections people actually read, get a Slack message for interesting visits, and keep PostHog replay only for people who accept.

    • Read your context and instructions
    • Compiled the sectionsight
    • Generated the UI component

    Summary

    Analytics are in, with

    consent model B: totals for everyone with no cookies, per-visit rows and PostHog replay only after Accept. Everything ran through the browser check below.

    What I asked you, and your answers

    DecisionAnswer
    Consent modelB (banner, ids only after Accept)
    Where the data livesyour MongoDB, analytics database
    PostHog replayyes, after consent, EU host, inputs masked
    NotificationsSlack #visits, health alerts to #ops
    Retentiontotals 13 months, visit rows 90 days, Slack lines 30 days
    Private paths/account, /reset, /invite

    What I added

    • public/k.js + data-* settings in BaseLayout.astro (sections are your <section>s under <main>)
    • src/pages/api/k.ts: the same-origin collector (collector.mjs)
    • public/consent.js + consent.css: banner, "Privacy settings" link in the footer
    • posthog-guard.mjs: starts PostHog only after Accept, stops it on withdrawal
    • digest.mjs (Mondays 08:00 Europe/Prague), health.mjs, retention.mjs
    • ANALYTICS_DECISIONS.md and a draft section for your privacy page

    The check (node scripts/verify.mjs https://localhost:4321 --privacy-page /privacy)

    PASS  before consent: no cookies
    PASS  before consent: nothing stored in the browser
    PASS  before consent: no PostHog request
    PASS  before consent: reports carry no ids (mode consent)
    PASS  reports and events never carry the probe e-mail or token
    PASS  a refusal is remembered (no banner on the next page)
    PASS  after consent: PostHog sends events
    PASS  withdrawal: PostHog sends nothing more, in any tab
    PASS  Global Privacy Control: nothing is sent
    PASS  the privacy page names every service the browser sends data to
    ...
    PASSED (26 passed, 1 skipped)
    

    Next steps

    1. Read and adjust the privacy text draft (it is a draft, not legal advice).
    2. Set SLACK_WEBHOOK_URL and POSTHOG_KEY in your host's env, then deploy.
    3. Run the same check against production once it is live.

    consent.css

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Ask your coding agent to "add privacy-first analytics to this site". sectionsight asks you a few decisions, builds a cookieless setup into your own site, and then checks it with a headless browser.

    What you get:

    • Time actually spent on each page section and whether it was read, scroll depth, CTA and goal clicks, dead and rage clicks, 404s, JS errors and Core Web Vitals. No cookies, no ids.
    • A consent banner designed around the EDPB Cookie Banner Taskforce report and CNIL guidance. PostHog session replay is optional and only runs after consent.
    • A Slack or e-mail line per notable visit, a weekly digest, AI referral and crawler counts, health alerts, enforced retention, and self-service deletion of a visitor's data.
    • A draft of the privacy-page text.

    The check (scripts/verify.mjs, Playwright) proves the claims: nothing stored and no ids before consent, no e-mail or token in any request, withdrawal works across tabs, and, with --privacy-page, that the privacy page names every service the browser sends data to.

    Works on plain HTML, Astro, Next.js, React SPAs, Cloudflare and Node. Installs as a plugin in Claude Code, Codex and Gemini CLI.

    Not legal advice: the skill never claims compliance.

    Open source (MIT). Latest version, issues and changelog: https://github.com/Majny/sectionsight

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 5 days ago

    • Free to download with an account

    Requires

    Slack
    Posthog
    esbuild
    Node.js
    playwright

    Listed5 days ago

    What's inside

    Frequently Asked Questions