Logandline.
Agent-native, lightweight web analytics. Cookieless by default. Cost scales with events, not sites — an idle project costs nothing.
Don't set it up. Have your agent do it.
Copy this into Claude Code (or any coding agent) inside your project:
Add analytics to this project by following https://logandline.net/agent.md — instrument the events that matter, define a funnel, and verify data flows before reporting.
The agent creates the site, adds the one-line snippet, instruments meaningful events straight from your code, checks in an analytics.config.ts, and watches its own test events arrive before it says done. You configured nothing.
The one line it adds
<script defer src="https://logandline.net/a.js" data-site="st_..."></script>
What you get
- Visitors, pageviews, referrers, countries, funnels — bot traffic tagged and filtered, methodology visible
- Dashboards and events defined in a config file in your repo: diffable, portable, agent-editable
- No cookies, no consent banner in default mode, no per-site pricing, no setup wizard
- A CLI for everything:
npx logandline tailto watch events live,query,doctor