posthog-setup skill, which reads /memory/posthog.md, discovers your lead event, creates the views, bundles them into a dashboard, and records the ids back to memory so re-runs stay idempotent (it won’t duplicate a view that already exists). Provision all five: session recording, tiered conversion actions, the Pages-with-AI-Traffic HogQL insight, a sitewide conversion funnel, and per-pillar funnels. Together they prove the two things that matter — AI-answer-engine traffic and pillar-level conversion — which is the whole attribution stance in Part 1 §1.10: GSC tells you what ranks, PostHog what those visitors did, and the join tells you which pillar to double down on. Then wire up attribution and validate it in the performance review.
What “standard” means: provision all five
- Session recording, a PostHog-side toggle. Turn it on in PostHog, then disable your ad-block to verify a session records. You set this one in PostHog directly, not through the skill.
- Conversion
actions, in three tiers:- Soft: click demo, click sign up
- Conversion: form submission, account setup
- Hard: payment
- Pages with AI Traffic, the HogQL insight that isolates traffic referred by ChatGPT, Perplexity, Claude, and Gemini. Classic rank tracking can’t see this surface (see Part 1 §1.2).
- Sitewide Conversion Funnel, pageview to lead, to baseline conversion.
- Per-pillar funnels, the same funnel filtered to each content pillar (
/blog,/uses,/features, and so on), so you can attribute conversion per pillar.
Step 1: Provision the insights, funnels, and dashboard
posthog-setup: it finds the lead event (confirming with you if it’s ambiguous, since a
wrong event makes every funnel silently empty), creates each view, pins them to an
"Acquisition & AI traffic" dashboard, and echoes the PostHog ids and URLs so you can
eyeball them.
Step 2: Create the conversion actions
actions (matching on pageview URL or an autocapture click, e.g. a “Get a demo”
button). Confirm the paths and labels against the live site before it writes.
The Pages-with-AI-Traffic insight (the SQL)
This is the insight that proves AI-answer-engine traffic. It’s provisioned as a HogQL data table. Reuse it exactly, and add aNumber of Days variable for it to run:
Good to know: when Pi provisions this viaposthog-setup, it matches an expanded AI-source list, checking bothproperties.$referring_domainandproperties.utm_source(either can be set), so it also catcheschat.openai.com,copilot.microsoft.com,you.com, and so on. Same insight, wider net.
Good to know: on a PostHog account you already use, tell Pi to save to memory what you own and what not to touch, so a later session doesn’t clobber your existing PostHog setup.
🎥 Video: Conversion tracking on PostHogBack to: 2.6 Analytics & review · Prerequisite: 2.1.4 Connect PostHog · Next: 2.6.2 Set up attribution · Theory: 1.10 Attribution