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
- Save your Measurement ID
- Enable the Theme Extension
- (Optional) Enable Custom events for ecommerce actions
Step 2 — Add UTM tags to your links
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 |
|---|---|---|
| Where traffic comes from | |
| cpc, email, social | Marketing channel |
| summer_sale | Campaign name |
| ad_variant_a | Ad or link variation (optional) |
| running_shoes | Keyword (optional) |
Use these tagged links in ads, emails, social posts, and influencer links.
Step 3 — View UTM data in GA4
- Open analytics.google.com
- Go to Reports → Acquisition → Traffic acquisition
- 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
Thank you!