Skip to content
Dericson Calari
Back to the blog
Capa do artigo: UTMs and Parameterization: Complete Guide to Tracking Campaigns and Sales

UTMs and Parameterization: Complete Guide to Tracking Campaigns and Sales

Learn how to create, standardize, and integrate UTMs to identify the origin of leads and sales, improve campaign analysis and make decisions with reliable data.

Foto de Dericson Calari

Published on22 min read

Know how many leads or sales a campaign generated is important, but it's not enough. To optimize investments safely, the manager needs to identify which channel, campaign, ad and content participated in each conversion. This is where the UTMs and parameterization of URLs.

UTMs are parameters added to links to record information about the source of an access. When used with a consistent convention, these parameters help connect clicks, sessions, leads, opportunities and sales. The result is a more accurate view of campaign performance, including when conversion happens outside the site or several days after first access.

On the other hand, adding some codes to the end of a URL does not automatically solve all measurement issues. It is necessary to set a pattern, capture the data correctly, store it on a company-controlled basis, and integrate it with tools such as Google Analytics 4, CRM, automation platforms, spreadsheets, databases and dashboards.

“A UTM only transforms into intelligence when it is collected, preserved, converted-related, and presented in a useful way for decision making.

In the reference video, Dericson Calari presents a specially useful didactic separation to understand this process. First-party data collection is the collection and storage of information on a proper basis, while conversion tracking is sending signals to media platforms. Although the terms can be treated as synonyms in other contexts, this distinction helps managers to see the two possible destinations of the data.

What are UTMs?

UTM is the acronym for Urchin Tracking Module. In practice, it is a set of parameters inserted in a URL to describe where the visitor came from and which marketing initiative originated that access. These parameters are after the URL interrogation character and are carried during the click.

Consider the address `https://empresa.com/oferta?utm_source=instagram&utm_medium=paid_social&utm_campaign=black_friday`. The page accessed remains the same, but the values inform that the visitor came from the Instagram, through paid social media, within the Black Friday campaign.

Analytics tools can interpret these parameters and use them to sort sessions and conversions. In addition, scripts, forms, and automations can capture UTMs to record them next to the data of the lead. This makes it possible to follow the origin beyond the initial visit.

A common mess is to imagine that UTM works like a pixel. The UTM does not run events, does not single-handedly identify a person, and does not send conversions to ad platforms. It only carries textual information at the address accessed. To store and take advantage of these values, you need a tool capable of reading the URL and recording the parameters.

Cookies, local storage, click identifiers, pixels and conversion APIs perform complementary functions. A mature structure can use all of these features: UTM describes the campaign, the identifier helps with click match, analytics records behavior, and server-side integration conveys relevant events.

Why are UTMs so important?

Without parameterization, many accesses can appear as direct traffic, generic reference, or incorrect channel. The team even sees the total volume of conversions, but can’t confidently separate a paid campaign from an organically published link, an email trigger from a business message, or a creative from another.

  • Identify the channels that generate leads, opportunities and sales.
  • Compare campaigns, sets, ads and creatives.
  • Calculate indicators such as CPL, CAC, ROAS and revenue by origin.
  • Preserving acquisition data within the CRM.
  • Create dashboards with a consistent nomenclature.
  • Support budget decisions with more granular data.
  • Investigate divergences between media platforms and internal systems.

First-party data collection and conversion tracking: where do the UTMs come in?

In the methodology explained by Dericson Calari, the first-party data collection is related to collecting and storing information so that the company itself can analyze it. UTMs have a direct connection to this process because they allow you to record the origin of each lead or sell in a database controlled by the business.

The conversion tracking, in turn, uses navigation and conversion information to power platforms such as Meta Ads and Google Ads. This sending helps algorithms measure results and optimize delivery. Anyone who wants to deepen this separation can consult the content about first-party data collection vs conversion tracking.

The two fronts do not compete with each other. On the contrary: they must work together. The first-party data collection offers an independent basis for analysis, while the conversion tracking improves the intelligence of the media platform. Depending solely on the ad dashboard reduces business control over the data itself.

A balanced architecture starts in the parameterized click, captures the information on the page, relates the data to the lead and for sale, stores the history in its own systems and, where applicable, returns the qualified events to the platforms.

Flow from UTMs to sales analysis

Ad or content with parameterized URL
Click of the user and arrival on the page
Capture of UTMs and identifiers
Storage in the form, CRM or bank
Association of lead opportunity and for sale
Dashboard analysis and sending events to the media

The main parameters of UTM

