Explore our AI courses, practical training for non-technical teamsExplore courses →Explore AI courses →
AI for MarketingAnalyticsCampaigns

How to Build a UTM Tracking Plan With AI

One channel often shows up as three rows because three people tagged it three ways. Here is a short plan that keeps tags consistent, with AI doing the tedious parts and a person testing every link.

TLDR: Write a fixed list of allowed UTM values, keep one register of every tagged link, and name one owner. Let AI propose the convention, build links from a table and group messy values in an export. A person runs five checks on every link before it goes out.
4parameters on the convention sheet: source, medium, campaign and content.
3prompts: propose the convention, build the links, group the messy values.
5checks a person runs on a tagged link before it goes out.

Share this article

The Short Version

Campaign data often goes wrong when links are tagged, because people spell one channel several ways. A UTM tracking plan tackles that with an approved list of values, a shared register and one owner. AI can propose the convention, build the links and group near-duplicate values, and it can also get a link wrong, so a person tests each one before launch.

Why campaign data breaks before anyone opens a dashboard

Campaign reporting usually goes wrong at the moment a link gets tagged, weeks before anyone looks at the numbers. One person types Facebook as the source, another types facebook, a third shortens it to fb, and one channel turns up as three rows that each look too small to worry about.

It’s rarely carelessness. Each person tagged the link the way that seemed obvious, and there was no list to check it against.

So my view is that the fix is a short plan with one owner, and that a better dashboard won’t supply it. A UTM tracking plan is a fixed list of allowed values, one register of every tagged link, and a check before launch. AI is quick at the tedious parts: proposing the convention, building links from a table, and spotting near-duplicate values in an export. It can also mistype a value or add a parameter you didn’t ask for, so a person tests every link it builds and one named owner approves every new value.

A paid-media manager launches a spring promotion on a Friday. The ads go out tagged one way, a colleague’s newsletter link says Email with a capital E, and the partner’s link carries no tags at all. On Monday the campaign appears under several names, and the review starts with working out which rows belong together.

This guide is for solo marketers, paid-media managers, email and lifecycle marketers, agency account leads, and the marketing operations people and analysts who inherit the mess. It stays on the tagging plan. How credit gets split between channels is in our guide to marketing attribution with AI, and reading the numbers once they arrive is in our guide to Google Analytics 4 reporting.

I’m not promising a level of reporting accuracy. Clean tags take away one avoidable source of confusion.

Decide what each parameter answers, then fix the list of allowed values

UTM parameters are labels added to the end of a link so an analytics tool can record where a visit came from. Each one should answer a different question, and the plan starts by writing those questions down next to the values you’ll allow.

Google’s Analytics Help, as of December 2026, is direct about the minimum: “When you add parameters to a URL, you should always use utm_source, utm_medium, and utm_campaign.”[1] It also says “Parameter values are case sensitive, e.g. utm_source=google is different from utm_source=Google,” and recommends lower case as standard practice, with one source value per platform and one medium value per channel. For a small team I’d add utm_content to those three and leave the other parameters on Google’s list alone until there’s a reason to use them.

A naming-convention sheet, with example entries

ParameterThe question it answersAllowed values or patternExample entry
utm_sourceWhich platform or sender did the click come from?Fixed list, one value per platform: facebook, instagram, linkedin, google, newsletter, partner-[name]newsletter
utm_mediumWhat kind of channel was it?Fixed list, one value per channel: email, paid-social, social, cpc, referralemail
utm_campaignWhich campaign or promotion?Pattern: [year]-[month]-[campaign-name]2027-03-spring-sale
utm_contentWhich link, creative or placement?Pattern: [format]-[variant]hero-button
All fourCan two people type it the same way without asking?Lower case. No spaces. Hyphens between words. No names, email addresses, phone numbers or customer IDspaid-social, not Paid Social
Prompt 1: propose a convention. Copy this, with your own channels filled in.

Here are the platforms and channels we send traffic from: [list]. Here are the kinds of campaign we run: [list].

Propose a UTM naming convention as a table: parameter, the question it answers, allowed values or pattern, one example. Use lower case and one separator throughout, with one source value per platform and one medium value per channel.

Then list the choices I need to make myself, such as whether two platforms from one company are one source or two. Don’t tell me how an analytics tool will classify these values. I’ll check that against the vendor’s own documentation.

Example entries for a made-up shop on example.com. Lower case, one source per platform and one medium per channel follow Google’s published guidance. The hyphens, the campaign pattern and the specific values are our choices, and yours may differ.

