Product analytics 7 min read

Conversion rate by channel with UTM tracking

Tag your links, break the signup funnel down by source, and compare channels on the customers they produce instead of the visits they send.

David Granzin By David Granzin

Channel reports usually start with visits, which say the least about what a channel is worth. A channel that sends a thousand visitors and two customers is worse than one that sends a hundred visitors and ten. To see that, the source of a visit has to follow the person all the way through the funnel.

This guide covers the two halves: tagging links so the source is recorded, and breaking a funnel down by it.

Key takeaways

  • Compare channels on conversion to a real outcome, such as a paid plan. Visits and signups can favour the wrong channels.
  • Tag every link you control with utm_source, utm_medium and utm_campaign, in lowercase, from a written list of values.
  • Never put UTM tags on links inside your own site.
  • A funnel breakdown shows each source's conversion next to everyone's. Read the count before the rate.
  • This is first-touch attribution inside a time range. It does not divide credit between channels.

Why clicks mislead

Ad platforms report clicks and the conversions they claim for themselves. Web analytics reports sessions. Without extra conversion tracking, neither knows what happened three days later, when the person came back, connected their data and paid.

Product analytics does, because it joins the first visit to the later events of the same person. The question changes from "which channel sends traffic" to "which channel sends people who become customers", and the answers are often different channels.

UTM parameters

A UTM parameter is a tag on the end of a link. The landing page ignores it, and the analytics script reads it.

https://acme.dev/?utm_source=newsletter&utm_medium=email&utm_campaign=launch-week
ParameterAnswersExamples
utm_sourceWho sent the visitgoogle, newsletter, producthunt
utm_mediumWhat kind of channelcpc, email, social
utm_campaignWhich campaignlaunch-week, q4-webinar
utm_termWhich paid keywordlog+monitoring
utm_contentWhich ad or link varianthero-button

The first three are the ones worth being strict about. Maple's browser SDK reads the tags from the landing URL of each session, along with the referrer, with no setup beyond the SDK itself. Source, medium and campaign are the ones you can filter and break down by.

Tagging conventions

  • Lowercase, always. Newsletter and newsletter are two sources in every report.
  • A written list of values. Decide once whether it is twitter or x, and email or newsletter. Keep the list where the people who write campaign links can find it.
  • Tag everything you control. Emails, ads, social posts, partner links, the link in your GitHub README. An untagged link in an email often arrives with no referrer at all.
  • No tags on internal links. In many analytics tools, a tag on a link within your own site replaces the source that really brought the visitor. In every tool it adds values that are not channels.
<!-- Wrong: a link inside your own site. In many tools the visitor's real source is overwritten. -->
<a href="/pricing?utm_source=homepage">See pricing</a>

<!-- Right: internal links carry no UTM tags. -->
<a href="/pricing">See pricing</a>

Break the funnel down

Build the funnel first: signup_started, signup_completed, onboarding_connected, plan_started, counted by person within seven days. The funnel guide covers those choices.

Then pick a dimension under Break down by. The list has four groups: where the session came from, the properties your events carry, and the properties of the user and of the account.

A funnel in Maple with the Break down by menu open. Under Session it lists Referrer, UTM source, UTM medium, UTM campaign, Country and Site. Under Event property: plan, method and source. Under User property: plan and role. Under Account property: tier and industry. UTM source is selected.
The breakdown menu, on example data. Event, user and account properties are listed from what your events actually carry.

Choose UTM source. The funnel above stays as it was, and a table appears below it with one row per source.

A funnel broken down by UTM source: google 412 entered, 14 converted, 3.4%; Not set 388, 19, 4.9%; newsletter 164, 21, 13%; twitter 142, 3, 2.1%; producthunt 64, 3, 4.7%; linkedin 36, 1, 2.8%. A last column compares each source with the overall rate.
Signup to paid, by UTM source. The last column compares each source with the 5.1% overall rate.

Read the table

Each row is a group of people who entered the funnel: how many entered, how many reached the last step, the conversion rate, and the difference from everyone's rate in points.

In the example, the overall conversion is 5.1%, and the sources differ:

  • google, which here means the tagged paid search links, sends the most people, 412, and converts at 3.4%. It is the largest tagged source and a below-average one.
  • newsletter sends 164 and converts at 13%. That is 14% of the people entering and 21 of the 61 customers, about a third.
  • twitter sends 142, nearly as many as the newsletter, and produces 3 customers.
  • linkedin converts 1 of 36. That is one person. It says nothing yet.

Among the tagged sources, the ranking by signups started is google, newsletter, twitter. By customers it is the newsletter with 21, google with 14, and twitter and producthunt with 3 each. The untagged group accounts for another 19. The table holds no costs, so it cannot set a budget, but it changes which channel deserves a closer look.

Read the count before the rate

A rate on a small group moves a lot with one person. Before comparing two sources, check that each has enough people entering for the difference to mean something. Widen the time range if not. The table lists up to 20 groups: the ones the most people entered.

First touch and Not set

A person can arrive more than once: from a search ad on Monday, from the newsletter on Wednesday. In a breakdown, each person is counted under the first value seen for them in the selected range. That is first-touch attribution, limited to the range you are looking at.

People with no value are grouped as Not set, or as Direct when the breakdown is by referrer. In the example that is 388 people, the second-largest group. This group is everyone with no tagged visit in the range: organic search, links from other sites, typed addresses, bookmarks, untagged emails. It is several channels mixed together and should not be read as one. Break the funnel down by Referrer to split it up.

Some of that group is always there, because nobody tags a search result. A Not set group that grows after a campaign is a sign of missing tags, so check the links that went out in the period.

Start at a campaign

A breakdown compares every source at once. To study one campaign, make it the first step. A funnel's first step can be a Session step: where a session came from, by referrer, UTM source, medium or campaign, country or site.

"Arrived from the launch-week campaign, then signup_completed, then plan_started" is a three-step funnel that answers what the launch produced, with its own time to convert and its own drop-off.

The filters on the left do a third thing: they narrow the whole funnel to people with a matching session. Use a filter to look at one country or one site, and a breakdown inside it.

Other things to split by

The same table works for any dimension. A few that often explain a conversion rate:

  • Referrer. Catches traffic you did not tag: a blog post that linked to you, a forum thread.
  • UTM campaign. Compares campaigns within one source.
  • An event property. method on signup_completed shows whether Google sign-in converts better than email and password. A person counts under the first value their step events carry.
  • Country and site. Shows whether a market or a subdomain behaves differently.
  • A user or account property. Plan, role, industry. See the B2B guide.

What this cannot tell you

  • Shared credit. A person who found you through search and converted after a newsletter counts once, under the first. This is not a multi-touch model.
  • Cost. The table has customers per channel, not spend. Divide by what each channel cost yourself.
  • Touches outside the range. A first visit before the range started is not seen. Use a range longer than your sales cycle.
  • Accounts. The example counts people. In a B2B product, invited teammates sign up and never pay themselves, which lowers every channel's rate. Part 5 covers counting by account.
  • Other devices. A phone visit and a laptop signup are two visitors until the person signs in on both.
  • Visitors without an id. People who decline consent, or whose browser sends Global Privacy Control, carry no persistent visitor id, so their visits cannot be joined across sessions.

Coming from PostHog

PostHog stores UTM values as properties on each event and keeps the first ones a person arrived with as initial person properties, such as $initial_utm_source. A funnel there can be broken down by either, and the breakdown attribution can be switched between first touch, last touch and a specific step.

Maple keeps the source on the session and offers it as a breakdown directly: UTM source, UTM medium, UTM campaign and Referrer. A person counts under the first value in the selected range. That is close to an initial-source breakdown when the range covers their first visit, and there is no other attribution mode. Breakdowns cover source, medium and campaign. utm_term and utm_content are stored with the session and are not breakdown dimensions. There is no multi-touch attribution.

Maple

Sources come with the browser SDK

Referrers and UTM tags are recorded with every session. Web analytics shows them by visit, and Product analytics breaks any funnel down by them.

FAQ

Common questions

What are UTM parameters?
UTM parameters are tags added to the end of a link, such as utm_source=newsletter, that tell analytics tools where a visit came from. The three that matter most are utm_source (who sent the visit), utm_medium (what kind of channel) and utm_campaign (which campaign).
How do I measure conversion rate by channel?
Tag every link you control with UTM parameters, build a funnel from the first step of signup to the outcome you care about, and break that funnel down by UTM source. Each source then shows how many people entered, how many converted, and its conversion rate next to the overall rate.
What is the difference between utm_source and utm_medium?
utm_source names who sent the visit: google, newsletter, producthunt. utm_medium names the kind of channel: cpc, email, social. One medium has many sources. Paid search on Google and on Bing are two sources with the same medium, cpc.
Why is so much of my traffic Direct or Not set?
A visit has no source when the link was not tagged and the browser sent no referrer: a typed address, a bookmark, a link in a desktop app, or a browser that strips referrers. People who return later by typing the address also arrive without a tag. Some share is normal. A sudden rise usually means a campaign went out with untagged links.
Should I use UTM parameters on internal links?
No. In many analytics tools a UTM tag on a link inside your own site starts a new attribution for that visitor and replaces the channel that actually brought them. Use events or page paths to measure clicks inside the product.

See your first trace today.

Add the SDK, point your OTLP exporter at Maple, and traces arrive.

maple.dev: observability on OpenTelemetry