Home / Knowledge work / Marketing
Measuring marketing right: GA4, UTM links, consent and email rules
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.
Intermediate · 14 min read · Updated December 3, 2026
If 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.
How the pieces fit
Part 1: events and key events in GA4
Google 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.
The 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.
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.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.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.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.
Part 2: UTM tags on every link you control
When 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:
https://example.com/spring?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
- utm_source: where the click came from, such as newsletter, linkedin or a partner name.
- utm_medium: the type of channel, such as email, paid_social, cpc or referral.
- utm_campaign: the specific campaign name.
- utm_content and utm_term are optional, for telling apart two buttons or ad versions.
Rules that keep reports clean:
- Values are case-sensitive.
utm_medium=Emailandutm_medium=emailbecome two rows. Use lowercase always. - Use one source name per platform and one medium name per channel type.
- Keep all tags in a shared sheet so the whole team uses the same names. Google's Campaign URL Builder makes the links.
- Never tag internal links on your own site. It overwrites the real source.
- Google Ads auto-tagging handles Google ads for you. Do not add manual UTMs there unless you have a reason.
Results show in GA4 under Acquisition, Traffic acquisition. Missing tags show as not set.
Part 3: consent mode
Privacy 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.
Google's consent mode passes the visitor's choice to Google tags using four signals:
- analytics_storage: analytics cookies.
- ad_storage: advertising cookies.
- ad_user_data: sending user data to Google for ads.
- ad_personalization: remarketing and personalized ads.
Set 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.
Part 4: email that reaches the inbox
Gmail, 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:
| Requirement | What it means |
|---|---|
| SPF | A DNS record listing which servers may send for your domain |
| DKIM | A digital signature on each message, checked against your DNS |
| DMARC | A DNS policy that ties SPF or DKIM to your visible From domain. A policy of none is the minimum. |
| Alignment | The domain in your From address must match the domain that passed SPF or DKIM |
| One-click unsubscribe | Marketing mail needs the standard list-unsubscribe header so users can leave in one click |
| Honor opt-outs fast | Process unsubscribes within two days |
| Low spam complaints | Keep the user-reported spam rate below 0.1%, and never let it reach 0.3% |
Set 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.
Checklist
- Three to five key events chosen, tested and marked in GA4
- GA4 counts compared with real orders or leads
- Shared UTM naming sheet, all lowercase, used on every external link
- No UTMs on internal links
- Consent banner live where required, consent mode defaults set before tags load
- Tags tested to confirm they respect a denied choice
- SPF, DKIM and DMARC passing and aligned on your sending domain
- One-click unsubscribe working and opt-outs processed within two days
- Spam rate monitored and kept below 0.1%