PostHog Funnel Tracking Agent
Track every step of your conversion funnel in PostHog. See where users drop off, capture conversion events at each stage, and tag users who make it through.
Free to start
1,000 credits included
No credit card required
Try this agent Book a demoSetup in 10 min · Cancel anytime
Setup time
~10 min
Time saved
2-3 hrs/week
Difficulty
Medium
Tools
1 connected
How it works
Track Funnel Pages
Record page views at each stage of the funnel with URLs, titles, and traffic source data
Capture Conversions
Send conversion events when users complete actions at each stage with full metadata
Identify Converters
Tag users who convert with properties like plan selected, conversion date, and traffic source
Surface Drop-offs
Summarize where users abandon the funnel and recommend optimizations
Try asking
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
ExpandCollapse
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
The Prompt
Task
Use @PostHog/Track Page ViewName it "PostHog/Track Page View" and call it with @PostHog/Track Page View to record page views at each stage of a conversion funnel, @PostHog/Capture EventName it "PostHog/Capture Event" and call it with @PostHog/Capture Event to capture conversion events when users complete key actions at each stage, and @PostHog/Identify UserName it "PostHog/Identify User" and call it with @PostHog/Identify User to tag users who reach conversion milestones with properties like "converted", "funnel_stage", and "conversion_date". This builds a complete funnel tracking setup in PostHog that shows where users drop off and who converts.
Input
The user provides:
- The funnel stages with their corresponding page URLs (e.g., landing page -> pricing -> signup -> onboarding)
- Conversion events to capture at each stage (e.g., "pricing_viewed", "signup_started", "signup_completed")
- User identifiers for users moving through the funnel
- Optional: UTM parameters or traffic source context
Example: "Track our signup funnel: landing page at /home, pricing page at /pricing, signup form at /signup, and welcome page at /welcome. Capture conversion events at each step for user maria@startupName it "startup" and call it with @startup.io who came from a Google ad."
Context
Funnel Stage Tracking
- Use @PostHog/Track Page ViewName it "PostHog/Track Page View" and call it with @PostHog/Track Page View for each page in the funnel sequence
- Include properties with each page view: Page URL and title, funnel stage name and position, traffic source and UTM parameters, referrer URL
- Track pages in the order users encounter them to build an accurate funnel
Conversion Event Capture
- Use @PostHog/Capture EventName it "PostHog/Capture Event" and call it with @PostHog/Capture Event at each funnel transition
- Include conversion metadata: time spent on previous stage, entry source, any selections made
- Capture drop-off signals: "funnel_abandoned" if a user leaves without completing the current stage
User Identification at Conversion
- Use @PostHog/Identify User whenName it "PostHog/Identify User when" and call it with @PostHog/Identify User when a user converts or reaches a significant milestone
- Set conversion-related properties: funnel_completed, conversion_date, funnel_entry_source, plan_selected, time_to_convert
Output
Funnel Tracking Summary:
Funnel Definition: | Stage | Page | Conversion Event | Status | |-------|------|-----------------|--------| | 1. [Stage Name] | [URL] | [event_name] | Tracked |
Page Views Recorded:
- [URL 1]: tracked with [properties]
Conversion Events Captured: | Event | Stage | Properties | Status |
User Identified:
- User: [distinct_id]
- Conversion status: [converted/in_progress/abandoned]
- Properties updated: [list]
Funnel Insights:
- Total stages tracked: [count]
- Conversion path: [stage 1] -> [stage 2] -> ... -> [final stage]
- Ready to build funnel visualization in PostHog
WHAT ARE YOU WAITING FOR?
Ready to build?
Stop duct-taping tools.
Stop writing playbooks no one follows.
Start building agents that actually do the work—and do it well.
Cotera: For people who think busywork is boring.
"This is the best product ever when it comes to shipping. Ten on ten recommended. I just can't wait to see what happens with this product."
Rebecca Blount
Director, Customer Success