TapCub is live — analytics, insights and live chat, free on one platform
Growth & Marketing

Campaign Data Management: UTM Naming, Cost Import and Clean Reporting

Campaign data management keeps naming, spend and results comparable: fixed UTM naming, a daily spend import and weekly checks against sessions and orders. A worked example shows naming drift overstating cost per click by 54%.

Emma Collins Published Nov 23, 2026 10 min read Growth & Marketing
Sample data: $2,100 of search spend. Dividing by the 820 sessions of one spelling gives $2.56 per click; dividing by all 1,260 sessions gives $1.67, so the first overstates cost per click by 54%.Sample data

Campaign data management means fixing UTM naming once, importing spend every day in a fixed format, and checking spend against sessions and orders every week. Without it one campaign appears under three names and cost per click is divided by a fraction of the traffic. Below: a naming table, the spend file format, a worked example where naming drift overstates cost per click by 54%, and the weekly checks.

What you will learn

  • Use utm_source, utm_medium and utm_campaign on every link, lowercase and from a shared list: values are case sensitive
  • Import spend daily by campaign in one fixed format, with the same source and campaign text as the UTM values
  • Reconcile weekly: spend total, clicks to sessions, source spellings, purchases and revenue

What is campaign data management, and what goes wrong without it?

Campaign data management is the set of habits that keep what you spent, where traffic came from and what it produced in a form you can compare across campaigns and weeks. It has three parts: naming (every link tagged the same way), spend (cost entered daily in a fixed format) and checks (spend, sessions and orders reconciled against each other). Without it, the same campaign appears under three names, cost per click is calculated on a third of the traffic and a report that looks precise is wrong.

The point of this guide is practical: fix your UTM naming once, import spend every day, and check it against sessions and orders every week. The tagging mechanics are explained in the help article on naming UTM parameters, and the wider job of following campaigns through to results is in campaign tracker. This page covers the data hygiene underneath both.

How should you name UTM parameters so they stay comparable?

Google's documentation says to always use utm_source, utm_medium and utm_campaign, with utm_term and utm_content optional, and warns that values are case sensitive: utm_source=google and utm_source=Google are different values and are reported separately. So the naming rule is simple: pick a convention, write it down, and use it for every link.

ParameterRuleGoodBad
utm_sourceThe platform or publisher, lowercase, no spacesgoogle, newsletterGoogle, Google Ads, goog
utm_mediumThe type of traffic, from a short fixed listcpc, email, paid-socialppc, CPC, paid_social_2
utm_campaignYear-month, then a short name, with hyphens2026-03-spring-saleSpring Sale!!, spring sale final
utm_contentThe creative or placement, for A/B comparison of adsbanner-blue, text-linkad1, new
utm_termThe keyword (paid search only)running-shoesPasted keyword lists

Four rules keep a convention alive:

  1. One fixed list for source and medium. Keep it in a shared sheet. New values need an owner's approval.
  2. Lowercase, hyphens, no spaces. Spaces turn into %20 and make reports hard to read.
  3. Never tag links that stay inside your own site. An internal UTM link can hide where the visit really came from.
  4. Use a link builder, not memory. A sheet that assembles the URL from the list avoids typos.

A convention only works if someone owns it. Name one person as the owner of the shared list, record every change with a date, and retire values that are no longer used so that nobody picks them by accident. When an agency or partner builds links for you, send them the list and the link builder, not a description of it, and check their first link in a browser before the campaign goes live.

What does a spend file need to look like?

Cost is the second half of every campaign number, and it usually lives in an ad platform's export. To compare it with sessions, import it in a fixed format. A plain CSV is enough, and the CSV format has a short specification (RFC 4180): one record per line, fields separated by commas, the same number of fields in every line, an optional header line, and double quotes around any field containing a comma, a line break or a quote.

Sample data: four rows from a spend file, with the columns TapCub's channel ROI page accepts (day, channel, source, campaign, cost, currency, clicks, impressions).

day,channel,source,campaign,cost,currency,clicks,impressions
2026-03-02,paid_search,google,2026-03-spring-search,300,USD,200,9500
2026-03-02,paid_social,social-a,2026-03-spring-social,214,USD,143,12000
2026-03-03,paid_search,google,2026-03-spring-search,300,USD,205,9800
2026-03-03,paid_social,social-a,2026-03-spring-social,214,USD,141,11800

Rules for the file: one row per day, channel, source and campaign; the source and campaign text must match the UTM values exactly (otherwise you cannot join cost to sessions); one currency per row, with the code; and dates in the same format every time. Import yesterday's spend each morning rather than a monthly total, because a daily row lets you see a spike on the day it happens.

Worked example: naming drift and the numbers it breaks

Sample data: one week of a spring sale, spend imported from the platform exports.

Step 1, naming drift. Google paid search was tagged three ways, so analytics reports three sources for one campaign:

utm_source valueSessions
google820
Google410
Google-Ads30
Total1,260

The week's search spend was $2,100. Dividing by the sessions of the first row only gives 2,100 ÷ 820 = $2.56 per click. Dividing by all 1,260 gives 2,100 ÷ 1,260 = $1.67 per click. The first number overstates cost per click by 54% (2.56 ÷ 1.67 − 1). Fixing the naming fixes the metric; no analysis can.

Step 2, the full table. With names cleaned, two paid campaigns for the week:

CampaignSpendPlatform clicksSessionsPurchasesRevenueCost per clickCost per purchaseReturn on spend
Search$2,1001,4001,26063$5,670$1.67$33.332.70
Social$1,5001,00064012$1,080$2.34$125.000.72
Total$3,6002,4001,90075$6,750$1.89$48.001.88

