Articles on: AB : Google Analytics

How to track UTM parameters

UTM tags tell GA4 where your traffic came from (Facebook, email, Google Ads, etc.).

Once AB: Google Analytics is set up, UTMs on your links are captured automatically by GA4.

Step 1 — Finish app setup


  1. Save your Measurement ID
  2. Enable the Theme Extension
  3. (Optional) Enable Custom events for ecommerce actions


Add parameters to your campaign URLs:

https://yourstore.com/products/example?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale

Main UTM fields


Parameter

Example

Meaning

utm_source

facebook

Where traffic comes from

utm_medium

cpc, email, social

Marketing channel

utm_campaign

summer_sale

Campaign name

utm_content

ad_variant_a

Ad or link variation (optional)

utm_term

running_shoes

Keyword (optional)

Use these tagged links in ads, emails, social posts, and influencer links.

Step 3 — View UTM data in GA4


  1. Open analytics.google.com
  2. Go to ReportsAcquisitionTraffic acquisition
  3. Change the primary dimension to Session source / medium or Session campaign

Tips


  • Use consistent naming (lowercase, underscores)
  • Use Google's Campaign URL Builder to build links
  • Allow 24–48 hours for full reporting; use Realtime for quick checks

Need help?


Tell us your campaign link in chat and we can check your UTM format.

Updated on: 07/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!