lesson
30 min

Measure What Matters

Pick one goal, a few honest measures, and tag your links so you know which channel did the work.

What you will learn

You will choose one campaign goal and a few measures for it. Then you will tag your links so you can tell which channel sent each person.

Start with one goal

A goal is the one action you want people to take. "Sign up for tutoring" is a goal. "Get more followers" usually is not. Followers do not mean anyone was helped.

Pick one goal per campaign. Then pick two to four measures, numbers that show progress toward it:

MeasureWhat it tells you
Visits from each channelWhich channels bring people to the guide
Sign-ups from each channelWhich channels lead to action
Sign-up rateSign-ups divided by visits, shown as a percent
Unsubscribes or opt-outsWhether people still want to hear from you

Vanity numbers vs. useful numbers

A vanity number looks good but does not help you decide anything. Likes and views can be vanity numbers. They feel nice. They rarely tell you whether to change your plan.

A useful number answers a question like: "Should we spend more time on text or on social?"

Tag your links

How do you know a visitor came from your email and not your text? You add a UTM tag. A UTM tag is a few labels added to the end of a link. Analytics tools read those labels and sort visitors by channel.

Three labels do most of the work:

  • utm_source: where the link was placed, like newsletter
  • utm_medium: the kind of channel, like email or sms
  • utm_campaign: the campaign name, like spring_signup

Use the same names every time. "Email" and "email" can show up as two different channels.

Build tagged links

This runs real Python in your browser. The first run downloads the Python tools, which is several megabytes. On phone data, you can read the code without running it.

Run the code to build one tagged link per channel. Then change the base link and campaign name to your own and run it again.
Python 3
Ctrl+Enter to run | Tab to indent | Python runs in your browser via Pyodide

Here is the same code to read:

base = "https://example.org/tutoring"
campaign = "spring_signup"

def tag(source, medium):
    return base + "?utm_source=" + source + "&utm_medium=" + medium + "&utm_campaign=" + campaign

print(tag("newsletter", "email"))
print(tag("text_list", "sms"))
print(tag("video_feed", "social"))

Privacy first

Measure channels, not people. Never put a name, email, or phone number inside a link or a tag. Tags can be seen by anyone who sees the link, and they land in reports.

My measurement plan

0 of 5 done

Go deeper: The Power of Web & Business Analytics: Turning Data Into Decisions

Ask. Answer. Build together.