The proposal is a draft, and the choices list is where your team’s own way of naming its channels comes in. An email marketer will probably care most about utm_content, because it separates two links in one send. A paid-media manager will usually want campaign names that match the names inside the ad platform. An agency account lead keeps one sheet per client and doesn’t carry values across.

The Fixed List Rule

A value that isn’t on the approved list doesn’t go into a link until the owner adds it.

The row people tend to skip is the last one, and that’s where paid-social, paid_social and paidsocial come from.

The convention says what’s allowed. The register records what was sent. It’s one spreadsheet with one row per tagged link, and it’s shared by everyone who issues links, the agency included.

A link register, with example rows

DateCampaignDestination URLSourceMediumutm_campaignContentTagged URLTested byOwner
[date]Spring salehttps://www.example.com/spring/newsletteremail2027-03-spring-salehero-buttonhttps://www.example.com/spring/?utm_source=newsletter&utm_medium=email&utm_campaign=2027-03-spring-sale&utm_content=hero-button[initials, date][name]
[date]Spring salehttps://www.example.com/spring/facebookpaid-social2027-03-spring-salecarousel-ahttps://www.example.com/spring/?utm_source=facebook&utm_medium=paid-social&utm_campaign=2027-03-spring-sale&utm_content=carousel-a[initials, date][name]

Example entries for the made-up shop on example.com. The bracketed cells are slots to fill. “Tested by” stays empty until someone has run the check described below.

The register does three jobs:

  • Before you build: search it for the campaign name, so the second wave of a promotion reuses the first wave’s spelling.
  • At launch: links with a name in “Tested by” go out. The others wait.
  • In the review: when an unfamiliar value shows up in the data, the register tells you who issued it, or that nobody did.

An agency account lead opens a client’s numbers a month after onboarding and sees a source value nobody recognises. The register has no row for it. That settles one question quickly: the link was built outside the process, and the useful conversation is about how that happened.

The Register Rule

A tagged link that isn’t in the register wasn’t issued. Add the row before the link goes anywhere.

Building the URLs is the tedious half. A campaign with a newsletter, a few ads and a partner placement needs a long list of links, and typing them by hand is where the stray capital and the missing ampersand tend to arrive.

Paste the approved list and the register rows, and ask for the Tagged URL column to be filled in. The instruction I’d put first is to leave the destination URL exactly as given. An assistant produces plausible text, and in my judgment a tagged link gives it several ways to be plausibly wrong: a tidied-up destination, a value that’s nearly on the list, a character encoded differently, an extra parameter. OpenAI’s own help article says ChatGPT “might give you incorrect or misleading information.”[2] That’s one vendor describing its own product, and the article doesn’t mention links. Applying it here is my call.

Prompt 2: build tagged URLs from the register

Copy this, with your approved list and your rows pasted in
Here is our approved list of UTM values and patterns: [paste the convention sheet]. Here are the links to build: [paste the register rows with destination URL, source, medium, campaign and content].

Build one tagged URL for each row.

Rules:
1. Copy the destination URL exactly as given. Don’t shorten it, correct it, or change its capitals or its trailing slash.
2. Use values from the approved list and no others. If a row contains a value that isn’t on the list, don’t build that link. Write NOT ON LIST and name the value.
3. Add utm_source, utm_medium and utm_campaign to each link, in that order, then utm_content where the row has one. Add no other parameters.
4. If a destination URL already contains a question mark, flag the row and don’t guess how to join the parameters.
5. Return the same table with a Tagged URL column and a column for anything you weren’t sure about.

A Future Factors working prompt, for whichever assistant your company has approved. What comes back is a draft until a person has run the check in the next section.

Rule 2 is the one I’d keep if I could keep one. When someone wants a new source, NOT ON LIST sends that decision to the owner.

Test every link before it goes out

This is the step that tends to get skipped, because a table full of long URLs looks finished.

An email marketer pastes the tagged link into the Friday send and clicks it once in the preview. The page loads, so it ships. What the preview didn’t show is that the site redirected to a different address, and the page arrived with nothing after the question mark.

A link that loads has passed the first check below. The other four need a person reading the address bar.

The pre-launch link check

CheckHow to checkIf the answer is no
1. It loads. Does the tagged URL open a live page?Click the tagged URL itself, not the plain destinationFix the destination before anything else
2. Right page. Is it the page the campaign is sending people to?Compare the page that opens with the Destination URL cell in the registerRebuild the link from the correct row
3. Tags arrive. Are the parameters still in the address bar once the page has loaded?Read the address bar after the page has loadedRaise the redirect with whoever looks after the site, and hold the link
4. Approved values. Does each value match the list exactly?Read each value against the convention sheetCorrect it, or send the new value to the owner
5. Nothing personal. Are the values clear of anything that identifies a person?Look for names, email addresses, phone numbers and customer IDsRemove it. Don’t launch with it

