Analytics, Tracking and Attribution
Set up conversion tracking, tag links with UTM parameters, compare attribution models, and handle consent and privacy responsibly.
Welcome back!
Step 1 of 12Learn
Who gets the credit?
Sofia buys a $300 espresso grinder online. Here's her path:
- Day 1: she sees a short video review on a social platform and visits the store's site.
- Day 6: she searches "best espresso grinder under 300" and clicks an organic result: the store's buying guide.
- Day 9: she signs up for the newsletter to get a 10% code.
- Day 12: she clicks a link in the welcome email and buys.
Which channel made the sale? The social video introduced her. The guide earned her trust. The email closed the deal. If the store's report gives 100% of the credit to email, the team might cut the social budget and the blog, and three months later wonder why new subscribers dried up.
This is the problem of attribution: deciding how to credit the channels that contributed to a conversion. It's never perfect, but understanding the main models, setting up tracking correctly and knowing the blind spots will keep you from making expensive decisions based on misleading numbers.
In this lesson you'll learn what web analytics tools measure, how to tag your links so traffic sources are recorded properly, how different attribution models change the story, and why consent and privacy rules shape what you can track.
Step 2 of 12Timeline
Sofia's path to a $300 grinder
- Day 1Social video review
First contact: she visits the site.
- Day 6Organic search: buying guide
The guide earns her trust.
- Day 9Newsletter sign-up
For a 10% code.
- Day 12Welcome email click: purchase
Last-click reports give email all the credit.
Step 3 of 12Learn
What analytics tools measure
A web analytics tool, such as Google Analytics 4 or a privacy-focused alternative, records what visitors do on your site using a small tracking script. Key concepts:
- Users and sessions: a user is (roughly) a person or device; a session is one visit.
- Traffic sources: where visitors came from. Typical channel groups include organic search, paid search, social, email, referral (links from other sites) and direct (typed URL, bookmarks, or unknown).
- Events: actions such as page views, video plays, form submissions, add-to-cart.
- Conversions (called key events in GA4): the events that matter most for your goals, like purchases or sign-ups. You mark these yourself.
- Engagement: how long people stay and whether they interact. An engaged session in GA4 is one that lasts a while, includes a conversion or views more than one page. Older tools reported bounce rate, the share of single-page visits with no interaction.
The most important setup step is conversion tracking. Without it, you only know how many people arrived, not which channels produced customers. Make sure every key action (purchase, lead form, booking) is recorded as a conversion, and test it by completing the action yourself.
A good habit: before you look at any report, write down the question you want answered, such as "Which channel brought the most first-time buyers last month?" Dashboards full of numbers invite browsing; questions lead to decisions.
Step 4 of 12Practice · True or false
Without conversion tracking set up, an analytics tool can still tell you how many visitors came from each channel, but not which channels produced sales or leads.
Step 5 of 12Learn
UTM parameters: label your links
When someone clicks a link in your newsletter or a post, analytics tools don't always know where they came from. Email apps and some social apps can strip referral information, so the visit lands in "direct" and the channel that earned it gets no credit.
The fix is UTM parameters: short tags added to the end of a URL. The three you'll use most:
- utm_source: where the traffic comes from (newsletter, facebook, partner-blog).
- utm_medium: the type of channel (email, social, cpc, referral).
- utm_campaign: the specific campaign (winter-sale, spring-launch).
A tagged link looks like this:
example.com/grinders?utm_source=newsletter&utm_medium=email&utm_campaign=winter-sale
Analytics tools read these tags and record the visit accordingly.
Rules that keep data clean:
- Be consistent. "Email," "email" and "e-mail" show up as three different mediums. Use lowercase and agree on a naming list.
- Tag links you share on channels you control: emails, social posts, partner placements, QR codes on print.
- Don't tag internal links between pages of your own site; that overwrites the real source.
- Ad platforms like major search engines can usually tag automatically when connected to your analytics.
Keep a shared spreadsheet of campaign names and tagged links so everyone on the team uses the same labels.
Step 6 of 12Practice · Fill in the blanks
Fill in the blanks
In a UTM-tagged link, the parameter utm_ describes the type of channel (such as email or cpc), while utm_ names where the traffic came from (such as newsletter or a specific site).
Step 7 of 12Compare
Common attribution models
| Aspect | How credit is given | Strength | Blind spot |
|---|---|---|---|
| Last click | 100% to the final touchpoint before purchase | Simple; shows what closes sales | Ignores channels that introduced the customer |
| First click | 100% to the first touchpoint | Highlights what finds new customers | Ignores what persuaded and closed |
| Linear | Equal share to every touchpoint | Recognizes the whole path | Treats a brief glance the same as a decisive click |
| Data-driven | Credit estimated from patterns in many conversion paths | Adapts to your real data | Needs lots of data and works like a black box |
Step 8 of 12Practice · Work it out
Under a linear attribution model, how much credit, in dollars, does the social video get for Sofia's $300 grinder purchase if her path had four touchpoints (social video, organic guide, newsletter sign-up page, welcome email)?
Step 9 of 12Practice · Chart
Credit for Sofia's $300 under three models
Under last-click attribution, tap the channel that gets every dollar.
Tap the bar that answers the question, then press Check.
Step 10 of 12Note
Step 11 of 12Practice · Select all that apply
A team notices that 45% of their website sales are labeled "direct" in analytics. Which could be contributing? Select all that apply.
Select all that apply.
Step 12 of 12Practice · What would you do?
What would you do?
Last-click reports show that brand search ads and email produce most sales, while social video ads look like they produce almost nothing. The CEO wants to cut social entirely. What is the best response?
Lesson complete!