A good parameterization begins with understanding the function of each field. The five classical parameters are `utm_source`, `utm_medium`, `utm_campaign`, `utm_content` and `utm_term`. The first three form the basis of the classification; the others add detailing to ads, content and terms.

utm_source: the origin

The parameter `utm_source` identifies the specific source that sent the traffic. Common values include `google`, `meta`, `instagram`, `facebook`, `linkedin`, `youtube`, `newsletter` and the name of a partner. The ideal is to represent the origin in an objective and stable way.

Avoid switching between values such as `fb`, `facebook`, `Facebook` and `meta_ads` to the same source without a strategic reason. Analysis tools can interpret each variation as a different origin, fragmenting the reports and increasing treatment work.

utm_medium: the means of acquisition

The `utm_medium` describes the type of channel or distribution mechanism. Some examples are `cpc`, `paid_social`, `organic_social`, `email`, `affiliate`, `referral`, `display` and `whatsapp`. The company must choose a taxonomy and document when each value will be used.

Source and medium must not necessarily repeat the same information. In `utm_source=instagram&utm_medium=paid_social`, the origin is the Instagram the medium is paid social media. Already a unsponsored link could use the same origin with `utm_medium=organic_social`.

utm_campaign: the campaign

The `utm_campaign` identify the marketing initiative. It can represent a promotional campaign, a launch, a continuous strategy of generating leads or the nomenclature adopted on the ad platform. Examples: `black_friday_2026`, `captacao_consultoria` and `remarketing_carrinho`.

This parameter should be understandable outside the media platform. Generic names such as `campanha_1` or `teste` they lose their meaning over time. A useful nomenclature may include objective, product, public, location or period, provided that it does not become excessively long.

utm_content: the advertisement or content

The `utm_content` is used to differentiate pieces that share source, medium and campaign. It can identify creative, ad, button, positioning, or copy variation. In a test with video and image, for example, the values could be `video_depoimento` and `imagem_beneficio`.

On ad platforms, dynamic variables can automatically fill this field with the ad name or ID. This approach reduces manual work, but needs to be tested. The guide of Dynamic Variables of Meta Ads for UTMs It shows you how to structure this automation.

utm_term: keyword, audience or segmentation

The `utm_term` emerged associated with paid media keywords, but can also record other targeting details. Depending on the strategy, the field may represent search term, ad group, or audience. The meaning adopted must be documented to avoid conflicting interpretations.

In campaigns of the Google Ads, automatic parameters and identifiers such as `gclid` they can complement the UTMs. You don’t have to choose between one resource and another. UTMs favor cross-system reading, while native identifiers can enable platform-specific assignment and integrations.

How to create a parameterization pattern

The biggest challenge of UTMs is not technical, but operational. When each professional writes the parameters in a way, the reports become fragmented. The company must create a Nomenclature policy before distributing URLs in ads, emails, social networks or messages.

Choose a writing convention

A simple convention is to use only lowercase letters, without accents, with words separated by underline. So, `Black Friday`, `black-friday` and `BLACK_FRIDAY` they do not appear as different campaigns. The most important thing is not to choose underline or hyphen, but to apply the decision consistently.

  • Use lowercase letters in all values.
  • Avoid accents, cedillages and special characters.
  • Replace spaces with underlines or hyphens.
  • Do not enter personal or sensitive information in the URL.
  • Set allowed values for source and medium.
  • Keep names readable by people and systems.
  • Record the rule in a document accessible to staff.

Combine readable names with identifiers

Names facilitate human interpretation, but can change during the campaign. IDs tend to be more stable. A robust strategy can store both in different fields, using, for example, the UTM for a readable description and custom parameters for campaign, set, and ad IDs.

No Meta Ads, a model could match `utm_source=meta`, `utm_medium=paid_social`, `utm_campaign={{campaign.name}}` and additional parameters for `campaign_id`, `adset_id` and `ad_id`. The exact syntax must be validated on the platform and in real clicks before the campaign is scaled.

Create an official array of UTMs

A governance spreadsheet can list channels, origins, permitted means, guardians, examples, and fill-in rules. You can also create an internal generator to prevent values outside the default. In larger operations, the list can be kept in database and consumed by automations.

The matrix needs to keep up with the reality of the business. If the company starts working with influencers, affiliates, or new channels, the corresponding values should be formally incorporated. This prevents each campaign from creating its own taxonomy.

“Standardization does not mean using the same UTM on all links. It means applying the same logic so that different campaigns can be compared.

Step by step to parameterize a campaign

