If you’ve realized that your current data setup is a “graveyard of unattributed events” and “alphabet soup” naming conventions, you aren’t alone. Most companies build their tracking reactively—adding an event here and a pixel there until the entire system becomes unmanageable and the dashboards stop making sense.
To stop guessing and start knowing, you need to rebuild your tracking plan from the ground up—not as a technical chore, but as a strategic document. This guide provides a definitive, 4-step framework to build a tracking plan that serves as your company’s growth map.
Step 1: Define Your North Star and Lifecycle Stages
Before you write a single line of code or open a Jira ticket, you must define the business logic. What are you actually trying to measure? A common mistake is trying to track “everything.” This results in data noise that hides the signal. Instead, align your tracking with the standard growth funnel (often referred to as the “Pirate Metrics” or AARRR framework):
- Acquisition: Where are they coming from? This focuses on UTM parameters, referral sources, and landing page entries. You want to know which door they walked through.
- Activation: What is the first value they receive? This is the “Aha! Moment.” It’s not just a sign-up; it’s the moment they successfully use your core feature (e.g., “Created first invoice” or “Uploaded first photo”).
- Retention: Why do they come back? This tracks repeat logins, secondary feature usage, and session frequency.
- Revenue: When do they pay? This is the most critical stage—tracking checkout starts, payment failures, and order completions.
- Referral: Do they tell others? This tracks invite links sent, social shares, or coupon code usage.
By categorizing your events into these stages, you ensure that your dashboards tell a story of a user’s journey rather than just listing disconnected actions. You can finally see where the “leak” in the funnel is occurring.
Step 2: Map the “Critical Path” and Event Schemas
Identify the 5-10 actions that a user must take to become successful. These are your “Core Events.”
A “Page View” is rarely a core event. A “Button Click” is rarely a core event. A core event is a milestone of intent. For an e-commerce brand, the critical path might look like this:
- category_viewed
- product_viewed
- cart_added
- checkout_started
- payment_info_entered
- order_completed
For each of these events, you must define the Schema. A schema consists of the event name and its Properties. Properties provide the context. Without properties, you know that someone bought something, but you don’t know what they bought or how much they paid.
Example Schema for order_completed:
- event_name: order_completed
- properties:
- order_id: (String) “ORD-12345”
- total_value: (Number) 99.99
- currency: (String) “USD”
- product_count: (Integer) 3
- coupon_code: (String) “SUMMER20”
- payment_method: (String) “Credit Card”
Don’t track every single hover or scroll—that’s what session recording tools like Hotjar are for. Your tracking plan should focus on high-leverage milestones that allow you to calculate conversion rates and perform property-based segmentation.
Step 3: Create a Naming Convention (and Stick to It)
This is where most plans fail and where the “alphabet soup” begins. Without a naming convention, you end up with added_to_cart, AddToCart, and added-to-cart in the same database. This makes it impossible to run a single report on cart additions.
The gold standard for event naming is the Object + Action framework.
- Format: object_action (all lowercase, underscores for spaces).
- Why lowercase? Many databases are case-sensitive. Product_Viewed and product_viewed will show up as two different events in some tools. Stick to lowercase to be safe.
- Examples: product_viewed, account_created, email_opened, subscription_cancelled.
The “Property” Naming Rule:
Apply the same logic to properties. Use snake_case (e.g., first_name instead of FirstName). Consistency across your tools ensures that when you send data from your website to your CRM (like HubSpot) and then to your email tool (like Klaviyo), the fields map perfectly.
The “Rosetta Stone” Exception:
Some tools require specific naming conventions (e.g., GA4 prefers purchase over order_completed). Your master tracking plan should be a spreadsheet or a tool (like Avo) that maps your internal name (order_completed) to the specific names required by each destination tool.
Step 4: The Audit Loop (Maintaining Data Integrity)
Data decays. Every time your engineering team releases a new feature, changes a UI element, or updates the backend, there is a significant chance your tracking will break. If you don’t have a process for maintenance, your tracking plan will be useless within three months.
To prevent your dashboards from becoming obsolete, you must implement the Audit Loop:
- The Spec Rule: No new feature goes to production unless the tracking events have been “specced” by the growth lead. The tracking requirements should be in the PR (Pull Request) just like the functional code.
- The QA Step: Developers should test events in a staging environment before going live. Tools like “Segment Debugger” or “GA4 DebugView” are essential here.
- The Monthly Audit: Once a month, the growth lead should run a “Data Quality” report. Look for events that have stopped firing, properties that are suddenly returning null, or naming conventions that have drifted.
Ownership: One person (usually the Product Manager or Growth Lead) must “own” the tracking plan. If everyone owns it, nobody owns it.
The Difference Between “What” and “Why”
Ultimately, this framework moves your team from a reactive state to a proactive one. Most companies ask, “What happened last month?” A team with a solid tracking plan asks, “Why did the users who performed feature_x three times retain 20% better than those who didn’t?”
When you have a standardized, granular, and well-maintained tracking plan, you aren’t just looking at charts; you are looking at a map of human behavior. You can see where they are confused, where they are excited, and where they are bored.
The Bottom Line
A tracking plan is the blueprint for your empire. If the blueprint is messy, the building will be crooked. By following this 4-step framework, you move away from the “alphabet soup” of broken data and toward a system that provides clear, actionable insights.
Stop treating your tracking like a tech task. Measure the journey, influence the destination, and start knowing exactly why your customers stay.
Imtiaz
Most D2C brands obsess over acquisition. I obsess over what happens after the first purchase.
I'm the CEO of OrangeFox - we help digital businesses turn one-time buyers into loyal, repeat customers, typically driving 20-30% incremental repurchase revenue through smarter retention systems.
Over the past 15+ years I've worked across digital strategy, product, and growth - from leading country operations for global analytics firms to building retention-first growth engines for fast-scaling brands.
I've also led product and digital transformation across fintech, insurtech, and SaaS - giving me a cross-industry view of what actually moves customers from "bought once" to "buys again." If you're running a D2C business and your repeat purchase rate isn't where it should be - let's talk.









