UTM Links and GA4 Basics
Tag every link so you know which channel sent people, then find the answer in Google Analytics 4.
What you will be able to do
By the end of this lesson you can build UTM-tagged links for each channel and find your campaign traffic in GA4.
What GA4 does
Google Analytics 4 (GA4) is a tool that counts what people do on a website. It records events, like a page view, a click, or a form submit. You can mark the events that matter most as key events. For the pantry, the key event is the volunteer form being submitted.
GA4 must be set up on your partner's website first. Ask whoever runs the site. Many website builders have a box where you paste a GA4 measurement ID that starts with "G-".
The problem UTM links solve
If 40 people visit the volunteer page, which channel sent them? Instagram? The email? The flyer?
A UTM link is a normal web address with small tags added to the end. The tags tell GA4 where the visitor came from.
| Tag | What it means | Example |
|---|---|---|
utm_source | Who sent the visitor | instagram, newsletter, flyer |
utm_medium | The kind of channel | social, email, print |
utm_campaign | Your campaign name | saturday-volunteers |
Rules: use lowercase, use hyphens instead of spaces, and keep names the same every time. "Instagram" and "instagram" show up as two different sources.
Build your links
Edit the list of channels in the code below, then watch the console. Each line is a ready-to-use link. Keyboard users: press Esc, then Tab, to leave the editor.
UTM link builder
Change the page address, campaign name, and channels to match your campaign. Then copy your links from the console.
For the flyer, turn the flyer link into a QR code. Now you can count print scans in GA4.
Find your campaign in GA4
- Open GA4 and choose your partner's property.
- Go to Reports, then Acquisition, then Traffic acquisition.
- Change the table's main column to Session campaign. Find your campaign name.
- Add Session source / medium to see each channel.
- Look at the Key events column to see which channel led to sign-ups.
Data can take up to a day or two to appear. Check weekly, not hourly.
Judgment check
- Never put personal data in a UTM tag. No names, emails, or phone numbers in a link. Google's rules forbid it, and it exposes people.
- Get access the right way. Ask your partner to add you as a Viewer in GA4. Do not share passwords.
- Youth sites: if a site is aimed at children under 13, talk with the program lead before adding any tracking. Collect as little as possible.
- Small numbers are noisy. Ten visits is not a trend. Say "early signal," not "proof."
Quiz: Check your understanding
Go deeper: Performance Marketing: Stop Guessing, Start Printing