exploring-autocapture-events

Official

Explore autocapture events and map user clicks.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides teams to explore $autocapture events captured by posthog-js, helping understand what users click, identify stable selectors (especially data-attr attributes), and reason about the element chains stored in the elements_chain column. It clarifies how to work with the autocapture data to build reliable analytics queries and actions.

Core Features & Use Cases

  • Materialized insights: leverage the events table and materialized columns (e.g., elements_chain, elements_chain_texts, elements_chain_ids, elements_chain_elements) for fast exploration without heavy parsing.
  • Selector discovery: find candidate selectors using data-attr values, IDs, or tag+class combinations, and assess their uniqueness.
  • Ad-hoc to action: craft example queries and steps to identify interactions, then create actions or trends analyses based on the results.
  • Use Case: Discover what users click on a pricing page by analyzing $autocapture events and visualizing common selectors.

Quick Start

Run an initial check to confirm $autocapture data exists, then begin exploring common interactions using materialized columns to identify candidate selectors.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: exploring-autocapture-events
Download link: https://github.com/PostHog/skills/archive/main.zip#exploring-autocapture-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.