Write an analytics event tracking plan for a feature
An engineer-ready event spec with names, triggers, properties, and the questions each event answers.
The prompt
Write an analytics tracking plan for a feature so engineering can instrument it correctly.
Feature and user flow: [STEPS THE USER TAKES]
Questions we need to answer after launch: [e.g. how many start vs. finish setup, where they drop, which option they pick]
Analytics tool: [e.g. Amplitude, Mixpanel, GA4, Segment, in-house]
Our naming convention: [e.g. Object Action in Title Case, snake_case - or "none, suggest one"]
Existing events to reuse: [LIST - or "unknown"]
Rules:
- Track only what answers a listed question. Flag anything I asked for that no event covers.
- One clear trigger per event: fire on the confirmed action (server success), not on button click, unless intent is the point.
- Properties must be consistent with existing events; reuse names where possible.
- No personal data in event names or free-text properties (names, emails, message content). Use IDs and flag anything that needs a privacy review.
- Include user and account identifiers so results can be split by plan, segment, and cohort.
Return:
1. A table: Event name | Trigger (exact moment) | Properties (name, type, example values) | Question it answers | Client or server side.
2. The funnel(s) and charts these events will power.
3. A QA checklist for verifying the events in staging before release.
4. Open questions for engineering.
Highlighted [brackets] are blanks to replace with your own details.
Fill in the blanks and use this promptMore Data & Analysis prompts
What to fill in
- STEPS THE USER TAKES
- e.g. Amplitude, Mixpanel, GA4, Segment, in-house
- LIST - or "unknown"
How this prompt is built
This prompt follows the Few-Shot structure (Few-shot prompting). A few-shot prompt includes one or more worked examples of the input and the output you want, so the model can copy the pattern instead of guessing it.
Related prompts
- Write an Excel formula to categorize records automaticallyBuilds the formula and lookup table that auto-assigns categories, bands, or tiers to each row based on your rules.
- Write an Excel formula to extract text, numbers, or dates from messy cellsPulls the piece you need out of combined or messy cells, like codes, names, domains, or dates, with a formula that handles exceptions.
- Explain my Excel model to a non-technical executiveTurns a complex spreadsheet or model into a plain-English walkthrough an executive can follow, trust, and question.
- Forecast the next few months from historical data in ExcelBuilds a simple, explainable forecast from your past numbers, with trend and seasonality, a range, and the Excel steps to reproduce it.