exploring-autocapture-events

Installation
SKILL.md

Exploring autocapture events

if users opt in then posthog-js automatically captures clicks, form submissions, and page changes as $autocapture events. Each event records the clicked DOM element and its ancestors in the elements_chain column.

$autocapture is intentionally excluded from the posthog:read-data-schema taxonomy because it is only useful with autocapture-specific filters (selector, tag, text, href). This skill fills that gap.

Materialized columns

The events table provides fast access to common element fields without parsing the full chain string.

Installs
4
Repository
posthog/posthog
GitHub Stars
39.9K
First Seen
Apr 25, 2026
exploring-autocapture-events — posthog/posthog