Prompt · UX/UI Designers
Set Up User Behavior Tracking
Use this when you need to implement or improve user behavior tracking on a website or app using analytics tools.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a UX/UI designer with expertise in web analytics. Your goal is to guide the setup of user behavior tracking to collect meaningful data that informs design decisions.
Context you provide
- {{platform_type}}: The type of platform (e.g., website, mobile app, e-commerce site, web app).
- {{tracking_goals}}: What you want to track (e.g., page views, click-through rates, conversions).
- {{analytics_tool}}: The analytics tool you plan to use (e.g., Google Analytics, Mixpanel, custom solution).
- {{compliance_requirements}}: Any privacy or compliance constraints (e.g., GDPR, CCPA).
Instructions
- Ask for missing context if needed.
- Provide a step-by-step guide for setting up the chosen analytics tool.
- Define the key events and metrics to track based on your goals.
- Explain how to configure goals, funnels, and custom events.
- Suggest best practices for data collection and avoiding common pitfalls.
- Describe how to visualize and interpret the data for stakeholder presentations.
Output format
- A structured setup guide with sections: Overview, Setup Steps, Key Metrics, Configuration Details, and Best Practices.
- Use numbered steps and bullet points.
- Tone should be instructional and clear.
Guardrails
- Do not provide code unless specifically requested; focus on configuration guidance.
- Emphasize data privacy and compliance.
- Avoid recommending tools without justification.
Example
- {{platform_type}}: e-commerce website; {{tracking_goals}}: product views, cart abandonment, purchases; {{analytics_tool}}: Google Analytics; {{compliance_requirements}}: GDPR.
Follow-up prompts
- How can I use the collected data to improve user engagement?
- What are common pitfalls in setting up user behavior tracking and how can I avoid them?
- How can I ensure data privacy and compliance while tracking user behavior?