Formulas: cost per click = spend ÷ sessions; cost per purchase = spend ÷ purchases; return on spend = revenue ÷ spend. Search returns $2.70 for each dollar and social returns $0.72, so the decision is to move budget towards search or fix the social landing page, which is a better question than "is paid working?".

Step 3, the check. Sessions divided by platform clicks should stay roughly steady for a given platform. Search is at 1,260 ÷ 1,400 = 90%; social is at 640 ÷ 1,000 = 64%. A drop like that suggests clicks that never became sessions (slow pages, blocked scripts, or links missing UTM tags). Check the social campaign's links and landing page before judging its return.

app.tapcub.com

Cost per click by how sessions were counted

sample data, USD
One spelling only (820 sessions)$2.56
All spellings (1,260 sessions)$1.67
Sample data
Sample data: $2,100 of search spend. Dividing by the 820 sessions of one spelling gives $2.56 per click; dividing by all 1,260 sessions gives $1.67, so the first overstates cost per click by 54%.

Which checks should you run every week?

CheckHow to computeWhat a gap suggests
Spend totalImported spend vs the platform's own total for the same daysMissing or duplicated import rows
Clicks to sessionsSessions ÷ platform clicks, by campaignMissing UTM tags, slow pages or blocked tracking when it falls
Sessions by sourceCount of distinct utm_source valuesA new spelling, usually a naming drift
PurchasesPurchases in analytics vs orders in the shop back endMissed events or double counting
RevenueRevenue in analytics vs the shop's own totalCurrency or refund handling differences

Use your own history to set the tolerance: if sessions are usually 88% to 92% of clicks, 64% is a flag and 87% is not. Write the expected range down next to the check.

CheckHow to computeWhat a gap suggests
Spend totalImported spend vs the platform total for the same daysMissing or duplicated import rows
Clicks to sessionsSessions ÷ platform clicks, by campaignMissing UTM tags, slow pages or blocked tracking
Sessions by sourceCount of distinct utm_source valuesA new spelling, usually naming drift
PurchasesAnalytics purchases vs shop ordersMissed events or double counting
RevenueAnalytics revenue vs the shop totalCurrency or refund handling

Set tolerances from your own history, for example sessions at 88% to 92% of clicks.

What does a good routine look like?

  • Daily: import yesterday's spend by campaign; glance at the new-source count.
  • Weekly: run the five checks, fix naming drift at the source and note anything you changed.
  • Monthly: archive the month's naming list, retire campaigns that ended and review whether the fixed lists still fit.
  • Before every launch: build links with the sheet, test one link in a browser and confirm the session appears in the report with the right source.

What are common mistakes?

  • Free-text tagging. Everyone invents their own spelling and the report fills with near-duplicates.
  • Tagging internal links. It can hide where the visit really came from.
  • Monthly spend totals. You cannot see which day or campaign broke.
  • Mixing currencies in one column. Totals become meaningless unless each row carries its currency.
  • Judging cost on partial traffic. The example shows a 54% error from using one spelling.
  • Never reconciling. A report that is never checked against the ad platform or the shop drifts away from them.

How do you do this in TapCub?

Using the spring-sale example:

  1. See the drift. In Web analytics › Sources, open the UTM tab. It splits traffic into source, medium, campaign, term and content with visitors, sessions, pageviews, bounce and duration. A row for Google next to one for google is naming drift to fix at the link.
  2. Import the spend. In All-platform analytics › Business › Channel ROI, open the Costs tab and import a CSV with the columns day, channel, source, campaign, cost, currency, clicks and impressions. day and cost are required, and spend is converted to the base currency at the rate for that day. Importing the same day, channel, source and campaign again overwrites the row rather than appending, so a corrected platform number simply replaces the old one. Importing needs an owner or admin.
  3. Read the metrics. On the ROI tab, group by channel, source or campaign. Cost per click is spend ÷ sessions, cost per acquisition is spend ÷ conversions (purchases on the order ledger) and return on ad spend is revenue ÷ spend. With no spend or no orders the metric is blank, not zero.
  4. Compare clicks and sessions. The clicks column you import sits next to sessions, so you can compute the ratio in the check above.
  5. Keep the date record. In Configuration › Annotations, mark budget changes and launches so a jump in cost is explained.

TapCub does not buy media or fetch spend from ad platforms; you import the numbers, and it joins them with sessions and orders.

FAQ

What is campaign data management?

It is the practice of keeping campaign naming, spend and results consistent and checked: fixed UTM naming, spend imported in a fixed format every day, and regular checks of spend, sessions and orders against each other.

How should you name UTM campaigns?

Use utm_source, utm_medium and utm_campaign on every link, in lowercase with hyphens, from a shared list. Because values are case sensitive, Google and google are reported as different sources.

How often should you import ad spend?

Daily, by campaign. A daily row shows a spike on the day it happens, and re-importing the same day replaces the previous value, so corrections are easy.

Why does my cost per click look too high?

Often because sessions are spread over several spellings of the same source, so you divide by only part of the traffic. In the example, using one spelling overstated cost per click by 54%.

Does TapCub pull spend from ad platforms?

No. You import spend as a CSV or add rows by hand on the Costs tab of Channel ROI, and TapCub combines it with sessions, conversions and revenue.

Sources

Was this article helpful?

We use your answers to fix and expand this page.

Emma Collins

Product Analyst

Focuses on event analysis, conversion funnels, and retention, using clear metric definitions and structured analysis to explain product performance.

Import spend and see return by campaign

UTM sources, daily spend CSV import and cost per click, per purchase and return on ad spend in one place.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics