Priyanshu Goyal Independent build · 01

A story about broken reports

Why your campaign report doesn't add up

Five people shared the same campaign link. Your analytics now shows four different campaigns, with the budget split between them. Here is how that happens, and how to fix it in about a minute.

Monday morning

Your team ran one campaign last month. Five people shared the link — on Facebook, in an email, through a partner, in a WhatsApp group. Today your manager asks the simplest question there is: how did it do?

You open the report. The campaign is listed four times. The budget is split across all four rows, so none of the numbers match what you remember spending. Someone loses an afternoon gluing it back together in a spreadsheet, and by the time it is fixed, the campaign is over.

Nobody did anything wrong. One person typed Facebook, another typed fb, a third left a space in the name. Your analytics tool treats every version as a brand-new campaign. That is the whole bug.

Step 1 · Show me your links

These are the web addresses your team shares — the long ones with extra bits stuck on the end after a question mark. Those bits are what tells your analytics who sent the visitor. Two example sets are already loaded, both messy in exactly the ways real ones are. Paste your own over them any time.

Your campaign links

Just the links is fine. If you also paste how much you spent on each one, the tool can tell you how much money is caught up in the mess.

The names your team agreed on

Change any of these and check again — the rules are yours, not mine.

A pattern everyone follows, so any campaign name can be read at a glance: which country, which channel, which product, what it was for, and when. {geo} is a two-letter country code or global; {yyyymm} is a year and month like 202509, or ongoing for something with no end date.

Step 4 · Stop it happening again

Cleaning this up once does not help. It comes straight back next month, because the people making links have no easy way to get them right. So the real fix is this: a builder that can only produce correct links, and a one-page rulebook your team will actually read.

What this tool actually does

Nothing here is magic, and nothing asks you to take it on trust. Every check is something you could do by hand with enough patience — the tool just does it across hundreds of links in a second, and never gets sloppy at five on a Friday.

1
Reads each link

Takes the web address apart and pulls out the tracking bits from the end.

2
Checks them against your list

Compares each one to the names your team agreed on, and catches the near-misses — Facebook when everyone said facebook, ppc when everyone said cpc.

3
Finds the duplicates

Spots campaign names that are really the same thing typed differently, including typos — while being careful not to merge two campaigns that only look alike.

4
Puts a price on it

Adds up the budget sitting in the wrong rows. This is the bit that turns “our naming is untidy” into a number your boss will act on.

5
Fixes what it safely can

Rewrites the links it can fix without guessing. Where something is genuinely missing, it says so rather than inventing an answer.

6
Stops it coming back

Hands you a builder that can only make correct links, and a one-page rulebook, so next month starts clean.

One honest note about the careful bit. Step 3 is where a tool like this usually goes wrong. It is tempting to just measure how similar two names look, but in_paidsocial_loan_apply and ph_paidsocial_loan_apply differ by two letters and are completely different campaigns — India and the Philippines. Merging those would be worse than the mess it set out to fix. So it only treats names as the same when one whole word is a likely typo of another, and never when a country code or a date is involved.