UTM tracking parameters

Track campaign source, medium, and name with standard UTM query parameters — no extra setup required.

XPmetric reads supported UTM query parameters on every pageview automatically. No script configuration required.

Supported parameters

ParameterStored asExample
utm_sourceTraffic sourcenewsletter
utm_mediumMediumemail
utm_campaignCampaign namelaunch-week

Only these three exact, lowercase parameter names are retained. Other query parameters are discarded for privacy, including utm_term and utm_content. UTM values are bounded; values that look like an email, nested URL or credential are dropped.

Example URL:

https://yoursite.com/pricing?utm_source=twitter&utm_medium=social&utm_campaign=launch

Where 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_campaign values
  • Revenue breakdown — when payments are attributed, see which campaigns drove revenue

Tips

  • Use consistent utm_source spelling (twitter, not Twitter and tw).
  • UTMs on landing URLs are captured on the first pageview of the session.
  • Historical pageviews with UTMs classify retroactively — no backfill needed.