Branchwell

Become a Pro / website · becomeapro.ai / content / lessons / knowledge-work / marketing / measuring-marketing-ga4-utm-consent-email.mdx

1---
2title: "Measuring marketing right: GA4, UTM links, consent and email rules"
3description: "Set up trustworthy measurement: key events in Google Analytics 4, consistent UTM tags, consent mode, and the email authentication and unsubscribe rules that keep you out of spam."
4updated: 2026-12-03
5minutes: 14
6level: Intermediate
7order: 2
8sources:
9 - https://support.google.com/analytics/answer/13965727
10 - https://support.google.com/analytics/answer/13128484
11 - https://support.google.com/analytics/answer/10917952
12 - https://developers.google.com/tag-platform/security/concepts/consent-mode
13 - https://developers.google.com/tag-platform/security/guides/consent
14 - https://support.google.com/analytics/answer/13802165
15 - https://support.google.com/a/answer/81126
16 - https://support.google.com/a/answer/14229414
17 - https://senders.yahooinc.com/best-practices/
18 - https://techcommunity.microsoft.com/blog/exchange/strengthening-email-ecosystem-outlooks-new-requirements-for-high-volume-senders/4399730
19 - https://support.microsoft.com/en-us/outlook/fix-ndr-error-550-5-7-515-in-outlook-com
20 - https://datatracker.ietf.org/doc/html/rfc8058
21---
22
23If you cannot measure a campaign, you cannot improve it, and you cannot defend its budget. Measurement also has rules now: privacy laws decide what you may track, and email providers decide whether your messages reach the inbox. This lesson sets up all four pieces properly.
24
25## How the pieces fit
26
27<Diagram caption="A tagged link brings a visitor to your site. Consent decides what is stored. GA4 records events and credits the right campaign.">
28 <svg viewBox="0 0 600 250" role="img" aria-label="Flow: an email or ad with a UTM-tagged link leads to the website, passes through the consent banner, then GA4 records events and shows a traffic acquisition report">
29 <rect x="10" y="40" width="130" height="60" rx="8" className="soft" stroke="currentColor" strokeWidth="2" />
30 <text x="75" y="66" fontSize="15" textAnchor="middle" fill="currentColor">Email or ad</text>
31 <text x="75" y="86" fontSize="14" textAnchor="middle" fill="currentColor">tagged link</text>
32 <rect x="160" y="40" width="130" height="60" rx="8" className="soft" stroke="currentColor" strokeWidth="2" />
33 <text x="225" y="66" fontSize="15" textAnchor="middle" fill="currentColor">Website</text>
34 <text x="225" y="86" fontSize="14" textAnchor="middle" fill="currentColor">landing page</text>
35 <rect x="310" y="40" width="130" height="60" rx="8" className="soft" stroke="currentColor" strokeWidth="2" />
36 <text x="375" y="66" fontSize="15" textAnchor="middle" fill="currentColor">Consent</text>
37 <text x="375" y="86" fontSize="14" textAnchor="middle" fill="currentColor">banner choice</text>
38 <rect x="460" y="40" width="130" height="60" rx="8" fill="none" stroke="currentColor" strokeWidth="3" />
39 <text x="525" y="66" fontSize="15" textAnchor="middle" fill="currentColor">GA4</text>
40 <text x="525" y="86" fontSize="14" textAnchor="middle" fill="currentColor">events, reports</text>
41 <line x1="140" y1="70" x2="158" y2="70" stroke="currentColor" strokeWidth="2" />
42 <line x1="290" y1="70" x2="308" y2="70" stroke="currentColor" strokeWidth="2" />
43 <line x1="440" y1="70" x2="458" y2="70" stroke="currentColor" strokeWidth="2" />
44 <text x="75" y="140" fontSize="14" textAnchor="middle" fill="currentColor">utm_source</text>
45 <text x="75" y="160" fontSize="14" textAnchor="middle" fill="currentColor">utm_medium</text>
46 <text x="75" y="180" fontSize="14" textAnchor="middle" fill="currentColor">utm_campaign</text>
47 <text x="375" y="140" fontSize="14" textAnchor="middle" fill="currentColor">Granted: full data</text>
48 <text x="375" y="160" fontSize="14" textAnchor="middle" fill="currentColor">Denied: no cookies,</text>
49 <text x="375" y="180" fontSize="14" textAnchor="middle" fill="currentColor">modeled data</text>
50 <text x="525" y="140" fontSize="14" textAnchor="middle" fill="currentColor">Key events</text>
51 <text x="525" y="160" fontSize="14" textAnchor="middle" fill="currentColor">by campaign</text>
52 <text x="300" y="230" fontSize="14" textAnchor="middle" fill="currentColor">Break any link in this chain and the numbers stop being true</text>
53 </svg>
54</Diagram>
55
56## Part 1: events and key events in GA4
57
58Google Analytics 4 records everything as an **event**: a page view, a scroll, a click, a form submit, a purchase. Some events are collected automatically. Others you add with Google Tag Manager or your site platform.
59
60The events that matter most to you are marked as **key events**. GA4 used to call these conversions. They were renamed, and existing ones carried over automatically. Google Ads still uses the word conversion, and a GA4 key event does not count in Google Ads until you import it there.
61
62<Steps>
63 <Step title="Pick a few key events">Choose the actions that mean real progress: a purchase, a lead form submitted, a demo booked, a sign-up. Three to five is plenty. Page views and scrolls are not key events.</Step>
64 <Step title="Make sure the event fires">Use Tag Assistant or GA4's DebugView to complete the action yourself and watch the event arrive with the right name and details.</Step>
65 <Step title="Mark it as a key event">In GA4 admin, under events, mark the event as a key event. For purchases, send the value and currency so revenue reports work.</Step>
66 <Step title="Check it the next day">Compare GA4's count with your own records, such as orders in your store or leads in your CRM. A gap of more than a few percent means something is broken or blocked.</Step>
67</Steps>
68
69## Part 2: UTM tags on every link you control
70
71When someone clicks a link in your email, social post or ad, **UTM parameters** on the end of the link tell GA4 where the visit came from. Example:
72
73`https://example.com/spring?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale`
74
75- **utm_source**: where the click came from, such as newsletter, linkedin or a partner name.
76- **utm_medium**: the type of channel, such as email, paid_social, cpc or referral.
77- **utm_campaign**: the specific campaign name.
78- **utm_content** and **utm_term** are optional, for telling apart two buttons or ad versions.
79
80Rules that keep reports clean:
81
82- Values are case-sensitive. `utm_medium=Email` and `utm_medium=email` become two rows. Use lowercase always.
83- Use one source name per platform and one medium name per channel type.
84- Keep all tags in a shared sheet so the whole team uses the same names. Google's Campaign URL Builder makes the links.
85- Never tag internal links on your own site. It overwrites the real source.
86- Google Ads auto-tagging handles Google ads for you. Do not add manual UTMs there unless you have a reason.
87
88Results show in GA4 under **Acquisition, Traffic acquisition**. Missing tags show as not set.
89
90## Part 3: consent mode
91
92Privacy laws in many places, including the EU, the UK and several US states, require permission before setting tracking or advertising cookies. You need a consent banner from a consent management platform, and you need your tags to respect the choice.
93
94Google's **consent mode** passes the visitor's choice to Google tags using four signals:
95
96- **analytics_storage**: analytics cookies.
97- **ad_storage**: advertising cookies.
98- **ad_user_data**: sending user data to Google for ads.
99- **ad_personalization**: remarketing and personalized ads.
100
101Set defaults before any tag loads, usually denied where consent is required, then update them when the visitor chooses. When consent is denied, Google tags send limited cookieless signals, and GA4 can fill some gaps with modeled data. Consent mode does not replace getting consent. It only makes your tags obey it.
102
103<Callout type="warning">Consent and privacy rules differ by country and state and keep changing. Have your banner and privacy policy reviewed by someone who knows the laws where your visitors live. Test that tags really wait for consent using Tag Assistant.</Callout>
104
105## Part 4: email that reaches the inbox
106
107Gmail, Yahoo and Microsoft's Outlook.com now enforce rules for senders. All senders need basic authentication. **Bulk senders**, those sending around 5,000 or more messages a day to one provider, face the strict version:
108
109| Requirement | What it means |
110| --- | --- |
111| SPF | A DNS record listing which servers may send for your domain |
112| DKIM | A digital signature on each message, checked against your DNS |
113| DMARC | A DNS policy that ties SPF or DKIM to your visible From domain. A policy of none is the minimum. |
114| Alignment | The domain in your From address must match the domain that passed SPF or DKIM |
115| One-click unsubscribe | Marketing mail needs the standard list-unsubscribe header so users can leave in one click |
116| Honor opt-outs fast | Process unsubscribes within two days |
117| Low spam complaints | Keep the user-reported spam rate below 0.1%, and never let it reach 0.3% |
118
119Set up SPF, DKIM and DMARC with your email platform's guide, using your own domain, not a free mailbox address. Watch your spam rate in Google Postmaster Tools. Mail that fails these checks goes to spam or is rejected outright.
120
121<Callout type="tip">The easiest way to keep complaints low is to send only to people who asked, make unsubscribing obvious, and remove people who have not opened anything in months.</Callout>
122
123## Checklist
124
125- [ ] Three to five key events chosen, tested and marked in GA4
126- [ ] GA4 counts compared with real orders or leads
127- [ ] Shared UTM naming sheet, all lowercase, used on every external link
128- [ ] No UTMs on internal links
129- [ ] Consent banner live where required, consent mode defaults set before tags load
130- [ ] Tags tested to confirm they respect a denied choice
131- [ ] SPF, DKIM and DMARC passing and aligned on your sending domain
132- [ ] One-click unsubscribe working and opt-outs processed within two days
133- [ ] Spam rate monitored and kept below 0.1%