October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Add UTM Parameters to AI Search Links Without Breaking Attribution

Add UTMs to campaign links you control, distinguish ChatGPT Search referrals from ChatGPT Ads, and choose the right GA4 scope to verify traffic.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I add UTM parameters to AI search links without breaking attribution? Add UTMs to the campaign URLs you control, keep a consistent set of values, and verify the right GA4 acquisition scope. You generally cannot rewrite the citation link an AI service generates. OpenAI says ChatGPT Search referral URLs automatically include utm_source=chatgpt.com; that documented behavior is specific to ChatGPT, not every AI search service.

First, identify which link you can control

There are three distinct cases, and they should not be measured as if they were one mechanism:

As an Amazon Associate I earn from qualifying purchases.

Link or activity Who controls the identifier? What to use
A campaign link in your newsletter, promotion, or other publisher-owned placement You control the destination URL and its query parameters. A consistent UTM set of your choosing.
An organic citation or referral from ChatGPT Search OpenAI documents its referral tagging; you generally do not control the citation URL it emits. OpenAI says ChatGPT automatically includes utm_source=chatgpt.com in referral URLs. Do not assume other AI services do the same.
A click from ChatGPT Ads OpenAI’s ads measurement uses a distinct click reference. oppref, preserved through redirects and navigation, along with the documented ad conversion setup.

OpenAI’s Publishers and Developers FAQ describes the ChatGPT Search referral parameter. It also explains that publishers can allow OAI-SearchBot to support discovery and track ChatGPT referral traffic in analytics. Neither point means a publisher can add UTMs to every AI-generated citation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I tag a campaign link I control?

Choose a stable naming convention

Google Analytics Help says to always use utm_source, utm_medium, and utm_campaign. These identify the source label, channel or medium, and campaign. Google notes that UTM values are case sensitive, and incomplete tagging can lead to (not set) values. Agree on spelling and capitalization before creating links; for example, do not alternate between ChatGPT and chatgpt if they are meant to describe the same source. GOV.UK’s UTM usage guidance likewise recommends consistent, lowercase campaign values.

For a publisher-created AI-related campaign, one illustrative URL is:

https://example.com/article&utm_medium=referral&utm_campaign=ai_search_guide

This is an example of a publisher’s own campaign taxonomy, not a claim that ChatGPT adds all three parameters. OpenAI’s documented automatic parameter is utm_source=chatgpt.com on ChatGPT Search referral URLs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use extra fields only when they answer a reporting question

  • utm_id: a campaign identifier if your organization uses one.
  • utm_source_platform: the platform responsible for directing traffic, where relevant.
  • utm_content: a useful way to distinguish creative or placement variants.
  • utm_term: generally for a paid keyword, not a catch-all for AI prompt text.

Google documents utm_creative_format and utm_marketing_tactic, but notes that these fields are not currently reported in Analytics properties. They may suit a separate collection or reporting need, but they are not a substitute for fields that appear in standard GA4 reports.

Append parameters without creating a second query string

Start the first parameter with ?, then separate additional name-value pairs with &. If the destination already has a query string, append UTMs with & rather than adding another ?. Google says parameters can appear in any order; when constructing URLs programmatically, encode values safely.

  • No existing query string: https://example.com/article&utm_medium=email&utm_campaign=launch
  • Existing query string: https://example.com/article?view=full&utm_source=newsletter&utm_medium=email&utm_campaign=launch

Keep one authoritative set of UTM keys. Do not overwrite an existing campaign link or append duplicate UTM keys: the cited guidance does not establish universal behavior for resolving duplicate keys.

Will UTMs override auto-tagging?

Not in every case, but adding UTMs alongside auto-tagging is not automatically harmless. Google’s manual and auto-tagging guidance says auto-tagged values take precedence for source, medium, and other traffic-classification dimensions when both methods are used. It also describes specified cases in which GCLID or DCLID cannot be used as intended: in those cases, any UTM parameter can cause Analytics to derive cross-channel source dimensions exclusively from the UTMs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before adding manual tags to a URL already using an ad platform’s click ID, check the applicable Google guidance and your analytics setup. Avoid partial tags, which can leave some campaign dimensions unset, and do not add a new UTM label to an existing link merely because it leads to an AI-related page. The tag should describe the link’s actual campaign and placement.

How do I track ChatGPT Search traffic in GA4?

Use session acquisition for visits

For traffic arriving in a session, open GA4’s Reports > Acquisition > Traffic acquisition and inspect Session source, Session medium, and Session campaign. Google says UTM values can appear in Analytics Traffic acquisition reporting after a user clicks a tagged URL. For ChatGPT Search, look for the documented source value chatgpt.com; other dimensions depend on the link and the data available to Analytics.

Choose the scope that matches the question

Dimension scope What it answers Use it when asking…
First user Where a new user first came from. “What first brought this user to us?”
Session The source associated with a session when it starts. “Where did this visit come from?”
Event How credit for an event is allocated under the selected attribution model. “Which source receives credit for this key event?”

These are different questions, so their reports need not show the same source for the same person or activity. Google explains these distinctions in its GA4 attribution scopes guidance.

Check the final landing URL

Test the complete redirect path for your own tagged campaign links. Confirm that the final landing page still receives the required query parameters and that analytics can collect them. Google’s URL builder guidance explains that Analytics collects parameter values when a user clicks a tagged URL; it does not guarantee that a particular site’s redirects preserve those parameters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not tag your site’s internal links indiscriminately. GOV.UK’s guidance warns that tagging its own internal links would disrupt default referrer and attribution tracking in its setup. The precise effect depends on your analytics configuration, but internal-link UTMs can replace the context you intended to measure at the entry point.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep ChatGPT Ads measurement separate

Organic ChatGPT Search referrals and ChatGPT Ads clicks are not the same measurement path. OpenAI’s ChatGPT Ads conversion measurement documentation uses the click reference oppref, not a UTM. OpenAI recommends preserving it through redirects and landing-page navigation. Its documented setup also involves a Pixel and/or Conversions API events, an attribution window, and potentially modeled measurement.

OpenAI notes that ad conversion totals can differ from third-party analytics because of attribution methods and windows, timestamps and time zones, consent and storage conditions, deduplication, configuration, or modeled reporting. Treat those systems as distinct measurements rather than expecting a one-to-one match.

A quick pre-launch checklist

  • Confirm that the URL is one you control; do not presume you can edit an AI service’s citation URL.
  • Use a consistent, case-consistent set of utm_source, utm_medium, and utm_campaign.
  • Append parameters correctly and keep only one authoritative set of UTM keys.
  • Check that redirects preserve the parameters needed for collection.
  • Use session dimensions for visits, first-user dimensions for initial acquisition, and event-scoped dimensions for conversion credit.
  • Keep ChatGPT Ads’ oppref measurement distinct from organic referral UTMs.

Google’s examples and field definitions are in URL builders: Collect campaign data with custom URLs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.