Sub topic 9
Auto-tagging and manual tagging together
This chapter assumes you can build a UTM-tagged URL, you know how GA4 turns utm_source, utm_medium and utm_campaign into dimensions, and you can open the acquisition reports. It covers the second way a click gets labeled: auto-tagging, where the ad platform adds an identifier to your landing page URL. It also covers how that identifier works alongside the UTM parameters you add by hand.
Two ways a click gets labeled
Manual tagging means you write the UTM parameters into the URL yourself. You choose every value, and GA4 reads exactly what you typed.
Auto-tagging means the ad platform appends a click identifier to the destination URL when someone clicks an ad. For Google Ads this is the Google Click Identifier, or gclid. The identifier contains no readable campaign name. It is a key that Google can look up in its own systems.
https://example.com/spring-sale?gclid=Cj0KCQiA_example_click_idWhen GA4 sees a gclid, it can match the visit to a specific click in Google Ads. That lookup works only if the two products are connected. The value is not interpreted on its own the way a UTM value is.
| Aspect | Manual tagging (UTM) | Auto-tagging (gclid) |
|---|---|---|
| Who writes the values | You | The ad platform |
| What the URL carries | Readable names | An opaque click ID |
| Where the detail comes from | The URL itself | A lookup in Google Ads data |
| Works for any channel | Yes | Only platforms that support it |
| Typical failure | Typos, inconsistent names | Missing link, stripped parameter |
What auto-tagging gives you that UTMs cannot
A UTM string can only carry the labels you thought of in advance. A click identifier lets GA4 pull in details from Google Ads that you never typed into a URL:
- The ad group, keyword, search query and creative that produced the click.
- Cost, impressions and click data, which appear in the Google Ads reports in GA4.
- Accurate conversion attribution when you import GA4 conversions into Google Ads.
For this to work, three things must be true:
- Auto-tagging is turned on in the Google Ads account.
- The Google Ads account is linked to the GA4 property. The link is created in GA4 under Admin > Product links > Google Ads links, and your user needs the right permissions on both sides.
- The
gclidreaches the landing page intact, and GA4 collects it there.
If any of these is missing, you keep the visit but lose the detail. GA4 will not show the ad group or keyword, and cost data will not appear.
What GA4 does with a gclid
When a session starts with a gclid and the accounts are linked, GA4 attributes it to the source google and the medium cpc. The Default channel group then places it in Paid Search. The campaign name shown is the one from Google Ads, not a value from a UTM.
Without the link, the visit still carries the gclid, but GA4 has no way to resolve it into campaign, ad group or keyword values. The result is thinner data, and you may see (not set) in Google Ads dimensions.
Using both on the same URL
Sometimes a single URL carries both a gclid and UTM parameters:
https://example.com/spring-sale?gclid=Cj0KCQiA_example_click_id&utm_source=google&utm_medium=cpc&utm_campaign=spring_sale_2026This happens when someone copies a tagging template onto Google Ads, or when a tracking template adds UTMs on top of auto-tagging. Google Ads auto-tagging does not remove them. There are three outcomes you should plan for:
- The values agree. If your UTMs say
google/cpc, the two methods produce the same source and medium. The campaign name is the part that can differ, because the Google Ads campaign name and yourutm_campaignare separate strings. - The values disagree. If you tagged a Google Ads click with a different source or medium, such as
utm_source=adwords&utm_medium=paid, one set must win. Which set wins depends on your property and link configuration. Do not guess. Test it with a real click and check the Realtime report and the Traffic acquisition report, as described later in this chapter. - Only some sessions have the conflict. If one team tags and another does not, the same campaign can split across several rows with different source and medium values.
A disagreement also damages the Default channel group. For example, google with a medium of paid does not match any Paid Search rule, so the click can land in Unassigned. That is the same failure as a typo in a manual UTM.
Platforms other than Google Ads
Auto-tagging is not universal, so each platform needs its own decision.
- Google Ads: use auto-tagging, linked to GA4.
- Microsoft Advertising: it can append a click identifier called
msclkid. GA4 does not turnmsclkidinto a source and medium for you. Add UTMs to your Microsoft Advertising URLs, or use the platform's option to append UTM parameters automatically. Check the current option name in its settings. - Meta (Facebook and Instagram): it appends
fbclidto outbound links in many cases. GA4 does not use it for source and medium. Tag your ads with UTMs, and use Meta's dynamic URL parameters so that names stay in sync with the campaign. - Email, social posts, QR codes, partner links: no auto-tagging exists. Use UTMs, built with the conventions from earlier chapters.
Some other Google products, such as Search Ads 360 and Display & Video 360, have their own GA4 integrations. Their behavior differs from Google Ads, so read their linking instructions before you mix in UTMs.
A practical division of labor
A policy that works for most teams:
- Google Ads: auto-tagging on, account linked, no UTMs on final URLs.
- Every non-Google paid platform: UTMs, with
utm_medium=cpcorpaid_socialmatching your channel group rules. - Everything you send yourself: UTMs, built with a shared helper.
- Write it down in a one-page tagging guide so nobody improvises.
If you need extra labels on Google Ads clicks, such as a creative variant, put them in a tracking template or in custom parameters. Do not use the final URL. That way the click-time URL still carries the gclid and your own parameters stay out of the source and medium fields.
Detecting conflicts before they reach reports
You can check for conflicts at the URL level before launching. This script flags URLs that carry a gclid and UTMs that disagree with Google Ads defaults. Run it with Node.js 18 or later.
const GOOGLE_ADS_SOURCE = 'google';
const GOOGLE_ADS_MEDIUM = 'cpc';
function auditAdUrl(rawUrl) {
const params = new URL(rawUrl).searchParams;
const hasClickId = params.has('gclid');
const source = params.get('utm_source');
const medium = params.get('utm_medium');
const hasUtm = [...params.keys()].some((key) => key.startsWith('utm_'));
const findings = [];
if (hasClickId && hasUtm) {
findings.push('gclid and UTMs on the same URL: prefer auto-tagging only');
if (source && source.toLowerCase() !== GOOGLE_ADS_SOURCE) {
findings.push(`utm_source "${source}" differs from "${GOOGLE_ADS_SOURCE}"`);
}
if (medium && medium.toLowerCase() !== GOOGLE_ADS_MEDIUM) {
findings.push(`utm_medium "${medium}" differs from "${GOOGLE_ADS_MEDIUM}"`);
}
}
if (!hasClickId && !hasUtm) {
findings.push('no gclid and no UTMs: this click will look like referral or direct');
}
return findings;
}
const urls = [
'https://example.com/a?gclid=abc123',
'https://example.com/b?gclid=abc123&utm_source=adwords&utm_medium=paid',
'https://example.com/c?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026',
'https://example.com/d',
];
for (const url of urls) {
const findings = auditAdUrl(url);
console.log(url);
console.log(findings.length ? findings.map((f) => ` - ${f}`).join('\n') : ' - ok');
}Expected output: /a and /c pass, /b is flagged three ways, and /d is flagged as untagged.
Verifying auto-tagging in your property
Run these checks after you link accounts or change tagging rules.
- Confirm the link. In GA4 go to Admin > Product links > Google Ads links. The account should be listed and active.
- Confirm auto-tagging in Google Ads. In the account's Settings, check that the option to tag the final URL is on. If you use a tracking template that redirects, confirm that the redirect keeps query parameters.
- Click a real ad. You can use a small test budget, or the ad preview tool, which does not create real clicks. Use a real click, because a preview usually will not carry a valid
gclid. - Check the landing URL. The address bar should show
gclid=.... If a redirect or a form handler strips it, GA4 will never see it. - Check GA4. In Realtime, look at the traffic source and campaign for your session. Later, check Reports > Acquisition > Traffic acquisition and add the dimension Session Google Ads campaign if you want the imported name.
The Realtime report may not show Google Ads ad group or keyword values immediately. Those arrive after the link processes the click, so judge by the final acquisition report, not only by Realtime.
Common problems and their causes
| Symptom | Likely cause | Fix |
|---|---|---|
| Google Ads traffic appears as `google / organic` | Auto-tagging off, or `gclid` removed by a redirect | Turn auto-tagging on, preserve query strings in redirects |
| Paid Search sessions but no ad group or keyword | Accounts not linked, or link lacks permission | Create the link in Admin, check permissions |
| Same campaign appears under two names | Google Ads name differs from `utm_campaign` | Use one system for Google Ads, or align the names |
| `google / paid` lands in Unassigned | Hand-typed medium that no channel rule matches | Remove UTMs on Google Ads URLs or use `cpc` |
| Ad clicks show as `(direct) / (none)` | `gclid` lost before the tag fired | Check the redirect chain and when the page tag loads |
| Conversions differ between GA4 and Google Ads | Different attribution models and counting rules | Compare using the same conversion definition and date range |
The last row is a reminder that auto-tagging gives you aligned data, not identical numbers. Google Ads reports conversions by click date and its own attribution settings, while GA4 reports by event date and its own model.
Privacy and consent
The gclid is read from the URL and used to link the visit to the ad click. If your site uses consent management, how GA4 stores and uses the identifier depends on the consent signals you send. When ad storage is denied, expect less complete Google Ads attribution, and expect conversion modeling to fill part of the gap. Check the current Google documentation for the exact behavior of your consent mode setup. Test with consent both granted and denied if your audience includes regions that require it.
Exercises
Exercise
A colleague adds utm_source=adwords&utm_medium=paid to the final URLs of your Google Ads campaigns while auto-tagging is also on. Name two risks, and give the recommended fix.
Show answer
Risk one: the source and medium differ from google / cpc, so the traffic can split across rows or fall into Unassigned because no Paid Search rule matches paid. Risk two: the Google Ads campaign name and utm_campaign can differ, so the same campaign appears under two names. Fix: remove the UTMs from the Google Ads final URLs and rely on auto-tagging with the Google Ads link in place.
Exercise
You run Microsoft Advertising and rely only on its click identifier. Why do your clicks show up as unattributed or as referral traffic in GA4, and what do you change?
Show answer
GA4 does not convert msclkid into a source and medium. The click arrives without readable campaign values, so GA4 falls back to the referrer or treats it as direct. Add UTM parameters to the Microsoft Advertising URLs, such as utm_source=bing, utm_medium=cpc and a campaign name, or use the platform's option to append them automatically.
Exercise
Your Realtime report shows google / cpc, but the Traffic acquisition report shows no ad group or keyword. List two things you check.
Show answer
First, check that the Google Ads account is linked to the GA4 property and that the link is active, because ad group and keyword details come from the linked Google Ads data. Second, check that auto-tagging is enabled and the gclid survives the redirect path. You also allow time for the data to process, since Realtime does not show every Google Ads dimension.