Answers
What's a lightweight alternative to PostHog if I only need web analytics?
If you only need web analytics, a lighter tool fits: nextanalytica for your agent, Plausible or Fathom for a dashboard, Umami to self-host.
Updated
If you only need web analytics, use a web analytics tool: nextanalytica if your agent should read the numbers and tell you what changed, Plausible or Fathom for one simple dashboard, Umami or Matomo to host it yourself. Stay with PostHog if you use its flags, experiments or replay.
How do you do it?
- Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls
get_tag, shows you the change and asks before committing. - Connect your agent: in Claude Code,
claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp, then/mcpto sign in.
What can you ask your agent?
- "Where did visitors come from this month, and which channel converts?"