{"slug": "show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on", "title": "Show HN: Agentlytics – cookieless analytics your AI agent can read and act on", "summary": "Measuremy.site launched Agentlytics, a cookieless website analytics product that exposes 12 tools over the Model Context Protocol so coding agents such as Claude Code, Cursor and Codex can read traffic data and act on it. The 1 KB script records pageviews, referrers, UTM tags and events, detects traffic spikes hourly against the same hour in past weeks, and lets agents create tracked links, log annotations and pull campaign results. The product is pitched as a two-minute setup via a single prompt to a coding agent, with a live public dashboard for measuremy.site requiring no sign-up.", "body_md": "*MCP*Works with Claude Code, Cursor and Codex\n\n# agentlyticsby **measuremy.site**\n\nWebsite analytics your AI agent can read, explain and act on.\n\nAdd one script tag. See every traffic spike, where it came from and why. Then let your coding agent turn it into a marketing plan, ship it with tracked links and measure what worked.\n\n`Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt`\n**12,480**\n\n*▲ 38%*\n\n**4,912**\n\n*▲ 24%*\n\n**187**\n\n*▲ 61%*\n\n**Spike · +312% at 14:00**\n\n84% from news.ycombinator.com → /pricing · 23 signups\n\n## Analytics for AI agents, in 36 seconds.\n\nYour agent reads your traffic and visits, then helps you plan your next marketing move.\n\nNo sound. Sample numbers for illustration. Want real numbers? [Open this site's own live dashboard](https://measuremy.site/share/measuremy.site), no sign-up needed.\n\n## Stop reading dashboards. Ask your agent what to do next.\n\nagentlytics measures your site, explains what moved it, and gives your coding agent the tools to act on it.\n\n### Track\n\nA 1 KB cookieless script records pageviews, referrers, UTM tags and the events you care about, like signups and purchases.\n\n### Understand\n\nSpikes are detected every hour against the same hour in past weeks. Each one shows the source, page and event that drove it, with an AI summary.\n\n### Grow\n\nYour agent connects over MCP, plans marketing from what already worked, creates tracked links for what it ships, and checks the results.\n\n## Every spike, explained.\n\nWhen traffic jumps, you see why in seconds: which referrer, which landing page, which conversions, and what you shipped the day before.\n\n- **Compared with your own normal.** Each hour is measured against the same hour of the week, so Monday mornings don't look like spikes.\n- **Causes ranked by lift.** Sources, pages and events, each with its share of the extra traffic.\n- **Context included.** Launches, posts and deploys you log show up next to the spike they caused.\n\n**+1,240 pageviews above normal** Tue 14:00 UTC · 3h\n\n*84%*\n\n*61%*\n\n*+23*\n\n**AI analysis** The Show HN post drove most of the rise. Visitors went straight to pricing and converted at 1.9×, so a follow-up post on the same audience is the best next step.\n\n## Your agent plans it, ships it and measures it.\n\nThe same agent that writes your code can now run growth: it reads what worked, drafts the next post, tags every link it publishes and reports back.\n\n- **Tracked links by default.** Every post, email or ad gets its own campaign, so results are never guesswork.\n- **Actions ranked by evidence.** Suggestions come from your real channels and conversion rates, not generic advice.\n\n## What your agent gets\n\nA focused set of tools over the Model Context Protocol. Each read key is scoped to a single site.\n\n`get_overview`\nVisitors, pageviews and change vs the previous period\n\n`find_traffic_spikes`\nEvery unusual jump, compared with the same hour in past weeks\n\n`explain_spike`\nThe sources, pages and events behind a spike, ranked\n\n`query_visits`\nAsk about visits: filter by country, browser, OS, source or page, and group the counts\n\n`recent_visits`\nThe latest individual visits, with where they came from and what they used\n\n`top_countries`\nWhere visitors are from, plus top_browsers and top_systems for what they use\n\n`get_whats_working`\nChannels ranked by conversions and growth\n\n`get_growth_actions`\nA ranked action list built from your own numbers\n\n`create_tracked_link`\nA tracked link for every post, email or ad your agent ships\n\n`get_campaign_results`\nWhat each campaign actually brought in\n\n`add_annotation`\nLog launches, posts and deploys so spikes have context\n\n`set_public_dashboard`\nPublish a public dashboard, or turn it off, when you ask\n\n## Live in two minutes\n\nPaste one sentence into your coding agent. It signs you up with a code from your email, adds the snippet to your project and connects itself. Or do it by hand on Next.js, React, Astro, WordPress, Webflow, Framer, Shopify, Squarespace, Wix, Ghost, Google Tag Manager and Plain HTML.\n\n`Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt`\n### Add your site\n\nYour agent asks for your email and domain, or sign up yourself. No password, no card.\n\n### Paste one tag\n\nThe snippet goes in your site's `<head>`. It also proves you own the domain.\n\n```\n<script defer src=\"https://a.measuremy.site/t.js\"\n  data-key=\"pk_…\"></script>\n```\n\n### Connect your agent\n\nOne command for Claude Code, a config file for Cursor and Codex.\n\n```\nclaude mcp add --transport http \\\n  agentlytics https://a.measuremy.site/mcp\n```\n\n## Useful numbers, no surveillance\n\n### No cookies\n\nNothing is stored in your visitors' browsers, so there's no consent banner to add for us.\n\n### No personal data\n\nIP addresses are never stored. Visitors are counted with a hash that changes every day.\n\n### Your domain only\n\nSites are verified before anything is recorded, and each read key sees one site.\n\n### Bots filtered\n\nCrawlers, previews and headless browsers are dropped before they reach your numbers.\n\n## Start free. Upgrade when you grow.\n\nEvery plan includes every feature. Plans differ only in pageviews and sites.\n\n**Free**\n\nFor trying it out and small personal sites.\n\n- **5,000** pageviews / month\n- 1 site\n- Spike detection with AI explanations\n- MCP access for Claude Code, Cursor and Codex\n- Growth actions and tracked campaign links\n- Weekly email summary\n\n[Start free](https://measuremy.site/login)\n\n**Starter**\n\nFor growing products and side projects.\n\n- **100,000** pageviews / month\n- 3 sites\n- Spike detection with AI explanations\n- MCP access for Claude Code, Cursor and Codex\n- Growth actions and tracked campaign links\n- Weekly email summary\n\n[Choose Starter](https://measuremy.site/app/billing#plans)\n\n**Growth** Most popular\n\nFor companies with real traffic and several sites.\n\n- **500,000** pageviews / month\n- 10 sites\n- Spike detection with AI explanations\n- MCP access for Claude Code, Cursor and Codex\n- Growth actions and tracked campaign links\n- Weekly email summary\n\n[Choose Growth](https://measuremy.site/app/billing#plans)\n\n**Scale**\n\nFor high-traffic sites and portfolios.\n\n- **2,000,000** pageviews / month\n- 25 sites\n- Spike detection with AI explanations\n- MCP access for Claude Code, Cursor and Codex\n- Growth actions and tracked campaign links\n- Weekly email summary\n\n[Choose Scale](https://measuremy.site/app/billing#plans)\n\n**More than 2M pageviews a month?**\n\n[Contact us](https://measuremy.site/contact?topic=custom)\n\n## Questions\n\n## Do I need an AI agent to use it?\n\nNo. The dashboard shows traffic, spikes with their causes, campaigns and suggested actions. The agent connection is there when you want it to do the work.\n\n## Which agents are supported?\n\nAny client that speaks MCP over HTTP. Setup is one command for Claude Code and a short config file for Cursor and Codex. [See the agent guide](https://measuremy.site/docs/mcp).\n\n## How do you know I own my domain?\n\nWhen the snippet is live on your homepage, the first visit verifies it automatically. If you load it through a tag manager, add a DNS TXT record instead. Nothing is recorded until then.\n\n## What happens if I go over my plan's limit?\n\nNew visits stop being recorded until next month or until you upgrade, and everything you've already collected stays available. You'll see a warning at 80%, and there are never surprise overage charges. Above 2M pageviews a month, [contact us](https://measuremy.site/contact?topic=custom) for a custom plan.\n\n## How long is data kept?\n\nRaw visits are kept for 400 days. Hourly totals and detected spikes are kept for as long as you have an account. Free accounts that nobody has used for three months (no login and no agent use) are deleted with their data, after an email warning two weeks in advance.\n\n## Let your agent grow your site.\n\nSet up in two minutes. Free for 5,000 pageviews a month.\n\n[Create your free account](https://measuremy.site/login)", "url": "https://wpnews.pro/news/show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on", "canonical_source": "https://measuremy.site", "published_at": "2026-10-03 15:43:20+00:00", "updated_at": "2026-10-03 16:06:57.403309+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "ai-products", "developer-tools"], "entities": ["Agentlytics", "measuremy.site", "Model Context Protocol", "Claude Code", "Cursor", "Codex", "Next.js", "WordPress"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on", "markdown": "https://wpnews.pro/news/show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on.md", "text": "https://wpnews.pro/news/show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on.txt", "jsonld": "https://wpnews.pro/news/show-hn-agentlytics-cookieless-analytics-your-ai-agent-can-read-and-act-on.jsonld"}}