PostHog Autocapture Explorer guides developers and product analysts through exploring and interpreting $autocapture events generated by posthog-js. It provides step-by-step methodologies to inspect materialized DOM element chain columns, identify resilient selectors like data-attr and element IDs, test selector uniqueness against event volume, compose HogQL trend and funnel queries, and turn ad-hoc click patterns into durable PostHog actions.
주요 기능
0163 GitHub stars
02Constructs HogQL queries and Funnels/Trends insight payload definitions for click steps
03Defines and tests permanent PostHog actions using posthog:action-create and matchesAction()
04Identifies resilient CSS selectors prioritizing data-attr attributes and element IDs
05Evaluates selector uniqueness and selectivity to avoid matching unintended UI interactions
06Inspects $autocapture event data using materialized elements_chain columns for fast querying
사용 사례
01Constructing conversion funnels based on specific button clicks and form submissions
02Analyzing user click behavior and drop-offs across specific web pages and UI components
03Creating maintainable PostHog actions tied to stable data attributes instead of fragile DOM paths