PostHog
An analytics platform used for tracking LLM events, product outcomes, and evaluation signals.
Key Highlights
- PostHog is increasingly used as an analytics layer for LLM events, product outcomes, and evaluation signals.
- A practical instrumentation pattern includes events for request start, completion, failure, rating, and task completion.
- Core tracked properties include latency, token counts, estimated cost, model, provider, environment, and status.
- Newsletter guidance recommends backend event logging and avoiding raw prompts or outputs in analytics payloads.
- PostHog was also referenced in integrations involving Nebula, LlamaIndex, LlamaParse, and OpenAI.
At a glance
- Website
- https://posthog.com
PostHog
Overview
PostHog is a product analytics company increasingly referenced in AI product workflows as a destination for logging, measuring, and analyzing LLM behavior alongside traditional product usage data. In the newsletter mentions, it appears not just as a general analytics tool, but as infrastructure for tracking model requests, outcomes, evaluation signals, and user-facing success metrics in one place.For AI Product Managers, that matters because shipping AI features requires more than prompt experimentation or model benchmarking. Teams need operational visibility into latency, token usage, cost, failure rates, user ratings, and downstream task completion. PostHog is relevant here because it can act as the analytics layer that connects LLM events to product outcomes, helping PMs understand whether an AI feature is reliable, affordable, and actually useful to users.
Key Developments
- 2026-01-27: PostHog was mentioned as one of the cloud services integrated into Nebula, an AI agent platform that automates workflows through specialized agents such as analytics workers, blog workers, and lead-gen workers. This positions PostHog as part of an agentic operating stack for automated businesses.
- 2026-02-14: PostHog was cited as having integrated LlamaIndex into its LLM Analytics offering, with a demo workflow using LlamaIndex, LlamaParse, and OpenAI to match product specifications to user needs. This highlights PostHog's role in instrumenting agent-style and retrieval-based AI applications.
- 2026-06-08: A newsletter mention detailed how to track LLM analytics in PostHog using a compact event schema, including events such as `llm_request_started`, `llm_request_completed`, `llm_request_failed`, `llm_output_rated`, and `llm_task_completed`. Recommended properties included identifiers like `trace_id`, `request_id`, and `prompt_version_id`, plus operational metrics such as `latency_ms`, `input_tokens`, `output_tokens`, `estimated_cost_usd`, `model`, `provider`, `environment`, and `status`. The guidance emphasized sending events from the backend, linking traces for debugging, and avoiding raw prompts or outputs in analytics payloads.
Relevance to AI PMs
1. Instrument AI features with outcome-aware analytics. PostHog can be used to track not only whether an LLM call succeeded, but whether it drove a meaningful product result. AI PMs can define a minimal event model that connects model activity to user outcomes, task completion, and human ratings.2. Monitor cost, latency, and reliability in production. The event patterns mentioned in the newsletter are practical for PMs managing AI feature quality. Tracking fields like token counts, latency, provider, model, and estimated cost makes it easier to spot regressions, compare providers, and manage unit economics.
3. Create safer observability practices for LLM systems. The recommendation to avoid storing raw prompts and outputs in analytics events is especially useful for PMs working with privacy-sensitive data. Using prompt version IDs, hashes, document types, and trace links enables debugging and analysis without unnecessarily exposing sensitive content.
Related
- LlamaIndex: Connected through PostHog's LLM Analytics integration, where it was used in an agent workflow demo.
- LlamaParse: Mentioned alongside LlamaIndex in the same workflow for matching product specs to user needs.
- OpenAI: Referenced as part of the integrated demo stack used with PostHog and LlamaIndex.
- Nebula: Integrates with PostHog as part of a broader AI agent platform for automating business workflows.
- GitHub: Listed as another service integrated with Nebula, placing PostHog in a common operational toolchain.
- Notion: Also part of Nebula's integration ecosystem, suggesting a stack where analytics, documentation, and execution tools connect.
- PromptLayer: The source of the June 2026 guidance on how to instrument LLM analytics in PostHog.
Frequently asked questions
What is PostHog?
An analytics platform used for tracking LLM events, product outcomes, and evaluation signals.
What should AI product managers know about PostHog?
PostHog is increasingly used as an analytics layer for LLM events, product outcomes, and evaluation signals. A practical instrumentation pattern includes events for request start, completion, failure, rating, and task completion. Core tracked properties include latency, token counts, estimated cost, model, provider, environment, and status.
Explore this topic
Newsletter Mentions (3)
“How to track LLM analytics in PostHog - Log a small, consistent set of LLM events in PostHog (llm_request_started, llm_request_completed, llm_request_failed, llm_output_rated, llm_task_completed) with core properties like trace_id, request_id, prompt_version_id, model, provider, environment, latency_ms, input_tokens, output_tokens, estimated_cost_usd, and status plus product/outcome/eval fields, send events from your backend, and never include raw prompts/outputs—use safe references (prompt_version_id, prompt_hash, document_type) and link to traces for debugging.”
#4 📝 PromptLayer Blog How to track LLM analytics in PostHog - Log a small, consistent set of LLM events in PostHog (llm_request_started, llm_request_completed, llm_request_failed, llm_output_rated, llm_task_completed) with core properties like trace_id, request_id, prompt_version_id, model, provider, environment, latency_ms, input_tokens, output_tokens, estimated_cost_usd, and status plus product/outcome/eval fields, send events from your backend, and never include raw prompts/outputs—use safe references (prompt_version_id, prompt_hash, document_type) and link to traces for debugging. Example payload in the article shows model gpt-4.1-mini with latency_ms 1840, input_tokens 1284, output_tokens 312, estimated_cost_usd 0.0048, prompt_version_id pv_2026_06_04_003, and trace_id trace_01J7ZP8E9K4VQ2.
“PostHog has integrated LlamaIndex into its LLM Analytics, demoing an agent workflow that uses LlamaIndex, LlamaParse, and OpenAI to match product specs to user needs.”
#8 𝕏 LlamaIndex 🦙 PostHog has integrated LlamaIndex into its LLM Analytics, demoing an agent workflow that uses LlamaIndex, LlamaParse, and OpenAI to match product specs to user needs.
“Nebula integrates with cloud services like Google Slides, Ghost, PostHog, GitHub, Notion and allows spawning specialized agents (blog worker, analytics worker, lead-gen worker) to automate end-to-end workflows for solo entrepreneurs.”
From YouTube • Video Content Inside $180B Co-Founder's AI Agent System Greg Isenberg • January 26, 2026 Greg Isenberg sits down with Furqan Rydhan to demo Nebula, a Slack-inspired AI agent platform where each channel hosts an agent that writes and executes code to build Google Slides decks, generate images, publish blog posts on Ghost, integrate with services like PostHog, and schedule autonomous workflows for one-person businesses. Key Takeaways: Nebula agents operate in Slack-style channels and can write and run Python code to call APIs—e.g., creating and updating Google Slides presentations, generating AI images, and retrying failed tasks until completion. Users can automate recurring tasks via cron-style triggers, such as adding two new slides per day to reach a 15-slide deck in a week or publishing three blog posts daily on a Ghost blog with built-in web search. Nebula integrates with cloud services like Google Slides, Ghost, PostHog, GitHub, Notion and allows spawning specialized agents (blog worker, analytics worker, lead-gen worker) to automate end-to-end workflows for solo entrepreneurs.
Related
OpenAI is an AI company building foundation models and consumer products like ChatGPT. In this newsletter it is discussed in connection with GPT-6, Dots, ChatGPT for Teens, and College Planner.
An AI data framework company that demonstrated LlamaParse on a complex earnings deck. Relevant for PMs working with document ingestion and structured extraction.
A prompt management and AI workflow company. The newsletter cites its blog post arguing that fine-tuning is often the wrong default compared with RAG and other methods.
A document parsing tool from LlamaIndex that extracts structured content from complex files. Useful for PMs building data ingestion and document understanding features.
Notion is a workspace tool commonly used as a knowledge base for teams. Here it is used as a connected data source for an internal command overview.
The code-hosting and collaboration platform used for pull requests and repository workflows. Here it is part of Warp’s automated engineering loop.
A Slack-inspired AI agent platform for autonomous workflows. It lets each channel host an agent that writes code, calls APIs, and automates tasks across multiple services.
Stay updated on PostHog
Get curated AI PM insights delivered daily — covering this and 1,000+ other sources.
Subscribe Free