Backround image

What is the utm_id query parameter?

The utm_id parameter provides a unique campaign identifier that links click-level data to cost data you import into Google Analytics. It's the bridge between 'someone clicked this link' and 'here's what that campaign cost us.'

Learn More

How does utm_id work?

Unlike utm_campaign which uses a human-readable name, utm_id is a unique identifier (often numeric) that matches a campaign in your cost data import file. Google Analytics uses this ID to join click data with cost, impression, and other campaign-level metrics you upload.

https://yourwebsite.com/?utm_source=bing&utm_medium=cpc&utm_campaign=spring_sale&utm_id=12345

When should you use utm_id?

You typically need utm_id when:

If you only advertise on Google Ads with auto-tagging (gclid), cost data flows automatically and you don't need utm_id.

How is utm_id different from utm_campaign?

utm_campaign is a descriptive name like "summer_sale" — it's for human readability in reports. utm_id is a machine-readable identifier like "12345" — it's for joining datasets. You use both together: the campaign name for reading reports, the ID for importing cost data.

How does utm_id relate to other UTM parameters?

utm_id and TTFB

Since utm_id is unique per campaign (not per click), it adds fewer distinct URL variants than parameters like fbclid or gclid, which change on every click. Still, when combined with other UTM parameters, the total URL variation can be significant. Configure your caching to ignore query parameters for optimal performance.

Test your site's performance with utm_id

Use the tool below to measure how the utm_id parameter affects your website's TTFB.

Url to be checked

Paste your url with http(s)://

Reset
Site url
Runs for each url
Url parameters

created by

Mateusz Zadorożny

Founder of Shift64 — high-performance infrastructure for WooCommerce stores that have outgrown their hosting.