Try it on your own data
Every report in this article is in the free plan. One snippet for web and apps, up to 10 sites.
Start freeCampaign 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.
| Parameter | Rule | Good | Bad |
|---|---|---|---|
utm_source | The platform or publisher, lowercase, no spaces | google, newsletter | Google, Google Ads, goog |
utm_medium | The type of traffic, from a short fixed list | cpc, email, paid-social | ppc, CPC, paid_social_2 |
utm_campaign | Year-month, then a short name, with hyphens | 2026-03-spring-sale | Spring Sale!!, spring sale final |
utm_content | The creative or placement, for A/B comparison of ads | banner-blue, text-link | ad1, new |
utm_term | The keyword (paid search only) | running-shoes | Pasted keyword lists |
Four rules keep a convention alive:
- One fixed list for source and medium. Keep it in a shared sheet. New values need an owner's approval.
- Lowercase, hyphens, no spaces. Spaces turn into
%20and make reports hard to read. - Never tag links that stay inside your own site. An internal UTM link can hide where the visit really came from.
- 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 value | Sessions |
|---|---|
google | 820 |
Google | 410 |
Google-Ads | 30 |
| Total | 1,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:
| Campaign | Spend | Platform clicks | Sessions | Purchases | Revenue | Cost per click | Cost per purchase | Return on spend |
|---|---|---|---|---|---|---|---|---|
| Search | $2,100 | 1,400 | 1,260 | 63 | $5,670 | $1.67 | $33.33 | 2.70 |
| Social | $1,500 | 1,000 | 640 | 12 | $1,080 | $2.34 | $125.00 | 0.72 |
| Total | $3,600 | 2,400 | 1,900 | 75 | $6,750 | $1.89 | $48.00 | 1.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.
Cost per click by how sessions were counted
sample data, USDWhich checks should you run every week?
| Check | How to compute | What a gap suggests |
|---|---|---|
| Spend total | Imported spend vs the platform's own total for the same days | Missing or duplicated import rows |
| Clicks to sessions | Sessions ÷ platform clicks, by campaign | Missing UTM tags, slow pages or blocked tracking when it falls |
| Sessions by source | Count of distinct utm_source values | A new spelling, usually a naming drift |
| Purchases | Purchases in analytics vs orders in the shop back end | Missed events or double counting |
| Revenue | Revenue in analytics vs the shop's own total | Currency 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.
| Check | How to compute | What a gap suggests |
|---|---|---|
| Spend total | Imported spend vs the platform total for the same days | Missing or duplicated import rows |
| Clicks to sessions | Sessions ÷ platform clicks, by campaign | Missing UTM tags, slow pages or blocked tracking |
| Sessions by source | Count of distinct utm_source values | A new spelling, usually naming drift |
| Purchases | Analytics purchases vs shop orders | Missed events or double counting |
| Revenue | Analytics revenue vs the shop total | Currency 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:
- 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
Googlenext to one forgoogleis naming drift to fix at the link. - 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,clicksandimpressions.dayandcostare 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. - 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.
- Compare clicks and sessions. The
clickscolumn you import sits next to sessions, so you can compute the ratio in the check above. - 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
- Google Analytics Help, Collect campaign data with custom URLs: required and optional UTM parameters, case sensitivity.
- IETF, RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files: header line, comma delimiter, same number of fields per record, quoting.
Was this article helpful?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

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