Before you generate the URL, define which questions the report should answer. If the team needs to compare only channels, three parameters may be enough. If you need to evaluate creatives, audiences and positions, you will need to capture a greater granularity.

Then confirm the landing page and verify that it accepts parameters without presenting errors or improper redirects. Some tools remove the query string, while others duplicate characters or break the URL when adding new fields.

How to implement UTMs safely

01

Step 1

Define the business questions and the required granularity.

02

Step 2

Select source, medium, campaign, content and term according to taxonomy.

03

Step 3

Generate the URL and preserve existing parameters.

04

Step 4

Test the click, redirects, and landing page.

05

Step 5

Validate the capture in analytics, form, CRM and bank.

06

Step 6

Document the campaign and monitor the quality of the data.

Properly assemble the URL

If the URL does not have parameters, the first UTM must be preceded by `?` and the following by `&`. Example: `https://empresa.com/pagina?utm_source=google&utm_medium=cpc`. If the URL already contains a parameter, such as `?produto=123`, UTMs should be added with `&`.

Special values need URL encoding. UTM generators often do this automatically, but manually mounted links require attention. It is also important to test shorteners, redirectors, intermediate pages and affiliate links, as any step can remove the parameters.

Test beyond the browser bar

Seeing the UTMs on the final page is just the first scan. The full test must confirm that the values have reached analytics, were recorded in the hidden fields of the form, entered the CRM and remained associated with the contact after the opportunity update.

Do tests on mobile devices, different browsers and redirected pages. If the campaign directs to WhatsApp, also validate the passage from origin to conversation, because this environment presents different challenges from a traditional form.

How to Capture UTMs in Forms and Pages

To relate campaign and lead, the site should read the parameters of the URL and place them in hidden fields of the form. When the user sends their data, the UTMs follow in the same record. Landing page platforms often offer this feature, but the configuration varies and needs to be validated.

There are cases where the visitor enters through a parameterized page, navigates through other pages and only then converts. If the values are not preserved in cookie, local storage, session, or equivalent layer, the final form may register empty UTMs.

First touch and last touch

A more complete structure stores at least two sets of information. The First touch It is the first known origin of the contact. The Last touch records the most recent origin before conversion. Thus, the team avoids overwriting the entire story whenever the user returns through another channel.

Imagine someone who met the company for an ad in the Instagram, returned by a newsletter and then bought after searching the brand on Google. The first touch helps to measure discovery; the latter helps to understand the closure. Neither of them, in isolation, counts the whole journey.

Fields recommended in the CRM

  • First source, first medium and first campaign.
  • Last source, last medium and last campaign.
  • UTM content and UTM term.
  • URL of the first and last page of entry.
  • Date and time of first capture.
  • Click identifiers available.
  • Campaign, set and ad IDs.
  • Internal contact ID, opportunity and sale.

Fields need to track contact to the relevant business objects. If UTMs are only in the initial registration and do not arrive at the opportunity or the request, relating media to revenue becomes difficult. The data model should predict this association from the start.

How to Identify the Origin of Sales

The most valuable goal of parameterization is not to count access, but to connect investment to commercial outcome. For this, the company must create a key that relates the click or lead to the closed business. This key can be a contact ID, normalized email, phone, identifier of the CRM or transaction code.

When the sale is confirmed, the value, product, status and date data must be related to the acquisition information. The report can then aggregate revenue and amount of sales by `utm_source`, `utm_medium`, `utm_campaign` and `utm_content`.

This union allows you to discover situations that the CPL does not reveal. One campaign can generate many leads cheap and few sales, while another brings less contacts, but with higher closing rate and average ticket. Optimization based only on cost per lead tends to privilege volume, not necessarily revenue.

Metrics that gain context with UTMs

  • Leads by origin, medium and campaign.
  • Qualification fee per channel.
  • Conversion of lead in opportunity.
  • Conversion of opportunity into sale.
  • Cost per lead and cost per sale.
  • Revenue, average ticket and ROAS per campaign.
  • Average time between acquisition and closure.
  • Cancellations or refunds by origin.

These indicators can be consolidated into one data dashboard for digital business management. The dashboard must present actionable data and maintain access to the granularity required for audits, without turning each parameter into a disconnected chart.

UTMs in campaigns of WhatsApp

Campaigns that direct to the WhatsApp they require attention because conversion happens in another environment. The visit to the link may contain UTMs, but these parameters do not automatically appear as structured fields within the conversation. It is necessary to preserve the origin before transition or to transport it in a controlled manner.

