Sub topic 10
utm_id and Other Additional Campaign Parameters
This chapter assumes you can already build a URL with utm_source, utm_medium and utm_campaign, and that you know how GA4 turns them into session dimensions. Here you will add the four extra parameters GA4 reads: utm_id, utm_source_platform, utm_creative_format and utm_marketing_tactic. You will learn what each one does, when it is worth the extra URL length, and how to make the values appear in reports.
Why the core parameters are sometimes not enough
The three core parameters are text labels. Labels work well for people, but they have three weaknesses when a campaign grows:
- Names change. Someone renames
spring_sale_2026tospring_sale_2026_v2halfway through the flight. GA4 now sees two campaigns, and nothing links them. - Names are not unique. Two teams can both use
summer_launch, so the rows merge. - Names do not match other systems. Your ad platform, CRM or cost spreadsheet identifies the campaign by a numeric or alphanumeric ID. A campaign name only matches if every system spells it identically.
The additional parameters address these gaps. They add a stable key, and they add a few descriptive fields that help you slice campaigns by platform, format and intent.
The four additional parameters
| Parameter | What it carries | Example value | GA4 dimension (session scope) |
|---|---|---|---|
| `utm_id` | A unique campaign identifier | `cmp_10482` | Session campaign ID |
| `utm_source_platform` | The platform that manages the campaign | `linkedin_campaign_manager` | Session source platform |
| `utm_creative_format` | The type of creative shown | `video_15s` | Session manual creative format |
| `utm_marketing_tactic` | The targeting or intent of the campaign | `prospecting` | Session manual marketing tactic |
GA4 also records each of these at first-user scope, for example First user campaign ID. This lets you ask which campaign originally brought a user, not only which one started a session.
The first three tagged parameters in this table do not replace utm_source, utm_medium or utm_campaign. You still need those three, because they drive the default channel grouping and the standard acquisition reports. The additional parameters are optional extras.
utm_id
utm_id holds an identifier for the campaign. Treat it as a primary key: the name can be edited, but the ID never changes for the life of the campaign.
It is most useful in three situations:
- Joining to other data. If your ad platform exports a campaign ID, using the same value in
utm_idlets you match GA4 rows to platform rows without relying on name spelling. - Cost data import. When you import cost data for non-Google ad platforms, GA4 needs to match the imported rows to the traffic it collected. Matching on source, medium and campaign works, and a campaign ID gives you a more reliable key. The exact required columns change from time to time, so check the current import schema in the GA4 documentation before you build a pipeline.
- Reporting across renames. You can group by Session campaign ID and see one row per ID, even if the campaign name varied across links.
The value is a string. Keep it short, lowercase and free of spaces, the same as your other values.
utm_source_platform
utm_source_platform names the system that created and manages the campaign, for example google_ads, meta_ads_manager or mailchimp. This differs from utm_source. The source says where the visitor came from, such as facebook. The source platform says which tool you used to buy or send the traffic.
You may notice that Session source platform shows Manual for many UTM-tagged sessions. That is the value GA4 reports when the link was tagged by hand and no utm_source_platform was supplied. Setting the parameter replaces that generic value with something you can filter on.
utm_creative_format
utm_creative_format describes the type of creative: banner_300x250, video_15s, carousel, plain_text_email. Use it when you test formats against each other inside a single campaign. It overlaps with utm_content, which is often used for the same purpose. The difference is one of design. utm_content is free text that tells apart individual links or ads, while utm_creative_format is a category with a small controlled list of values.
utm_marketing_tactic
utm_marketing_tactic records the targeting approach or intent, such as prospecting, retargeting or brand_awareness. This gives you a way to compare tactics across many campaigns. Without it, you would have to encode the tactic into every campaign name and then parse the names later.
How the values travel into GA4
The path is the same as for the core parameters. The browser loads the landing page with the query string intact, the GA4 tag reads the parameters from the page URL, and GA4 attaches them to the session as campaign details.
The diagram ends in Explorations and custom reports on purpose. The standard Traffic acquisition and User acquisition reports do not show these four dimensions in their default layout. You add them yourself, as described later in this chapter.
Building the extended URL
Here is a full example link. The first six parameters are the ones you already know, and the last four are the additions from this chapter.
https://example.com/spring-sale?utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring_sale_2026&utm_id=cmp_10482&utm_content=hero_image&utm_source_platform=linkedin_campaign_manager&utm_creative_format=single_image&utm_marketing_tactic=prospectingHand-writing links like this is error-prone. The helper below extends the one from earlier in the tutorial. It still requires the three core parameters, normalizes values, and checks the two descriptive parameters against allowed lists. A small controlled vocabulary is what makes these dimensions useful in reports.
const ALLOWED_TACTICS = ['prospecting', 'retargeting', 'brand_awareness'];
const ALLOWED_FORMATS = ['single_image', 'carousel', 'video_15s', 'video_30s', 'plain_text_email'];
function normalize(value) {
return String(value).trim().toLowerCase().replace(/\s+/g, '_');
}
function buildCampaignUrl(baseUrl, options) {
const {
source, medium, campaign,
id, term, content,
sourcePlatform, creativeFormat, marketingTactic,
} = options;
if (!source || !medium || !campaign) {
throw new Error('source, medium and campaign are required');
}
if (creativeFormat && !ALLOWED_FORMATS.includes(normalize(creativeFormat))) {
throw new Error(`creativeFormat must be one of: ${ALLOWED_FORMATS.join(', ')}`);
}
if (marketingTactic && !ALLOWED_TACTICS.includes(normalize(marketingTactic))) {
throw new Error(`marketingTactic must be one of: ${ALLOWED_TACTICS.join(', ')}`);
}
const url = new URL(baseUrl);
const params = {
utm_source: source,
utm_medium: medium,
utm_campaign: campaign,
utm_id: id,
utm_term: term,
utm_content: content,
utm_source_platform: sourcePlatform,
utm_creative_format: creativeFormat,
utm_marketing_tactic: marketingTactic,
};
for (const [key, value] of Object.entries(params)) {
if (value) {
url.searchParams.set(key, normalize(value));
}
}
return url.toString();
}
console.log(buildCampaignUrl('https://example.com/spring-sale', {
source: 'linkedin',
medium: 'paid social',
campaign: 'Spring Sale 2026',
id: 'CMP_10482',
content: 'hero image',
sourcePlatform: 'linkedin campaign manager',
creativeFormat: 'single image',
marketingTactic: 'Prospecting',
}));Running this prints the full URL with every value lowercased and spaces replaced by underscores. A call with marketingTactic: 'awareness' throws an error instead, which is the behavior you want: the mistake is caught when the link is built, not three weeks later in a report.
Making the dimensions visible in GA4
You will not find these four dimensions in the default Traffic acquisition table. There are two ways to use them.
In an Exploration
- Open Explore and create a Free form exploration.
- In the Variables column, next to Dimensions, select the plus icon and search for "campaign ID", "source platform", "creative format" and "marketing tactic". Check the ones you want and confirm the import.
- Drag Session campaign ID to Rows. Add Session source / medium as a second row level if you want to see where each ID ran.
- Add metrics such as Sessions, Engaged sessions and Key events as Values.
In a standard report
Open Reports > Acquisition > Traffic acquisition, select the pencil icon to customize the report, and add a secondary dimension. The pencil is only available if your role allows editing. The secondary dimension drop-down lists the session-scoped campaign dimensions, which include the ones in this chapter.
Scope matters
Use the dimension scope that matches your question, and do not mix scopes in one table.
| Question | Scope to use |
|---|---|
| Which campaign ID started this session? | Session campaign ID |
| Which campaign ID first acquired this user? | First user campaign ID |
| Which campaign gets credit for a key event? | Attribution-aware dimensions, in the attribution reports |
Mixing a session-scoped dimension with a first-user dimension in one table is allowed, but the two columns can answer different questions, so label them clearly.
Interaction with the core parameters
Several behaviors affect how you should combine the parameters:
- Core parameters are still required. Channel grouping and the standard reports depend on source and medium. A link with only
utm_idand no medium cannot be assigned to a sensible channel. - A new campaign value starts a new session. As with the core parameters, GA4 treats a change in campaign details between page loads as a new traffic source. Do not put different campaign details on internal links, or you will break session attribution. The common symptom is self-referral or a flood of short sessions.
- Values are case sensitive.
CMP_10482andcmp_10482appear as separate rows. This is why the helper normalizes everything to lowercase. - Not every parameter needs every link. Use
utm_idandutm_source_platformon all paid links where an ID exists. Addutm_creative_formatandutm_marketing_tacticonly if someone will actually report on them.
Interaction with auto-tagging
Google Ads auto-tagging appends gclid and fills in campaign details from your Google Ads account, so you generally do not add the extra UTM parameters to Google Ads links. For those links, Google Ads already supplies the campaign ID and the source platform. If you add manual UTM values to an auto-tagged link, the manual values can override the imported ones depending on your property setting for manual tagging overrides. Leave that setting alone unless you have a specific reason, and do not tag Google Ads traffic by hand.
Checking that the parameters survived
Before you launch, load the link and confirm the parameters are still in the address bar. Redirects, link shorteners and some email tools drop or rewrite query strings. This console snippet extends the earlier check to cover the extended parameters.
const EXPECTED = [
'utm_source', 'utm_medium', 'utm_campaign', 'utm_id',
'utm_source_platform', 'utm_creative_format', 'utm_marketing_tactic',
];
const params = new URLSearchParams(window.location.search);
const found = Object.fromEntries(
[...params].filter(([key]) => key.startsWith('utm_'))
);
const missing = EXPECTED.filter((key) => !(key in found));
console.log('Found:', found);
console.log('Missing:', missing.length ? missing : 'none');The script prints the parameters it found and lists any expected ones that are absent. Note that some expected keys may be absent on purpose, such as utm_creative_format on a link where you chose not to set it.
Then confirm in GA4. Open the Realtime report with the link loaded in another tab and check the traffic source cards. Realtime shows only the core source, medium and campaign values. To see the additional values, use DebugView with debug mode enabled and inspect the page_view or session_start event parameters. Standard reports and Explorations can take many hours to process new values, so a missing campaign ID the same day is not necessarily a tagging fault.
Common mistakes with additional parameters
- Using utm_id as a name. Putting
spring_sale_2026inutm_idremoves the benefit of a stable key. Use an ID from your planning sheet or ad platform. - Free-form values for tactic and format. If people type
Retargeting,retargetandremarketing, you get three rows for one idea. Use a controlled list. - Expecting the values in every report. The extended dimensions appear in Explorations and as secondary dimensions, not as default columns.
- Duplicating information. If your campaign name already encodes the format and tactic, adding both parameters produces conflicting values. Pick one place for each fact.
- Tagging internal links. Any campaign parameters on links between your own pages start a new session and overwrite the original source.
Exercise
Your team renamed a paid social campaign from spring_sale_2026 to spring_sale_2026_final halfway through the run, so GA4 shows two campaign rows. The ad platform's campaign ID, 10482, never changed. What would you add to the tagged links so you can report the whole run as one campaign in the future, which dimension would you group by, and where would you find that dimension?
Show answer
Add utm_id=10482 (or an agreed form such as cmp_10482) to every link in the campaign, and keep it fixed even if the name changes. In GA4, group by Session campaign ID. It is not in the default Traffic acquisition columns, so add it in a Free form Exploration by importing the dimension, or as a secondary dimension in a customized report. The already-collected sessions without a campaign ID cannot be fixed retroactively. They stay in the two separate name rows.
Exercise
A colleague adds utm_marketing_tactic=Retargeting to some links and utm_marketing_tactic=remarketing to others, and the report shows both. Name two changes that prevent this.
Show answer
First, normalize values to lowercase with underscores when building the URL, so case differences disappear. Second, validate against a controlled list of allowed tactic values, for example prospecting, retargeting and brand_awareness, and reject anything else, as the buildCampaignUrl helper does. A shared naming sheet that defines the allowed values supports both.