Five yeses, or the link doesn’t go out. Put the tester’s initials and the date in the register. A Future Factors working check based on our own judgment, not a validated instrument.

The Tested Link Rule

A tagged link isn’t finished until a person has clicked it and read the address bar.

Check 5 comes from Google’s own policy guidance for Analytics, which says: “Be sure not to include PII in custom campaign parameters utm_source, utm_medium, utm_term, utm_campaign, and utm_content.”[3] That’s one vendor’s policy for its own product. I’m not describing what a privacy law requires, and this isn’t legal advice. Google’s page suggests consulting an attorney when in doubt, and I’d point you to your own counsel or privacy lead. The place I’d look hardest is email, where it’s tempting to personalise a link.

What AI does, what the human still owns, how it gets checked

StepWhat AI doesWhat the human still ownsHow it gets checked
ConventionProposes values and patterns from your channel listThe final list, and each choice on itThe owner reads the sheet line by line before it’s shared
Building linksFills the Tagged URL column from approved valuesWhich links are issuedEach URL compared with its register row
TestingNothing. A person clicksThe five checksInitials and date in “Tested by”
New valuesFlags NOT ON LISTApproving or refusing the valueThe owner adds it to the sheet before the link is built
Clean-upGroups likely duplicates and proposes one value for eachWhich values are really the same thingA name in “Decided by” on each mapping row

A Future Factors working split. Adjust it to your team and your approved tools.

Clean up the tags that are already in your data

A plan written today doesn’t fix the links already out there. Teams usually start with months of mixed spellings in the data, and grouping near-matches is something an assistant does quickly.

Export the source and medium values your analytics tool has recorded for the last few months, with a count beside each. Paste it into the prompt below with your approved list. What comes back is a proposal, and each row needs a person’s name against it.

A clean-up mapping, with example rows

Messy valueCanonical valueDecided by
Facebookfacebook[name, date]
fbfacebook[name, date]
e-mailemail[name, date]
paid_socialpaid-social[name, date]
promoUNSURE: could be a medium or a campaign. Ask who issued it[name, date]
Prompt 3: group the messy values. Copy this, with your export pasted in.

Here are the source and medium values exported from our analytics, with a count for each: [paste]. Here is our approved list: [paste].

Group the values that look like one thing written in different ways: capitals, spacing, hyphens against underscores, abbreviations, typos. For each group, propose one canonical value from the approved list.

Return a table: messy value, proposed canonical value, why you think they match. Put anything you can’t place under UNSURE and don’t guess. Don’t delete, merge or rename anything. This is a proposal for a person to decide.

Example entries for the made-up shop. The mapping is a reading aid and a rule for future links. It doesn’t change anything in your analytics account.

I’d use the mapping in two ways. New links take the canonical value from now on. And when someone reads older numbers, the mapping tells them which rows to add together. I haven’t checked any vendor’s documentation on rewriting collected data, so I’m treating the old spellings as permanent.

Medium deserves a second look while you’re here, because Google’s channel rules read it. Google publishes the rules behind its default channels, which it describes as “rule-based definitions of your website’s traffic sources.”[4] The Email rule, for example, looks for email or a listed variant in the source or the medium. And “Unassigned is the value Analytics uses when there are no other channel rules that match the event data.” So when the export shows an unfamiliar medium, that page is where a marketing operations lead or analyst can see whether a rule would have caught it.

The habit matches our guide to cleaning CRM data with AI: the assistant proposes and a person decides. And if a channel’s numbers fall suddenly, a tagging change is one suspect to rule out, as our guide to diagnosing a campaign performance drop explains.

Keep the plan alive with one owner and a short monthly check

Tagging plans tend to decay at the edges. A new channel gets added in a hurry, a new hire tags the way their last company did, an agency brings its own habits. One named owner is what holds the list together, in my judgment, and the job is small:

  1. Decide on new values when NOT ON LIST comes up, and update the sheet the same day.
  2. Once a month, export the source and medium values and run prompt 3 against the approved list. Trace anything unfamiliar through the register.
  3. Spot-check a few live links from last month. Pages move and redirects change.
  4. Walk new joiners and agencies through the one page before they issue a link.

That one page is another job for the assistant. Give it the convention sheet and ask for the rules in plain sentences, with right and wrong examples. The owner edits it and dates it.

