Filtering Bot Traffic

Identify, measure, and exclude bot / crawler / AI-agent traffic in PostHog web and product analytics using the traffic classification surface (the isLikelyBot / getTrafficType HogQL functions and the $virt virtual properties).

About this skill

Identify, measure, and exclude bot / crawler / AI-agent traffic in PostHog web and product analytics using the traffic classification surface (the isLikelyBot / getTrafficType HogQL functions and the $virt virtual properties).

Maintained by PostHog. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01When to use this skill
  • 02The classification surface
  • 03Virtual properties (insight builder, filters, breakdowns)
  • 04HogQL functions (raw SQL)
  • 05Traffic types — what to keep vs drop
  • 06Recipes

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

posthog/ai-plugin / filtering-bot-traffic

Source reviewed October 2, 2026 · See publisher source