Guides
Practical guides to analytics your coding agent can use.
A website analytics MCP server: ask your agent about your traffic
What an analytics MCP server gives your coding agent, and how to connect one.
Add website analytics to your project with Claude Code
One prompt sets up the script, verification and the agent connection.
Find out why your website traffic spiked
How a spike is detected and how to see which source, page or post caused it.
Track clicks and find where visitors drop off, without writing code
Track a click with one attribute, then see where visitors drop out of a funnel.
Cookieless analytics: how it works, and what you give up
How visitors are counted with no cookies and no stored IP addresses, and the trade-offs.
A simpler Google Analytics alternative for developers
When a lightweight, agent-readable tool beats Google Analytics, and when it doesn't.
How to add analytics to your Next.js site
One script tag in app/layout.tsx, plus signups and other events.
How to add analytics to your Astro site
One script tag in your base layout, plus signups and other events.
How to add analytics to your Vite, React or Vue site
One script tag in index.html, plus signups and other events.
How to add analytics to your SvelteKit site
One script tag in src/app.html, plus signups and other events.
How to add analytics to your Hugo site
One script tag in your head partial, plus signups and other events.
How to add analytics to your Docusaurus site
One script tag in docusaurus.config.js, plus signups and other events.
How to add analytics to your WordPress site
One script tag in your theme's header, plus signups and other events.