To tell whether the plan is working, I’d look at three things in order:

  • Use. Are new links being built from the list, logged and tested?
  • Persistence. Three months on, does the monthly export come back with few unfamiliar values, without the owner chasing people?
  • Impact. Does the campaign review start from the numbers, with less time spent reconciling names? Our guides to the monthly marketing review and the campaign retrospective pick up from there.

A solo marketer can run all of this with a spreadsheet and an approved assistant. Where several people and an agency tag links for one site, hands-on training shortens the learning curve and gets everyone working to one standard, which is what our corporate workshops are built around.

This week, export your source and medium values and count how many ways your biggest channel is spelled. Then write the allowed list for those two parameters, and put one name next to it.

Hina Mian
Hina Mian, Co-Founder of Future Factors AI

Hina is a marketing strategist with over a decade of hands-on campaign experience across B2B and consumer brands. She writes about using AI to run leaner, sharper marketing without losing the human touch. Future Factors helps professionals and teams build practical AI capability through role-based training, workflow design, and hands-on adoption.

More about Hina →

Frequently Asked Questions

Do I need AI to build UTM links at all?

No. The Google help page cited in this guide points to its own Campaign URL Builder. The decision rule I’d use: for a single link, a form builder is fine; for a batch from a table, the prompt saves the retyping. Either way the row goes in the register and a person tests the link.

What does (not set) mean in my campaign data?

For tagged links, Google’s UTM help page gives one cause: “Missing UTM parameters will result in (not set) values being present in reporting.” I’d start by looking for register rows with an empty cell. There are other causes this guide doesn’t cover, so ask whoever owns your analytics set-up if the register comes up clean.

Should I put UTM tags on links between pages of my own site?

Our convention keeps them for links that bring someone to the site from somewhere else. UTM values are meant to say where a visit came from, and a visitor clicking from your home page was already there. The Google page I read doesn’t address internal links, so that’s our judgment. Check with whoever owns your analytics before changing links that are already tagged.

Is it safe to paste an analytics export into an AI tool?

A list of source and medium values with counts is low-risk in my judgment. Exports that include revenue, customer records or a client’s data are a different matter. Use a tool your company has approved, and if you work for clients, check the agreement first. Our guide to using AI safely at work covers the wider question.

Does the order of the parameters matter?

Not to Google Analytics, going by its help page: “You can add parameters to a URL in any order.” Prompt 2 fixes an order anyway, because two links are easier to compare by eye when the parameters line up. If you use a link shortener, put the short link through the same five checks.

About This Article

I read the four sources below on December 4, 2026. Three are Google’s own Analytics Help pages, and everything this guide says about how Google Analytics treats UTM parameters comes from those pages as they read on that date. The OpenAI page is one vendor’s help article about its own product; it doesn’t mention links, and applying it to tagged links is my judgment. I haven’t described any other analytics, advertising or email platform or cited a third-party marketing study, and this guide carries no traffic, attribution or accuracy figures. The shop, its campaign names and its example.com URLs were written for this guide. The sheets, prompts and five-point check are Future Factors working tools based on our own judgment, not validated instruments. Nothing here is legal advice.

Sources

  1. Google Analytics Help, URL builders: Collect campaign data with custom URLs. Google’s own help page; it shows no publication date. Source of the quoted lines on which parameters to use, case sensitivity, (not set) values and parameter order, and of the advice on lower case, one source per platform and one medium per channel. It doesn’t mention links between pages of your own site, spaces or redirects. Read December 4, 2026. https://support.google.com/analytics/answer/10917952
  2. OpenAI Help Center, Does ChatGPT tell the truth? A vendor’s help article about its own product, with no exact date shown. It doesn’t mention links or tracking parameters; applying it to tagged links is our judgment. Read December 4, 2026. https://help.openai.com/en/articles/8313428-does-chatgpt-tell-the-truth
  3. Google Analytics Help, Best practices to avoid sending Personally Identifiable Information (PII). Google’s guidance on its own policies for Analytics, including the quoted line on campaign parameters and the advice to consult an attorney when in doubt. Cited as one vendor’s policy, not as a statement of what any law requires. Read December 4, 2026. https://support.google.com/analytics/answer/6366371?hl=en
  4. Google Analytics Help, Default channel group. Google’s own page listing the rule behind each default channel, including the Email rule and the definition of Unassigned quoted here. It also says channel definitions aren’t case sensitive and can’t be edited. Read December 4, 2026. https://support.google.com/analytics/answer/9756891?hl=en

Psst, Hey You!

(Yeah, You!)

Want helpful AI tips flying Into your inbox?

Weekly tips. Real examples. Practical help for busy professionals.

We care about your data, check out our privacy policy.