agentlyticsby measuremy.site
MCP Works with Claude Code, Cursor and Codex

agentlyticsby measuremy.site

Website analytics your AI agent can read, explain and act on.

Add 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.

Set it up with one prompt to your coding agent
Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt
5,000 pageviews/month free No cookies No credit card
measuremy.site/app · yoursite.com
Pageviews12,480▲ 38%
Visitors4,912▲ 24%
Signups187▲ 61%
Spike · +312% at 14:00
84% from news.ycombinator.com → /pricing · 23 signups
❯ What caused today's traffic jump?
● agentlytics · explain_spike
Your Show HN post. 84% of the extra visits came from Hacker News and landed on /pricing; 23 signed up. Want a follow-up post with a tracked link?
Connects toClaude CodeCursorCodexAny MCP client
From traffic to plan

Stop reading dashboards. Ask your agent what to do next.

agentlytics measures your site, explains what moved it, and gives your coding agent the tools to act on it.

Track

A 1 KB cookieless script records pageviews, referrers, UTM tags and the events you care about, like signups and purchases.

Understand

Spikes 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.

Grow

Your agent connects over MCP, plans marketing from what already worked, creates tracked links for what it ships, and checks the results.

Spike detection

Every spike, explained.

When traffic jumps, you see why in seconds: which referrer, which landing page, which conversions, and what you shipped the day before.

  • Compared with your own normal. Each hour is measured against the same hour of the week, so Monday mornings don't look like spikes.
  • Causes ranked by lift. Sources, pages and events, each with its share of the extra traffic.
  • Context included. Launches, posts and deploys you log show up next to the spike they caused.
+1,240 pageviews above normalTue 14:00 UTC · 3h
source news.ycombinator.com84%
page /pricing61%
event signup+23
AI analysisThe 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.
The marketing loop

Your agent plans it, ships it and measures it.

The 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.

  • Tracked links by default. Every post, email or ad gets its own campaign, so results are never guesswork.
  • Actions ranked by evidence. Suggestions come from your real channels and conversion rates, not generic advice.
❯ Plan this week's marketing from what's working.
● agentlytics · get_growth_actions
Reddit converts at 4.1%, best of your channels. I drafted a post for r/SaaS.
● agentlytics · create_tracked_link
yoursite.com/?utm_source=reddit&utm_campaign=launch-week
❯ How did it do?
● agentlytics · get_campaign_results
launch-week: 642 visitors, 31 signups (4.8%). Worth repeating next Tuesday.
MCP tools

What your agent gets

A focused set of tools over the Model Context Protocol. Each read key is scoped to a single site.

get_overview

Visitors, pageviews and change vs the previous period

find_traffic_spikes

Every unusual jump, compared with the same hour in past weeks

explain_spike

The sources, pages and events behind a spike, ranked

query_visits

Ask about visits: filter by country, browser, OS, source or page, and group the counts

recent_visits

The latest individual visits, with where they came from and what they used

top_countries

Where visitors are from, plus top_browsers and top_systems for what they use

get_whats_working

Channels ranked by conversions and growth

get_growth_actions

A ranked action list built from your own numbers

create_tracked_link

A tracked link for every post, email or ad your agent ships

get_campaign_results

What each campaign actually brought in

add_annotation

Log launches, posts and deploys so spikes have context

set_public_dashboard

Publish a public dashboard, or turn it off, when you ask

Setup

Live in two minutes

Paste 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.

Paste this into Claude Code, Cursor or Codex
Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt

Add your site

Your agent asks for your email and domain, or sign up yourself. No password, no card.

Paste one tag

The snippet goes in your site's <head>. It also proves you own the domain.

<script defer src="https://a.measuremy.site/t.js"
  data-key="pk_…"></script>

Connect your agent

One command for Claude Code, a config file for Cursor and Codex.

claude mcp add --transport http \
  agentlytics https://a.measuremy.site/mcp
Privacy

Useful numbers, no surveillance

No cookies

Nothing is stored in your visitors' browsers, so there's no consent banner to add for us.

No personal data

IP addresses are never stored. Visitors are counted with a hash that changes every day.

Your domain only

Sites are verified before anything is recorded, and each read key sees one site.

Bots filtered

Crawlers, previews and headless browsers are dropped before they reach your numbers.

Pricing

Start free. Upgrade when you grow.

Every plan includes every feature. Plans differ only in pageviews and sites.

Free
$0$0/mo
foreverforever

For trying it out and small personal sites.

  • 5,000 pageviews / month
  • 1 site
  • Spike detection with AI explanations
  • MCP access for Claude Code, Cursor and Codex
  • Growth actions and tracked campaign links
  • Weekly email summary
Start free
Starter
$9$7.5/mo
billed monthly$90 billed yearly

For growing products and side projects.

  • 100,000 pageviews / month
  • 3 sites
  • Spike detection with AI explanations
  • MCP access for Claude Code, Cursor and Codex
  • Growth actions and tracked campaign links
  • Weekly email summary
Choose Starter
Growth Most popular
$29$24.17/mo
billed monthly$290 billed yearly

For companies with real traffic and several sites.

  • 500,000 pageviews / month
  • 10 sites
  • Spike detection with AI explanations
  • MCP access for Claude Code, Cursor and Codex
  • Growth actions and tracked campaign links
  • Weekly email summary
Choose Growth
Scale
$79$65.83/mo
billed monthly$790 billed yearly

For high-traffic sites and portfolios.

  • 2,000,000 pageviews / month
  • 25 sites
  • Spike detection with AI explanations
  • MCP access for Claude Code, Cursor and Codex
  • Growth actions and tracked campaign links
  • Weekly email summary
Choose Scale
More than 2M pageviews a month?
Tell us your traffic and we'll set up a custom plan with higher limits.
Contact us
FAQ

Questions

Do I need an AI agent to use it?

No. 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.

Which agents are supported?

Any 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.

How do you know I own my domain?

When 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.

What happens if I go over my plan's limit?

New 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 for a custom plan.

How long is data kept?

Raw 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.

Let your agent grow your site.

Set up in two minutes. Free for 5,000 pageviews a month.

Create your free account