How to get picked for product analytics by coding agents
PostHog took 62% of the choices in 747 judged product analytics sessions. What the numbers say a vendor in this category should do.
If you sell product analytics tools, this page is the part of the market no dashboard shows you: what a coding agent does when a developer asks for product analytics and never compares vendors.
The numbers come from 747 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code, spread across 10 realistic codebases, with every session read by a judge.
What coding agents choose for product analytics
Across 747 judged sessions, PostHog was chosen most often, with 62% of the choices. Metabase was second with 12%.
| # | Product | Runs won | Share |
|---|---|---|---|
| 1 | PostHog | 421 | 62% |
| 2 | Metabase | 65 | 12% |
| 3 | Mixpanel | 26 | 6% |
| 4 | Looker Studio | 17 | 4% |
| 5 | Amplitude | 20 | 2% |
| 6 | Umami | 10 | 1% |
| 7 | Looker | 3 | 1% |
| 8 | Mitzu | 4 | 1% |
| 9 | Datadog Product Analytics | 4 | 1% |
| 10 | Amazon Quick Sight | 1 | 1% |
Full board, every run replayable: the product analytics leaderboard.
What the shape of this category means
One product takes 62% of the choices. This category is close to decided, and a challenger does not win it with content this quarter.
PostHog is in the training data, in the templates and in the repositories. At 62% of the choices an agent reaches for it without deliberating.
No amount of writing changes that this quarter. What Metabase and the rest of the field can do is narrow: there are always requests the default fits badly, and those are winnable in full.
What does work is narrowing. Find the requests where the leader is a bad fit and own those completely. Regional requirements, a pricing model the leader does not offer, a compliance constraint, a stack the leader supports poorly. Write those pages in the words the request uses.
And check the persona split below. A category can be decided for one kind of buyer and open for another.
The agents do not agree with each other
In this category Claude Code, Codex and Cursor all put PostHog first, which is less common than it sounds: across the 31 categories we measured, Claude Code and Codex disagreed on the leader in 15 of them.
Grok Build CLI (29 sessions) and Muse Code (150 sessions) join this table with fewer runs, so read their rows as indicative.
| Agent | Runs | Picked most often |
|---|---|---|
| Claude Code | 180 | PostHog (89) |
| Codex | 239 | PostHog (137) |
| Cursor | 149 | PostHog (89) |
| Grok Build CLI | 29 | PostHog (14) |
| Muse Code | 150 | PostHog (92) |
Even where they agree, they get there differently. In this category Codex ran a web search in 97% of its sessions and Claude Code in 16%, so what you publish reaches nearly all of Codex's product analytics sessions and a minority of Claude Code's.
Who is asking changes the answer
Every request in this experiment was written as a specific kind of person. In this category the leader changes with the person.
| Who is asking | Runs | Picked most often |
|---|---|---|
| Vibe coder | 75 | PostHog |
| Junior developer | 299 | PostHog |
| Senior engineer | 298 | PostHog |
| Enterprise team | 75 | Datadog Product Analytics |
That is 2 different products winning product analytics for 4 kinds of buyer, out of the same 747 sessions. Nobody here is winning product analytics. They are each winning one kind of buyer.
If you sell to more than one of them, you need pages for each. See how to win the enterprise persona.
What you are really competing against
Hand-written code took 1% of the choices: the agent wrote it itself rather than adopting a product. That is low enough that your competition is other vendors, but high enough to be worth watching.
Considered, and never chosen
Because the judge records every product an agent raised and not only the one it picked, this board also shows who kept reaching the shortlist and losing. In product analytics the clearest case is Google Analytics: on the table in 117 sessions, chosen in none.
| Product | Raised in | Chosen in |
|---|---|---|
| Google Analytics | 117 sessions | 0 |
| Fathom | 86 sessions | 0 |
| Heap | 50 sessions | 0 |
| RudderStack | 43 sessions | 0 |
Being rejected is a better position than being unknown, and a cheaper one to fix. The product is already in the agent's head and on the list. Whatever ended those 296 sessions is recorded in each transcript, one reason at a time.
What to do about it in product analytics
- Do not attack PostHog head on. At 62% it is the default an agent reaches for without deliberating. Find the requests where it fits badly, which in our data means regional requirements, a pricing model it does not offer, a compliance constraint or a stack it supports poorly, and own those in the words the request uses.
- Pick which buyer you are for. The same product analytics need written as a vibe coder landed on PostHog, and written as an enterprise team landed on Datadog Product Analytics. Those are two markets, and the enterprise one needs pages containing the constraint words: audit log, data residency, retention, single sign-on. See how to win the enterprise persona.
The work that applies to every category rather than to this one is written up separately: audit your documentation, write a quickstart an agent can follow, and how to measure install share.
Every product analytics tool on this board
One page per product, with its install share, the per-agent split, and how often it was raised without being chosen.
- Do coding agents recommend PostHog? — 62% of the choices
- Do coding agents recommend Metabase? — 12% of the choices
- Do coding agents recommend Mixpanel? — 6% of the choices
- Do coding agents recommend Looker Studio? — 4% of the choices
- Do coding agents recommend Amplitude? — 2% of the choices
- Do coding agents recommend Umami? — 1% of the choices
- Do coding agents recommend Grafana? — 0% of the choices
- Do coding agents recommend Segment? — 0% of the choices
- Do coding agents recommend Vercel Analytics? — chosen in 27 sessions, none by a model version the board counts
- Do coding agents recommend Google Analytics? — raised in 117 sessions, chosen in none
- Do coding agents recommend Fathom? — raised in 86 sessions, chosen in none
Where these numbers come from
747 judged sessions in product analytics across 10 codebases, part of a published set of 19,501. Real coding agents at pinned versions, in sandboxes, inside realistic codebases, with a simulated project owner in the loop and a blind judge on every session. The full method is on one page: how we measured this.
Every product analytics run can be replayed on the board.
<!-- generated by scripts/write-data-pages.mjs -->
Common questions
How many codebases is this based on?
747 judged sessions across 10 realistic codebases. A category only runs on repositories where its seam is open, so coverage differs: some categories ran on more than ten codebases and some on two.
What product analytics tool do coding agents choose?
Across 747 judged sessions, PostHog was chosen most often, with 62% of the choices. Metabase was second with 12%. The result changes by who is asking.
Do Claude Code and Codex pick the same product analytics tool?
Yes. Claude Code and Codex both put PostHog first in this category, which is less common than it sounds: they disagree on the leader in 15 of the 31 categories we measured.
How often do agents build product analytics themselves instead of installing something?
Hand-written code took 1% of the choices: the agent wrote it itself rather than adopting a product.
How can a vendor improve its position here?
Make the quickstart run when pasted, state the current version on the documentation page, use one name across product, package and import, write pages for the symptoms users describe rather than only the category name, and get into the repository through templates and framework integrations.
Which product analytics tools do agents consider but never choose?
Google Analytics (raised in 117 sessions, chosen in none), Fathom (raised in 86 sessions, chosen in none), Heap (raised in 50 sessions, chosen in none), RudderStack (raised in 43 sessions, chosen in none). Being considered and not chosen is a different problem from being unknown, and it is usually fixable.
Where this comes from
Armature ran 19,501 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.