Posthog

Open-source product analytics with session replay and feature flags. Type: API Key (Personal or Project) Header: Authorization: Bearer {api_key} For capture: Pr

Analytics
bycoreyhaines31350 words

What is Posthog?

What this skill does

Posthog provides open-source product analytics focused on event tracking, session replay, and feature flag management. It lets marketers and product teams capture detailed user interactions, run SQL-like queries on events using HogQL, and control feature rollouts through targeted flags. It supports both cloud and self-hosted setups, making it flexible for privacy-conscious environments and high-volume event streams.

Who it's for

This skill is designed for growth marketers managing product analytics to optimize user engagement and conversion funnels. It suits technical SEO and PPC operators who need granular event data integrated with website behavior for better attribution. Agency strategists working on feature rollouts and A/B tests will find Posthog useful for combining session replay insights with real-time feature flag control.

Key workflows

Practitioners start by instrumenting event capture through Posthog’s API or SDK to track key user actions like signups and pageviews. Next, they use HogQL queries to analyze event trends and segment users based on behavior over specific time windows. Feature flags are configured and evaluated per user to run controlled experiments or staged rollouts. Finally, session recordings are reviewed to qualitatively assess user experience issues contributing to conversion bottlenecks.

Common questions

How does Posthog handle user identification? You assign distinct IDs in events to tie sessions and actions to individual users. Can I run SQL queries on my event data? Yes, HogQL is Posthog’s SQL-like language tailored for event analytics. Is feature flag evaluation real-time? Yes, you can query flag values per user instantly via the Decide API endpoint.

How to use in Metaflow

Attach the Posthog skill to your agent tasks by providing your API key for authentication, allowing the agent to capture events, query insights, and retrieve feature flag states. Expect the agent to manage event batching and session recording retrieval automatically, with HogQL queries enabling custom analytics within your flow. We recommend starting with event capture and feature flag checks to integrate Posthog’s product analytics into your Metaflow pipelines before expanding to session replay and advanced querying.

For broader context, see our roundup of claude marketing skills, and read Claude Code reporting workflows for marketing agencies for related setup guidance.

Related skills

Competitor Teardown

Structured competitive analysis with feature matrices, SWOT, positioning maps, and UX review. Covers research frameworks, pricing comparison, review mining, and visual deliverables. Use for: market research, competitive intelligence, investor decks, product strategy, sales enablement. Triggers: competitor analysis, competitive analysis, competitor teardown, market research, competitive intelligence, swot analysis, competitor comparison, market landscape, competitor review, competitive landscape,

View →

Dataforseo Backlinks API

Retrieve backlink profiles and bulk link metrics using DataForSEO Backlinks for "backlink audit", "referring domains", and "link monitoring".

View →

Keyword Cluster Builder

Techniques for expanding seed keywords and clustering by topic and intent. Use when building keyword lists, planning content calendars, or identifying topic clusters for pillar content strategy.

View →

QR Code Generator

Generate QR codes with URLs and UTM tracking. Exports PNG/SVG with captions. Use for single codes, batch generation, or marketing campaigns with tracking parameters.

View →

Google Analytics

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

View →

Market Research Reports

Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix."

View →