UTM tracking parameters
Track campaign source, medium, and name with standard UTM query parameters — no extra setup required.
XPmetric reads standard UTM query parameters on every pageview automatically. No script configuration required.
Supported parameters
| Parameter | Stored as | Example |
|---|---|---|
utm_source | Traffic source | newsletter |
utm_medium | Medium | email |
utm_campaign | Campaign name | launch-week |
utm_term | Term (optional) | analytics |
utm_content | Content variant (optional) | hero-cta |
Example URL:
https://yoursite.com/pricing?utm_source=twitter&utm_medium=social&utm_campaign=launchWhere to see UTMs
- Channels card on your site dashboard — classifies traffic into Paid, Organic Social, Email, etc., using UTMs plus referrer heuristics
- Campaign tab — ranks
utm_campaignvalues - Revenue breakdown — when payments are attributed, see which campaigns drove revenue
Tips
- Use consistent
utm_sourcespelling (twitter, notTwitterandtw). - UTMs on landing URLs are captured on the first pageview of the session.
- Historical pageviews with UTMs classify retroactively — no backfill needed.
Related
- Custom goals — track conversions from specific campaigns
- Stripe attribution — tie payments back to first-touch UTMs