An approach consists of using an intermediate page that captures the parameters, creates an identifier, and only then directs the user to the WhatsApp. Another possibility is to incorporate a short code into the pre-filled message. The choice depends on the desired experience, the tools available and the policies of the platform.

Automations can relate messages, contacts, and campaign data in a bank of their own. The content on first-party data collection of WhatsApp with n8n presents paths to structure this process without relying solely on the aggregate metrics of the ad manager.

“In message campaigns, counting clicks is not equivalent to counting qualified conversations, opportunities, or sales. The source needs to accompany the contact until the commercial result.

Integration of UTMs with marketing tools

UTMs produce more value when they circulate among the tools used by the operation. The flow can start in the ad manager, go through the website and analytics, enter the CRM, get to the database and finish on a dashboard. Automations reduce manual tasks and keep systems synchronized.

Google Analytics 4

The GA4 uses campaign parameters to classify user acquisition and sessions. However, first-user and session dimensions answer different questions. When analyzing reports, confirm that the selected dimension represents the first acquisition or the session that generated a given event.

It is also important to set up relevant events and conversions. The presence of UTM helps to classify the origin, but does not replace submitted form events, completed purchase, scheduling or qualification. The quality of the report depends on the combination of acquisition and behavior.

CRM and marketing automation

No CRM, UTMs must enter specific fields, not just a free observation. This allows you to create filters, reports, distribution rules, and automations. For example, leads from a demo campaign can follow for a team, while educational content contacts enter a nutrition.

Before integrating, define whether or not first-tap fields can be updated. In general, the first touch must remain immutable, while the last-touch fields can receive new values. This decision prevents a later visit from erasing the initial origin of the contact.

n8n and webhooks

The n8n can receive data from forms by webhook, validate parameters, normalize nomenclatures, query existing records and send the information to CRM, spreadsheet or bank. The tool can also enrich the registry with internal IDs and trigger alerts when mandatory parameters are missing.

A well-designed automation should be powerless, log logs, and treat faults. If the same webhook is received twice, the flow should not create two sales. If the CRM become unavailable, the information needs to be preserved for a new attempt.

Databases and dashboards

Spreadsheets can meet small operations, but they tend to get fragile with volume growth. Banks like PostgreSQL, BigQuery, and other analytical repositories allow you to store history, join fonts, and build more consistent attribution models.

In the dashboard, campaigns should be grouped by the official taxonomy. A treatment layer can correct old variations, but this does not eliminate the need to improve collection. The more cleaning is required later, the higher the cost and risk of interpretation.

UTMs and ad platforms

Meta Ads, Google Ads and other platforms offer their own measurement features. UTMs do not replace pixels, tags, conversion APIs, or offline imports. They create a common layer that helps compare channels and preserve the origin in company-controlled systems.

By sending qualified conversions back to the platforms, use consistent data and respect consent, security and privacy requirements. The structure of UTMs can help locate campaign and ad, but the match may also depend on click-through identifiers and event data.

In the Meta ecosystem, changes in pixel, browser and API it reinforces the need for a combined strategy. To further the topic, see the guide on conversion tracking advanced of the Meta and API of Conversions.

Common errors in UTMs and parameterization

Use different nomenclatures for the same channel

Mix `facebook`, `fb`, `meta` and `FacebookAds` creates different lines in the report. The problem seems small in a campaign, but it becomes relevant after months of operation. An official table of permitted values reduces this fragmentation.

UTMs must identify external acquisition. Using them in banners and menus within the site itself can start a new assignment and overwrite the previous origin in certain tools. To measure internal clicks, prefer events or parameters that are not interpreted as a new campaign.

Not preserving UTM until conversion

The campaign may be perfectly parameterized and yet the CRM receive empty fields. This occurs when the visitor navigates before converting, crosses domains, goes through redirects, or finds a form without capture. The whole journey needs to be tested.

Change names during the campaign

Dynamic variables based on names can record the existing value at the time of click. If the team renames campaigns and ads, the same ID may appear associated with different texts. Storing IDs next to names facilitates reconciliation.

Expose sensitive data

The URL can appear in the history, in analytics tools, servers, prints, and third-party systems. Never use UTMs to carry email, telephone, document, diagnostic, financial condition, or other personal information. Parameters should describe campaigns, not people.

Treat UTM as absolute truth

UTMs record the information available in the click, but can be removed, blocked, filled incorrectly, or shared between people. In addition, a sale can have multiple touchpoints. Therefore, they are valuable evidence of attribution, not an isolated proof of causality.

Attribution: how to interpret results correctly

