posthog-web-analytics-diagnosis

Diagnose PostHog web analytics issues via event ingestion and SDK checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mongo-ai/posthog-triage-agent --skill posthog-web-analytics-diagnosis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog-web-analytics-diagnosis
Source: https://github.com/mongo-ai/posthog-triage-agent/tree/main/.claude/skills/posthog-web-analytics-diagnosis
Command: npx skills add https://github.com/mongo-ai/posthog-triage-agent --skill posthog-web-analytics-diagnosis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps support and analytics engineers rapidly determine root causes for missing or inaccurate web analytics in PostHog by guiding a systematic investigation of event ingestion, SDK setup, session attribution, and discrepancies with other analytics tools.

Core Features & Use Cases

  • Event ingestion checks: Verify presence and volume of $pageview, $pageleave, and autocapture events to detect SDK or capture failures.
  • Installation and SPA diagnosis: Identify common SDK misconfigurations, router integration gaps, and framework-specific client navigation issues.
  • Attribution and accuracy analysis: Troubleshoot missing UTM data, channel misattribution, ad blocker losses, and session or bounce-rate anomalies, and compare results with Google Analytics.
  • Search for known bugs: Run targeted GitHub issue searches and consult live documentation to surface product bugs or required SDK versions.
  • Use case: Triage a ticket reporting zero pageviews or inconsistent traffic versus GA and produce a prioritized checklist and recommended fixes.

Quick Start

Use the posthog-web-analytics-diagnosis workflow to triage a ticket about missing pageviews and produce a concise diagnostic report with likely causes and recommended remediations.

Frequently Asked Questions about posthog-web-analytics-diagnosis

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

FAQPage Schema
Why are PostHog pageviews missing or showing zero traffic?

Missing PostHog pageviews often stem from SDK installation errors, event ingestion failures, or ad blocker losses. You can diagnose this by checking the presence and volume of $pageview and $pageleave events to detect capture failures.

How do I fix PostHog web analytics for single page applications?

To fix PostHog web analytics for single page applications, diagnose SPA routing problems by identifying SDK misconfigurations and router integration gaps that cause client navigation events to fail.

How do I troubleshoot missing UTM parameters and channel attribution in PostHog?

Troubleshoot missing UTM parameters and channel attribution in PostHog by analyzing session accuracy, checking for channel misattribution, and verifying that attribution data is correctly captured during event ingestion.

Why does PostHog show different traffic numbers compared to Google Analytics?

PostHog shows different traffic numbers compared to Google Analytics due to discrepancies in event ingestion, ad blocker losses, and session attribution logic. Investigate these areas to reconcile the differences during support investigations.

How do I find known bugs causing PostHog bounce rate anomalies?

Find known bugs causing PostHog bounce rate anomalies by running targeted GitHub issue searches and consulting live documentation to surface product bugs or required SDK versions affecting session accuracy.