How UTM tag tracking in Mautic works and when you need it
A marketing team that wants to know which campaign brought each contact in needs to decide how UTM values will be captured before the first link goes out. UTM parameters are key-value pairs added to the end of a URL, such as utm_source, utm_medium and utm_campaign, that describe where the visit or click came from. They do not change the destination page. Mautic can read these values in several places: email links, forms, landing pages, asset downloads and visits recorded by the tracking script. Each of these entry points is a separate feature with its own behavior, so the team should list every place its links will appear and confirm, in the Mautic version it runs, which of those places record UTM values and where they are stored.
The main risk is assuming that a UTM value captured in one feature is available in all the others. A value recorded on a page visit may not reach a contact record unless the visitor is identified later, and a value stored on a form submission may not be visible to a segment filter in the same way. Segment membership and campaign conditions are also updated by cron jobs, which the Mautic documentation says should be staggered, so a contact tagged by a UTM value may join a segment or enter a campaign path later than the click itself. Naming conventions matter as much as capture. If one team writes Spring_Launch and another writes spring-launch, segment filters will treat them as different sources. The team should agree on a naming standard and a tagging owner before launch.
Teams need this planning when campaign source drives decisions on contacts, such as segment membership, campaign branching or sales hand-offs through an integration. If the only goal is aggregate reporting on traffic, the requirements may be lighter. Before committing, the team should confirm in its own environment which UTM parameters it will use, which features store them on the contact or only on activity records, how long those records are kept, and whether a test campaign can show the value reaching a segment and a campaign condition. Running that test with a small set of links, and checking the result after the scheduled cron jobs have run, is the cheapest way to find gaps before real traffic arrives.
Configuration options for UTM capture and use
This table compares the five main ways UTM values reach Mautic and get used: tracking script captures, form fields, tagged email links, segment filters and campaign conditions. Read each row as a set of questions to answer for your own sites and Mautic version. The main takeaway is that each option sees UTM data at a different point in the visitor journey, so a value may appear in one feature and be missing in another unless you test each path end to end.
| Option | When it fits | What it depends on | Gap it can leave |
|---|---|---|---|
| Tracking script captures | Visits to your own website where you want to record the campaign that brought each visit | The tracking script on every page, the visitor's browser accepting cookies, and the UTM parameters being present in the landing URL | Visits to pages without the script, and parameters dropped when visitors navigate away and return without them |
| Form fields | Lead capture forms where you want the campaign source stored on the contact record at submission | Hidden or prefilled fields mapped to UTM values, and a form that reads the URL parameters when it loads | Contacts who submit a form without the parameters in the URL, and fields that stay empty on later visits unless updated |
| UTM-tagged email links | Email campaigns where each link should identify the send, the link and the audience segment | Consistent tagging in the email builder or sending tool, and clicks being tracked so the parameters reach your site | Links copied or forwarded without tags, and links that do not carry tags through redirects or link shorteners (confirm the redirect behavior in your setup) |
| Segment filters | Building audiences from the campaign source already stored on contacts, such as everyone from a webinar campaign | UTM values saved on contact or event records, and the filter field matching the exact stored spelling and case | Contacts whose source was never captured, and filters that miss variants such as misspelled or differently cased values |
| Campaign conditions | Automations that branch on the campaign source, for example sending different follow-ups to different entry points | Campaign triggers that run after the UTM value is stored, and cron jobs that evaluate campaigns on schedule | Contacts who enter the campaign before the value is saved, and timing gaps when the cron schedule runs later than expected |
How to set up UTM tracking in Mautic step by step
This sequence takes UTM tracking from a naming standard to verified contact records, segment filters and campaign conditions, so every marketing feature reads the same campaign data.
Agree a UTM naming standard
Marketing operations and the Mautic administrator agree which UTM parameters the team uses (source, medium, campaign, and optionally term and content), the allowed values for each, and the casing rules. Write the standard down with one example link per channel. The step is done when every team that builds links can point to the same document and the allowed values are listed. Ask the vendor or your own team to confirm whether the Mautic version you run stores each parameter as a contact or page hit field, because that determines which fields you need to map later.
Confirm the tracking script runs on every site
The web team checks that the Mautic tracking script (mtc.js) loads on each public page that receives UTM links, including landing pages hosted on other domains or your own CMS. Open a page with a test UTM string in the address bar, then look for a page hit for that visit in the Mautic visitor records. The step is done when the page hit appears with the UTM values attached. If it does not appear, check that the script is present on the page, that the domain matches the one configured in Mautic, and that no blocking rule strips the query string.
Map which features must capture UTMs
List every Mautic feature that needs campaign source data: forms, landing pages, email links, asset downloads, segment filters and campaign conditions. For each one, record whether it reads UTMs from the visit that triggered it, from the first touch stored on the contact, or from the latest page hit. Give the list to the administrator and the marketing lead for sign-off. The step is done when each feature has a named owner and a documented capture method, because the features do not all handle UTMs the same way.
Configure forms and landing pages
Add hidden or prefilled fields to each Mautic form so the UTM values are written to the contact record at submission. On Mautic-hosted landing pages, confirm that the page tracking and the form use the same parameter names as your standard. Submit a test form from a link carrying known UTM values. The step is done when the contact record shows the submitted values in the expected fields, and the form submission event records the same values. Repeat for each form, because a field that works on one form may be missing on another.
Build and log test links
Create a set of test links, one per channel, that follow the naming standard exactly. Include links in a test email, a tracked asset link and a paid placement draft if you use one. Keep a log that records each link, its expected values and the date you tested it. The step is done when every link has a row in the log and each row has a matching test contact or visit to check against.
Verify contact records and segment filters
Run each test link through the path a real contact would take, then open the test contact and confirm the stored values. Build a segment that filters on the UTM field and confirm the test contact appears in it, and that it does not appear in a segment built for a different campaign. Segments update through the cron jobs, so check that the segment update job has run before judging the result. The step is done when the expected contacts appear and the excluded ones do not, with the results recorded in your test log.
Review campaign conditions
Build a campaign with a decision or condition that branches on the UTM value, then trigger it with the test links. Confirm that each test contact follows the branch you designed and that the campaign trigger ran on schedule, since campaign updates and triggers depend on cron jobs. Compare the campaign result with the segment result for the same contacts. The step is done when the branch outcomes match the design for every test link, and any difference between capture methods is written down with a fix or an accepted limitation before launch.
Where UTM gaps appear and how to spot them
UTM values often reach Mautic intact in one place and disappear in another, so reports look complete while attribution is quietly wrong. The six sources below are the ones that most often explain a missing or mislabeled campaign, and each has a specific test you can run before trusting a dashboard or segment.
Parameters lost on redirects
Click-through links often pass through a redirect service, URL shortener or link tracker before reaching a Mautic-tracked page. Many of these hops drop the query string, or keep it only on the first hop. In reports, the affected visits appear as direct or referral traffic with no campaign value. To test, click each live link from a sent email, follow the full redirect chain in a browser with developer tools, and confirm that all five UTM parameters arrive on the final landing page URL.
First-touch versus last-touch confusion
Mautic records UTM values on the contact when they are captured, but a contact who returns through a different campaign may overwrite or keep the earlier value depending on which feature captured it. A segment built on campaign source can then match people by their most recent click when the team expects their first. Before building attribution reports, decide which touch counts and write the rule down. Test with a contact who arrives through two known campaigns and check which value the contact record shows.
Inconsistent tag casing
UTM values such as Spring_Launch, spring_launch and SPRING_LAUNCH are different strings to a segment filter or a report grouping, even though a marketer reads them as one campaign. Casing often varies by team, by ad platform and by the tool that generated the link. The result is split counts and segments that miss contacts. Test by listing distinct values for the source and campaign fields in Mautic and grouping them case-insensitively to see how many variants exist.
Email clients stripping parameters
UTM values are carried in the link itself, so any change to the link in the email can remove them. Some mail clients, link scanners and webmail rewrite URLs for security or preview purposes, and a rewritten link may reach the site without its parameters. Mautic click tracking may still record the click, leaving a contact with an email click but no campaign source. Test by sending a seed message through the mailbox providers your audience uses, clicking the link from each, and comparing what reaches the landing page with what Mautic recorded.
Forms that do not store hidden fields
Teams often pass UTM values into a Mautic form through hidden fields so the source survives until the lead is created. If the hidden field is not mapped to a contact field, or the form is embedded on a page that does not read the URL, the value is empty on submission. The contact then exists without attribution even though the visit carried it. Test by submitting the form through a fully parameterized URL, then open the resulting contact and confirm each UTM field is populated.
Anonymous visits not yet linked
A visitor who arrives with UTM parameters is anonymous until they fill in a form or click a tracked email, so the campaign value sits on an anonymous visit record rather than a contact. Reports that count contacts by campaign will undercount until identification happens, and some visits may never be linked. Test by opening an anonymous visit from a campaign link, then identifying that visitor through a form and checking whether the earlier visit appears on the contact timeline with its UTM values.
How a UTM-tagged visit moves through Mautic
The path starts with a UTM-tagged link in an email, ad or other campaign link. The tracking script or a form on the landing page records the visit and its UTM values. At the decision point, Mautic checks whether the visitor is a known contact. Anonymous visits stay as anonymous visitor records until a form submission or email click identifies them, then they join the contact record. Segment filters and campaign conditions read the contact data, so check that the UTM values reach the fields you filter on in each feature.
Decision path from a UTM-tagged link to segment filters and campaign conditions.
Privacy and operational considerations for UTM data
UTM values travel with visits, form submissions and downloads, so they end up stored against contact records. The cards below cover what that storage means for consent and purpose, what should never go into a UTM value, who can see the resulting fields, and how the naming rules are kept documented so the data stays usable.
Purpose limits for campaign data
Campaign source fields stored on a contact are personal data once they are linked to that person, so the reason for keeping them should be written down before tagging starts. Decide which UTM parameters are copied to contact fields, which stay only on campaign reports, and how long each is kept. Confirm with your privacy team whether marketing attribution is a stated purpose for the contacts you hold, and check how the consent settings described in the Mautic compliance group apply to those fields.
Mautic cron jobs docsKeeping personal data out of UTM values
A UTM value is a URL string that can be copied into email clients, shared links, analytics tools and browser history. Email addresses, names, customer IDs or account numbers should never be placed in utm_content or utm_term, even when they seem convenient for matching. Use an opaque campaign or recipient token instead, mapped to the contact record inside Mautic. Add a check to the link-building step that rejects values containing an @ sign or a numeric identifier pattern.
Field access by user role
UTM-derived contact fields and campaign reports can expose marketing history to every user who can open a contact record. Review which Mautic user roles can view, edit or export these fields, and whether exports include them by default. Basic authentication is used for Mautic users, so account lifecycle, such as removing staff who change roles, needs an owner. Confirm the role permissions in your own instance before granting access to agencies or contractors.
Mautic authentication docsDocumented tag conventions
Parameter names, casing, separators and allowed values should be written in one controlled document that marketing, web and agency teams all use. Without it, utm_source=LinkedIn and utm_source=linkedin create two sources in reports, and campaigns built by different teams drift apart over time. Record who may add a new value, where the list lives and how changes are announced before the next send. Review the list when a new channel or form is introduced.
Retention and cleanup of tagged data
Stored UTM values accumulate on contacts and in tracking history long after the campaign that produced them has ended. Decide which fields are cleared, which are kept on the contact, and whether old visit records are purged on a schedule. Scheduled jobs such as segment and campaign updates run through cron, so cleanup tasks should be added to the same operational calendar and their owner named. Ask your implementation partner which Mautic cleanup options apply to your version.
Change control for tracking links
Links with UTM parameters are often published in partner emails, paid ads and printed materials that cannot be corrected later. Require a review step before a tagged link goes live, and keep a register of where each tagged URL appears. When a link format changes, the old and new values should be mapped in the reporting layer so historical comparisons remain valid. This also gives auditors a clear record of how marketing data was collected, which supports the evidence side of a compliance review without making any compliance claim on its own.
Questions buyers ask about UTM tracking in Mautic
How much effort does a UTM tracking setup in Mautic take?
Effort depends on how many channels need to carry UTM values and how each one handles them. A single site with one form and a few emails is a small job. A setup that covers emails, several forms, Mautic landing pages, asset downloads, segment filters and campaign conditions takes more testing, because each feature has to be checked on its own. The work has a fixed part (agreeing the tag standard, mapping fields, writing test cases) and a variable part (the number of channels and the state of the existing site). Ask any provider for a written scope that lists each channel, the test cases and the retest step before you compare quotes. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and a quote follows from that scope.
Can an internal marketing ops person set up UTM tracking in Mautic?
Yes, for a contained setup, if that person has edit access to the website or forms and an admin role in Mautic. The harder parts are the tag standard, the testing and the infrastructure behind it. Mautic depends on cron jobs for segment updates, campaign updates and campaign triggers, and the project documentation says those jobs should be staggered, so someone must own the scheduler and check that jobs run. Work that touches the CMS templates, server configuration or the email transport usually needs an engineer. Confirm the split in your own environment: list every place a UTM value must be captured, then decide which of those your team can change and test without help.
What do we need to provide for a UTM tracking project in Mautic?
Most delays come from missing inputs, so prepare these before work starts:
- A tag standard that defines parameter names, letter case, allowed source, medium and campaign values, and who approves new values.
- Site access, including the CMS or template files that hold your forms and landing pages, and edit rights for each page that must capture UTMs.
- Mautic access for an admin who can change contact fields, segments, campaigns and forms, plus a staging instance or test contacts for trials.
- A test plan with sample URLs for each channel and the contact field values you expect after each test.
If your team cannot supply one of these, the project scope should say so in writing, because the missing item usually becomes extra work later.
How do cron schedules affect UTM-based segments and campaigns?
UTM-based segments and campaigns are only as current as the cron jobs that update them. Mautic runs segment updates, campaign updates and campaign triggers through cron, and the documentation says these should be staggered rather than run together. If a segment that filters on a UTM value updates after the campaign trigger that depends on it, contacts can enter the campaign late or be missed. Test each path by sending a known test contact through a tagged link, then waiting for the relevant cron runs before checking the segment and campaign history. Engineers should record the schedule in the handover so the marketing team knows why a result appears later than the click. See the Mautic cron jobs documentation for the job list.
Which Mautic release line should a UTM tracking project target?
Pick a release line that still has support for the whole life of the project, and confirm the dates before go-live. The Mautic releases page lists Mautic 7.2 with active and security support until 30 September 2026, Mautic 6.0 with security support until 30 September 2026, Mautic 5.2 with security support until 30 June 2026 and Mautic 4.4 with paid Extended Long Term Support until 31 December 2026. The project plans Mautic 7.3 as the long-term support release with security support through 31 December 2027. Mautic also ships monthly patch releases, minor releases every three months and major releases every two years, so UTM field mappings and campaign logic should be tested again after each upgrade. Check the Mautic releases page for the current status before you set dates.
What does a partner deliver for UTM tracking in Mautic?
A well-scoped engagement delivers artifacts your team keeps after the project ends:
- A written tag standard and field mapping that show how each UTM parameter is stored on the contact record.
- Configured capture on the agreed channels, such as emails, forms, landing pages, asset downloads, segment filters and campaign conditions.
- A test plan with results, including the cron-dependent paths and the retest after fixes.
- Operational notes covering the schedule, ownership and how to add a new UTM value.
DeployOpen plans, implements, documents and supports self-hosted open-source platforms in your infrastructure, and it prepares evidence for compliance reviews without issuing audit reports. Ongoing support and upgrades are available as retainers. DeployOpen does not publish a price list, so ask for the written scope and quote that follows from it.
Do UTM parameters in Mautic create privacy or compliance obligations?
They can, if teams put personal data into campaign parameters. A UTM value such as a name or email address is stored against the contact and may be copied into reports and exports, so it falls under the same handling rules as other contact data. Set a rule that UTM values carry only approved codes, and check the rule during testing by sending links with sample values and reviewing where they appear. Consent and preference settings are a separate control and should be reviewed with your compliance team. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue audit reports and certifications. Confirm the data handling requirements for your region before you finalize the tag standard.
How DeployOpen scopes UTM tracking work in Mautic
DeployOpen starts UTM tag tracking in Mautic with a written map of every place your campaigns carry UTM parameters, then builds and tests the capture path before anything depends on it. The work is fixed-scope, documented and handed over so your marketing operations team can run it.
How we scope
- Inventory every email, form, landing page and asset link that carries UTM parameters today.
- Record which Mautic features read UTM values and which ignore them, such as segment filters and campaign conditions.
- Agree in writing which UTM fields become contact or company fields and how long each value is kept.
How we build
- Configure the contact and campaign fields that store first-touch and latest UTM values with a documented naming convention.
- Test each capture point with tagged test links to confirm values reach the contact record and the segment filters.
- Check campaign conditions and asset download tracking against a set of known UTM combinations before go-live.
How we hand over
- Deliver a written UTM naming standard, field map and list of known capture gaps for your marketing team.
- Provide test cases and a retest script so your team can verify tracking after each template or form change.
- Walk through the configuration with your administrators and record the decisions behind each field and filter.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope work closes.
- Retest UTM capture after Mautic upgrades or changes to your email templates, landing pages and forms.
- Review the field map and reporting filters as campaigns and channels change, with changes agreed in writing.