A last-click model tends to value channels close to conversion, such as brand search and remarketing. A first-click template highlights channels of discovery. Linear, position-based or data-driven models distribute credit in other ways.

The choice depends on the question. To analyze acquisition of new audiences, the first touch can be more informative. To understand the closing mechanism, the last touch can help. For strategic decisions, it is worth looking at multiple perspectives and comparing incremental results when possible.

It is also normal to have disagreements between the media panel, the GA4 and the CRM. Each system can apply different windows, time zones, identity rules, and assignment templates. The goal should not be to force identical numbers, but to understand the rules and create a suitable source for each decision.

“UTMs explain which link an identified journey has gone through; the attribution analysis decides how much credit each contact should receive.

Governance and quality monitoring

Parameterization needs a responsible. This person or team maintains the documentation, approves new values, reviews campaigns, and tracks errors. Without governance, even a well-designed standard tends to deteriorate as new professionals and channels enter the operation.

Quality reports can show percentage of leads without UTM, unknown values, out-of-standard campaigns, and divergences between stated source and platform. Automatic alerts help fix flaws before a campaign accumulates weeks of incomplete data.

  • Test all links before publication.
  • Review campaigns with empty origin or medium.
  • Monitor values outside of the official taxonomy.
  • Compare clicks, sessions, leads and sales without demanding direct equality.
  • Check redirects and integrations after site changes.
  • Audit fields of first touch and last touch.
  • Maintain automation logs and re-shipment attempts.
  • Documenting nomenclature changes.

How to turn UTMs into data intelligence

Strategic value arises when the company has a foundation capable of answering questions without relying solely on a media platform. This basis should relate acquisition, behavior, qualification, sales and revenue. UTMs function as one of the context keys of this system.

With its own history, the manager can compare periods, follow channel changes, recalculate indicators and investigate the quality of the leads. If a platform changes its reports or fails to make a certain dimension available, internal records remain to belong to the business.

That doesn't mean storing everything indiscriminately. The project shall collect relevant information, apply access controls, set retention deadlines and respect the LGPD. Data intelligence depends on both availability and quality, security and purpose.

FAQ about UTMs and parameterization

1. What does UTM mean?

UTM means Urchin Tracking Module. It is a pattern of parameters added to URLs to describe the source, medium, campaign, and other access details. These values can be interpreted by analytics tools and captured by forms and integrations.

2. What UTM parameters are mandatory?

Technically, a URL can work with just one parameter. For a useful classification, however, it is recommended to fill in at least `utm_source`, `utm_medium` and `utm_campaign`. `utm_content` and `utm_term` are used when analytics requires ad detail, content, keyword, or targeting.

3. UTMs track a sale automatically?

No. No. They carry information about the source of the click. To assign a sale, it is necessary to capture these values, relate them to the lead or customer and connect the registration to the confirmed order. Without this integration, UTM may be limited to the session report.

Yes, but parameters need to be preserved before or during redirection to conversation. An intermediate page, an identifier, and an automation can relate the source to the contact. Only adding UTMs to the link does not guarantee that the CRM you will receive the data.

5. UTMs replace the pixel and the API of Conversions?

No. No. UTMs describe the campaign; pixels and APIs record or send events. These resources are complementary. A consistent framework utilizes UTMs for analysis and continuity between systems, as well as events for measurement and optimization on the platforms.

Not in general. Internal links with UTMs can overwrite or distort the source of the session. To measure banners, menus, and internal buttons, use analytics events or custom parameters that are not interpreted as a new acquisition campaign.

7. Why the CRM do Google Analytics show different numbers?

Systems can use distinct identities, windows, spindles, filters, and attribution models. In addition, locks, loss of parameters and form failures affect the collection. The comparison should consider the methodology of each tool, not just the final number.

Conclusion

UTMs and parameterization They are the basis of a more organized measurement. When there is a consistent taxonomy, the company can identify the origin of accesses, preserve the context of acquisition and relate campaigns to leads, opportunities, sales and revenue.

Effective implementation depends on more than generating links. It is necessary to test redirects, capture parameters, store first touch and last touch, integrate CRM and database, track the quality and interpret the results according to an appropriate attribution model.

Following the didactic distinction presented by Dericson Calari, UTMs mainly strengthen the first-party data collection, as they help the company build its own data intelligence. When combined with events, pixels and server-side integrations, they also contribute to a conversion tracking More contextualized and efficient.

The central point is to keep track of the information important to the business. Platforms, algorithms, and attribution rules may change, but a proper, well-documented, and connected basis to the business outcome remains a strategic asset for traffic managers and data-driven companies.