posthog-analytics

Create PostHog dashboards and run HogQL queries for analytics, funnel, and cohort reporting.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/DojoCodingLabs/GTM-Engineering-Command-Center --skill posthog-analytics-dojocodinglabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog-analytics
Source: https://github.com/DojoCodingLabs/GTM-Engineering-Command-Center/tree/main/skills/posthog-analytics
Command: npx skills add https://github.com/DojoCodingLabs/GTM-Engineering-Command-Center --skill posthog-analytics-dojocodinglabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rapidly building, maintaining, and programmatically updating analytics dashboards, funnels, and cohort analyses in PostHog without manual UI work, reducing time-to-insight for GTM teams.

Core Features & Use Cases

  • API-driven Dashboards: Create and update PostHog dashboards and insights via REST endpoints to ensure reproducible, versioned analytics.
  • Funnel & Cohort Analysis: Define funnels and cohorts programmatically and run standardized reports for acquisition and retention diagnostics.
  • HogQL Power Queries: Run custom HogQL queries for UTM attribution, time-to-convert, drop-off analysis, and session-level investigations.
  • GTM Recipes: Predefined templates for signup-to-payment funnels, UTM breakdowns, retention windows, and standard tile layouts for campaign reporting.

Quick Start

Create a GTM campaign dashboard with daily signups by UTM source, an acquisition funnel, and a weekly retention chart using the PostHog API and HogQL.

Frequently Asked Questions about posthog-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PostHog dashboard creation and funnel reporting?

Automate PostHog dashboard creation and funnel reporting by using REST endpoints and HogQL queries to programmatically define insights, cohorts, and conversion funnels. This eliminates manual UI work and ensures versioned, reproducible analytics outputs for GTM teams.

What is HogQL and how does it work for UTM attribution analysis?

HogQL is PostHog's query language used to run custom power queries for UTM attribution, time-to-convert, and session-level investigations. It enables standardized acquisition diagnostics and retention cohort reporting directly through API execution.

Do I need a PostHog project API key to create dashboards and run HogQL queries?

Yes, you need a PostHog project API key to authenticate REST endpoint requests for dashboards, insights, cohorts, and HogQL query execution. This key connects your programmatic scripts to your specific PostHog project environment.

Can I build GTM campaign performance dashboards programmatically in PostHog?

Yes, you can build GTM campaign performance dashboards programmatically using predefined recipes for signup-to-payment funnels, UTM breakdowns, and retention windows. The API supports standard tile layouts for comprehensive campaign reporting.

What's the best way to analyze retention cohorts and conversion drop-off in PostHog?

The best way to analyze retention cohorts and conversion drop-off is by running custom HogQL queries and defining funnels programmatically via the API. This approach automates retention window tracking and standardized drop-off analysis.

Are there predefined templates for signup-to-payment funnels and weekly retention charts?

Yes, predefined GTM recipes provide templates for signup-to-payment funnels, UTM breakdowns, retention windows, and standard tile layouts. These templates allow you to rapidly deploy campaign reporting dashboards without manual UI configuration.