Sub topic 9
Auto-tagging and Manual Tagging Together in GA4
Assume you already understand URLs and query strings, have a GA4 web data stream installed, and can open GA4 acquisition reports. This chapter explains how automatic advertising tags and manually added UTM parameters work when they appear on the same link.
What auto-tagging does
Auto-tagging adds an advertising identifier to a destination URL. For Google Ads, that identifier is usually the gclid, or Google Click Identifier:
https://example.com/product?gclid=EAIaIQobChMI...Google Ads creates the identifier when someone clicks an ad. GA4 reads it when the landing page loads. If the GA4 property is linked to the Google Ads account, GA4 can use the identifier to connect the visit with Google Ads data such as:
- Google Ads account and campaign
- Ad group
- Keyword or search term information, when available
- Cost, click, and conversion data imported from Google Ads
Auto-tagging is usually the best option for Google Ads because it preserves advertising details that a few manually entered UTM values cannot provide.
What manual tagging does
Manual tagging adds UTM parameters to a URL. You use it for email, social posts, partner links, QR codes, and advertising systems that do not automatically send data to GA4.
For example:
https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_saleThe three core parameters identify the campaign:
| Parameter | Meaning | Example |
|---|---|---|
| `utm_source` | The platform or publisher that sent the visit | `newsletter` |
| `utm_medium` | The type of traffic or marketing channel | `email` |
| `utm_campaign` | The promotion or campaign name | `spring_sale` |
You can add utm_content to distinguish links in the same message and utm_term to identify a paid keyword or targeting term.
When both appear on one URL
A Google Ads click can produce a URL containing both a gclid and UTM parameters:
https://example.com/sale?gclid=EAIaIQobChMI...&utm_source=google&utm_medium=cpc&utm_campaign=spring_saleWhen GA4 can process a valid Google Ads click identifier, the auto-tagged Google Ads information generally takes precedence over conflicting manual campaign values. For example, a manually supplied utm_campaign=internal_test may not be the campaign name shown for a valid Google Ads click. The linked Google Ads data provides the authoritative campaign information.
This behavior makes sense when the manual values describe the click incorrectly. It can also surprise you during testing. Do not use arbitrary UTM values on Google Ads links to rename or reclassify Google Ads traffic.
Use this division of responsibility:
- Use Google Ads auto-tagging for Google Ads traffic.
- Use manual UTM tagging for platforms without a GA4 advertising integration.
- Avoid adding conflicting UTM values to auto-tagged Google Ads links.
- Keep the same landing page behavior for paid and unpaid links, but test redirects carefully.
flowchart TD
A[User clicks an ad or campaign link] --> B{Does the URL contain a valid auto-tag?}
B -->|Yes, such as gclid| C[GA4 uses linked advertising data]
B -->|No| D[GA4 reads manual UTM parameters]
C --> E[Acquisition dimensions and reports]
D --> Ecaption: How GA4 chooses between automatic and manual campaign information alt: A flowchart showing that a valid automatic tag leads GA4 to linked advertising data, while URLs without one use manual UTM parameters.
Use manual tags for other platforms
A platform may append its own click identifier without giving GA4 enough information to classify the session. For example, msclkid from Microsoft Advertising does not replace a complete GA4 UTM strategy.
A Microsoft Advertising landing page might therefore include both the platform click identifier and manual values:
https://example.com/sale?msclkid=abc123&utm_source=bing&utm_medium=cpc&utm_campaign=spring_saleThe click identifier can support the advertising platform's own measurement. The UTM parameters give GA4 readable source, medium, and campaign values.
The same pattern applies to many social and affiliate platforms. Check whether the platform has a native GA4 integration. If it does not, use documented UTM values and keep the platform's own click identifier when its reporting needs it.
Auto-tagging is not a substitute for linking
Turning on Google Ads auto-tagging does not by itself make every GA4 property receive Google Ads details. Confirm that:
- Auto-tagging is enabled in the relevant Google Ads account.
- The Google Ads account is linked to the correct GA4 property.
- The click reaches the intended domain.
- Redirects preserve the
gclid. - The landing page loads the GA4 tag.
A redirect that removes the query string can discard both the gclid and UTM parameters before GA4 reads them.
Test both paths
For a manually tagged link, inspect the landing page URL and confirm that the UTM parameters remain after all redirects. For an auto-tagged Google Ads link, test with the real advertising flow or a controlled preview supported by your account. Then check Realtime and DebugView for the resulting session.
In the browser console, this quick check lists campaign parameters that survived the redirect:
const campaignParameters = Object.fromEntries(
[...new URLSearchParams(window.location.search)]
.filter(([key]) => key.startsWith("utm_") || key === "gclid")
);
console.log(campaignParameters);The presence of gclid proves only that the identifier reached the page. It does not prove that GA4 matched it to Google Ads. Verify the property link and inspect acquisition data as well.
Exercise
A Google Ads URL contains a valid gclid and utmcampaign=internaltest. Which value should you expect GA4 to use for Google Ads campaign attribution?
Show answer
Expect the linked Google Ads campaign information from the valid gclid to take precedence. Do not use conflicting manual UTM values to rename Google Ads traffic.