Developer finds 64 'active players' may have been inflated by review deploy traffic
A solo developer building a web-based Codenames AI game noticed an unexpectedly high active player count of 64 just three weeks after launch, despite minimal organic traffic from Google Search and limited social promotion. The Product Health dashboard counted distinct users who started or restored a game, but could not distinguish which runtime environment those users came from. Vercel preview URLs used for pull-request reviews shared the same analytics project key yet operated on different hostnames, each generating a fresh anonymous identity in PostHog rather than merging with known production users. This meant review-session clicks could register as new unique players, potentially inflating the count beyond genuine user activity. The developer resolved the issue by tagging every analytics event with an explicit runtime label — production, preview, local, or e2e — derived from hostname and build-time environment variables.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in