PostHog: installed in 28 of 30 answers
We asked Claude, GPT and Gemini to add product analytics to an app, 30 times, never naming a product. PostHog was installed first in 28 of 30 answers.
The badge
Free to embedFor PostHog’s site, README or docs. It links back to this page, so anyone can check the numbers behind it.
<a href="https://installrate.com/winners/posthog/?utm_source=badge"><img src="https://installrate.com/badge/posthog.svg" alt="Most installed by AI coding agents: Product analytics (InstallRate)" width="280" height="60"></a>[](https://installrate.com/winners/posthog/?utm_source=badge)<a href="https://installrate.com/winners/posthog/?utm_source=badge"><img src="https://installrate.com/badge/posthog-light.svg" alt="Most installed by AI coding agents: Product analytics (InstallRate)" width="280" height="60"></a>[](https://installrate.com/winners/posthog/?utm_source=badge)<a href="https://installrate.com/winners/posthog/?utm_source=badge"><picture><source media="(prefers-color-scheme: dark)" srcset="https://installrate.com/badge/posthog.svg"><img src="https://installrate.com/badge/posthog-light.svg" alt="Most installed by AI coding agents: Product analytics (InstallRate)" width="280" height="60"></picture></a>Markdown can’t switch between light and dark: in a GitHub README, paste the HTML above.
<a href="https://installrate.com/winners/posthog/?utm_source=badge"><img src="https://installrate.com/badge/posthog-flat.svg" alt="Most installed by AI coding agents: Product analytics (InstallRate)" height="20"></a>[](https://installrate.com/winners/posthog/?utm_source=badge)The image comes from installrate.com, so it always shows our latest run. We count which sites show it (the site’s address only, no cookies, nothing about its visitors). Want a different size or wording? [email protected]
Task by task
5 build prompts · 6 answers eachEach mark is one answer. Lit means it installed PostHog first.
“Add product analytics to my Next.js SaaS: track sign-ups, activation and feature usage.”
6/6Every answer“I want funnels and retention charts for my React app. Set up event tracking.”
6/6Every answer“Track key events from my FastAPI backend (subscription started, report generated) for product analytics.”
6/6Every answer“Add privacy-friendly analytics to my marketing site and in-app event tracking to my dashboard.”
4/6Others: Plausible 2“Set up analytics so I can see which features my users use most and where they drop off in onboarding.”
6/6Every answer
What stands out
PostHog was named in all 30 answers and installed in 28. GPT and Gemini went PostHog 10 of 10, for Next.js, React and FastAPI alike.
The two it lost came from one prompt: “privacy-friendly analytics” for a marketing site, where Claude installed Plausible both times. Mixpanel came up twice and Amplitude once, and neither was installed.
Small sample: 30 answers, so the 95% band on PostHog’s share is 79%–98%. These are API answers to one-shot prompts, not agents working inside your repo. How we measure · raw answers.
Is your product losing these picks?
Your product against 3 competitors you choose, on Claude, GPT, Gemini and 8 open-source models, with the exact prompts where you lose and what to fix. Delivered within 24 hours.