What Data Should a Product Track

Category: MarTech

GA4GTMCDPAARRR
4 min read

If you were the boss and had a piece of software on your hands, which user behaviors would you care about? Which pages get used, and how?

Think about the following examples before reading on.

  • E-commerce sites
  • Food delivery platforms
  • Streaming platforms
  • Online travel and ticketing platforms

Who needs to track data

If your software is a practice project, a blog for sharing things, or a simple single-purpose tool, you probably won't need to track anything much more complicated than the number of users.

For iterating on the product, streamlining flows, controlling costs and reaching new customers, you'll need to track and analyze user behavior data if your product looks like this:

  • The product faces a need (or pressure) to grow and expand
  • The product has reached a certain scale, its core features are stable, and it has a lot of users
  • Collecting user feedback by hand is impractical, so you rely on automated processes
  • You're running ads and want to analyze and quantify how well they perform

Choosing tools

Traffic and behavior analytics

  • Google Analytics 4 (GA4)
  • Meta Pixel
  • Mixpanel / Amplitude

Tag management

If the GA or Meta Pixel code is hardcoded into the project, then every time marketing wants to switch tracking tools, an engineer has to change the code, rebuild and redeploy.

With Google Tag Manager, you add its code to the site once. After that, GA, Meta Pixel or any other tracking code can be set up directly through GTM's visual interface.

Customer data platform

As a company grows, marketing wants to send LINE messages and check GA, customer support wants to see user history, and the data ends up scattered across different systems. That's when you need a Customer Data Platform.

A CDP can handle:

  • Data collection: website behavior, backend data, interactions with external tools
  • Identity resolution: recognizing that records belong to the same user
  • Distribution: sending the data to customer support, marketing, and analytics tools such as GA

As I mentioned in How Frontend Testing Is Actually Done, data tracking isn't about collecting piles of information for its own sake that nobody ends up using. It's a test of how well the PM and data analysts understand the product. Only by starting from the business logic and how the product is used can you set marketing goals and strategy, and only then will you know how to design the tracking architecture and which behaviors to track.

AARRR

AARRR is a framework proposed by Dave McClure in 2007. It uses a "funnel" to break the journey from discovering a product to generating revenue into five stages, and each stage maps to data you should track.

AARRR
AARRR
StageQuestion it answersCommon metricsEngineering
AcquisitionWhere do users come from?Traffic sources, customer acquisition cost (CAC) per channel, ad click-through rateSEO / SEM
ActivationDid they see value on first use?Sign-up completion rate, onboarding completion rate, share of users completing the core action for the first timeLanding page design and A/B tests, tutorials, sign-up flow
RetentionDo they come back?Day 1 / 7 / 30 retention, DAU / MAULifecycle / status / event-based email, Web Push notifications, offline caching
RevenueDo they pay?Paid conversion rate, average order value (AOV), average revenue per user (ARPU), customer lifetime value (LTV)Payment integration, checkout flow optimization, pricing and plans page
ReferralDo they recommend it to others?Number of shares, invite codes redeemed, viral coefficient (K-factor)Sharing features (Web Share API, OG tags), invite codes and referral rewards, deep links

Applying the five stages to an e-commerce site gives you a list of events to instrument.

StageBehavior to trackExample events
AcquisitionWhich ad or search keyword brought them inUTM parameters, page_view
ActivationSigning up, adding a product to the cart for the first timesign_up, add_to_cart
RetentionComing back after a while, buying againReturn visit rate, repurchase rate
RevenueDrop-off at each step of checkoutbegin_checkout, purchase
ReferralSharing products, using invite codesshare

Find the leakiest stage

The five stages work like a funnel: every step down loses some users. Fix the stage that loses the most first.

Teams usually get Activation and Retention right before pouring money into Acquisition. For a product that can't keep users, no amount of advertising helps — it's like pouring water into a leaky bucket.

Reference