Use rules for known mappings and AI for ambiguous review. Preserve the original source values, explain each proposed correction and leave unsupported attribution unknown rather than inventing a clean-looking channel.
Define the naming contract
Google's campaign URL guidance describes UTM parameters such as source, medium and campaign. A team still needs its own consistent naming conventions and an owner for changes.
Document allowed values, case rules and campaign identifiers. Distinguish a harmless alias from a genuinely different source. A platform name, referring website and marketing medium are related concepts, not interchangeable fields.
Keep raw data alongside normalized data
Store the original value, proposed normalized value, mapping rule and review status. Without that provenance, a later report cannot explain why “LinkedIn Paid,” “li-cpc” and another label were grouped—or why one ambiguous row was not.
Do not overwrite the only copy of the export during a cleanup experiment. Use a reviewed transformation and retain a route to reproduce it from the same input.
A worked messy-export example
Imagine three rows labelled “linkedin,” “LinkedIn Ads” and “partner event.” A deterministic rule may normalize known case differences. It should not automatically treat every LinkedIn mention as paid traffic, or infer that an event lead came from a specific digital campaign.
An AI reviewer can propose questions or candidate mappings, with reasons. The marketing owner decides whether the evidence supports the mapping. Unknown attribution is sometimes the correct result.
Prevent new inconsistency upstream
- Use a shared campaign-link builder or validated template.
- Maintain a reviewed source and medium dictionary.
- Validate required fields before launch.
- Keep campaign IDs stable across reporting systems.
- Record exceptions instead of silently creating new conventions.
A cleanup tool is useful, but a better creation workflow reduces repeated repair. Treat naming governance as part of campaign operations rather than an occasional spreadsheet task.
Measure the quality of the repair
Track known mappings, unresolved rows and reviewer corrections. Check whether downstream totals remain reconciled. A lower number of unique source labels is not automatically an improvement if meaningful distinctions were lost.
The Lead Source Cleaner provides a downloadable demonstration of normalization and review. It does not establish the true origin of a lead when the source data lacks evidence.
The goal is a reporting foundation that is explainable and consistent. Use AI to make ambiguity easier to inspect, not to convert missing information into false certainty.
Researched and published 30 November 2026. Provider capabilities are attributed to official documentation; recommendations and worked examples are editorial analysis. No independent model benchmark or client outcome is claimed. Confirm current access, pricing and terms before implementation.
Build the useful version.
Discuss an AI workflow, knowledge assistant or digital-product brief with Jamil Darwish.
Start a conversation