lesson
35 min

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.

TagWhat it meansExample
utm_sourceWho sent the visitorinstagram, newsletter, flyer
utm_mediumThe kind of channelsocial, email, print
utm_campaignYour campaign namesaturday-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.

Loading the code editor...

Press Esc, then Tab, to move focus out of the editor.

For the flyer, turn the flyer link into a QR code. Now you can count print scans in GA4.

Find your campaign in GA4

  1. Open GA4 and choose your partner's property.
  2. Go to Reports, then Acquisition, then Traffic acquisition.
  3. Change the table's main column to Session campaign. Find your campaign name.
  4. Add Session source / medium to see each channel.
  5. 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

  1. 01What does utm_source tell GA4?

    Choose one.

  2. 02Why should UTM tags be lowercase and consistent?

    Choose one.

  3. 03Which should never go in a UTM link?

    Choose one.

Go deeper: Performance Marketing: Stop Guessing, Start Printing