Complete AI Training

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.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. 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

  1. Ask for missing context if needed.
  2. Provide a step-by-step guide for setting up the chosen analytics tool.
  3. Define the key events and metrics to track based on your goals.
  4. Explain how to configure goals, funnels, and custom events.
  5. Suggest best practices for data collection and avoiding common pitfalls.
  6. 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?