Measurement & Automation

How to build a measurement framework

The practical parts of a measurement framework — indicators and definitions, tracking plan, campaign naming, connected sources and governance — and how to build it.

NANMOW Editorial Team 5 min read

In this guide
  1. The components of the framework
  2. Goals and indicators
  3. Definitions: the part everyone ignores
  4. The tracking plan
  5. Naming campaigns and sources
  6. Data sources and connections
  7. Reporting and governance
  8. A monthly measurement health check
  9. Steps to build it
  10. Common mistakes
  11. In summary

A measurement framework is the structure that makes your numbers reliable, consistent and understood by everyone. Without one, each team defines “conversion” its own way, campaigns are named at random, and important events go missing because nobody decided to record them. Then the moment of decision arrives, and there are no numbers you can rely on.

This article explains the practical components of a measurement framework and how to build one step by step, without it becoming an endless technical project. To understand the logic behind it first, see Measurement that drives decisions.

The components of the framework

A practical measurement framework has five parts:

  • Goals and indicators: what we measure, and why.
  • Definitions: exactly what we mean by each indicator.
  • A tracking plan: the events and data that are recorded, and where.
  • Data sources and connections: where each number comes from, and how sources connect.
  • Reporting and governance: who sees what, when, and who is responsible for data quality.

Goals and indicators

Tie every indicator to a business goal and a decision. Start at the top: the business goal for the period, then the drivers that affect it, then the operational indicators for each driver. A short example for an online store:

LevelIndicatorRelated decision
GoalProfit after marketing costDo we scale or rearrange?
DriverCost to acquire a new customerBudget allocation between channels
DriverMobile conversion rateWebsite improvement priorities
DriverShare of customers who buy again within a set periodInvestment in the post-purchase experience

Definitions: the part everyone ignores

For the ads team a “lead” may be anyone who filled in a form; for sales it is someone with a budget and a real need. A “new customer” may be counted at the first order, or at the first order that wasn’t returned. These small differences produce conflicting numbers and endless debate.

Write a short glossary defining each core indicator: what it includes, what it excludes, which source it is calculated from and over what period. One page is usually enough, and it saves hours of disagreement.

The tracking plan

A tracking plan is a document that lists the events recorded on the website or app, when each event fires, and the data sent with it. In modern analytics tools such as GA4, measurement is event-based, so events should be planned rather than random.

For each event, the plan records:

  • Name: in a consistent, clear format, such as generate_lead or purchase.
  • When it fires: precisely — for example, after the form is successfully submitted, not when the button is pressed.
  • Accompanying data: such as the type of service requested or the order value, with no personal data.
  • Purpose: which indicator or decision the event serves.

Naming campaigns and sources

Tracking parameters in links (UTM) tell you where a visitor came from. Their value depends on consistency. If the same campaign is named “ramadan” once, “Ramadan_2026” another time and “ramadan-offer” a third, its results will be scattered across your reports.

Set one naming rule, write it down, and use it for every campaign:

  • Source: the platform, such as google, snapchat or newsletter.
  • Medium: the channel type, such as cpc, social or email.
  • Campaign: one consistent name in lowercase without spaces, including the goal and the period.

Data sources and connections

Most businesses have at least three main sources: the analytics tool, the ad platforms, and the system where sales or requests are recorded — a store platform, a customer relationship management (CRM) system or an accounting system. A good framework defines:

  • Which source is the reference for each core number.
  • How each order is linked to its source: an order ID, a source field in the form, or a direct question to the customer.
  • How actual sales results, such as closed deals, are sent back to ad platforms so they can learn from them, using the methods the platforms offer and within privacy requirements.

Reporting and governance

Each group of users needs the report that suits them: management needs one page with the result, the drivers and the proposed decision; execution teams need operational detail. Governance isn’t complete without:

  • A measurement owner: a person responsible for data quality and for keeping the tracking plan up to date.
  • Regular checks: comparing numbers across sources, and spotting events that have stopped or doubled.
  • A change log: when the website, tracking or definitions changed, so a jump in the numbers isn’t misread.

A monthly measurement health check

A good framework erodes quietly with every change to the website or campaigns. A short monthly check protects it:

  • Compare orders or sales in your analytics tool with the reference system. A small, steady difference is normal; a large or shifting one needs investigating.
  • Check that core result events haven’t stopped or doubled since the last website update.
  • Review traffic sources: have campaign names appeared outside the naming rule? Has “direct” or “unknown” suddenly grown?
  • Complete a full conversion journey yourself on mobile, and check it was recorded.
  • Record any website or tracking change during the month in the change log.

This check is one of the best candidates for partial automation, such as an automatic alert if purchase events drop abnormally; we cover the criteria in When to automate.

Steps to build it

  1. Write the business goal, its drivers and the decisions tied to each.
  2. Define the core indicators in a short glossary.
  3. Write the tracking plan for core events only, to begin with.
  4. Set the naming rule for campaigns and sources, and stick to it.
  5. Decide the source of truth for each number, and how requests are linked to their sources.
  6. Implement tracking, then test it for real: submit a test request and confirm it is recorded once, with the right value.
  7. Build a one-page management report, and set the review date and the measurement owner.

Common mistakes

  • Tracking everything: hundreds of events nobody uses make maintenance harder and hide what matters.
  • Building without testing: an event recorded twice, or not at all on mobile, spoils decisions for months.
  • Leaving the framework without an owner: measurement erodes with every website change if nobody watches it.
  • Treating platform numbers as the final reference: they help optimize campaigns, not settle business results.

In summary

A measurement framework is less a technical project than an agreement: on what we measure, how we define it, where we take it from and who is responsible for it. Start small with the events and indicators that serve your current decisions, test them well, then expand when you need to. If you aren’t sure where to begin, What to track first sets the priorities.

When you want to apply this to your brand

The principles are the same, but the right order differs from brand to brand. We start by understanding where you are today, then decide what deserves priority.