Skip to content
Documentation

Setting up UTM tags in Mautic emails for analytics tracking

Every trackable link inside the email body will have your UTM parameters automatically appended when the email is sent or previewed.

This means a clean link like https://yoursite.com/promo in your email becomes https://yoursite.com/promo?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026 in the recipient's inbox. Google Analytics (or any analytics tool) then attributes those visits to that specific email send, letting you measure click-through traffic per campaign without touching individual links in the content.

Requirements

  • Access to the Mautic instance with permission to edit emails
  • An email with at least one outbound link in the body
  • A Google Analytics (or equivalent) setup on the destination website to receive UTM-tagged traffic

Note

Use the same Campaign value across your email, DWC blocks, and any paid ads running at the same time. That way, all traffic from a single campaign rolls up cleanly under one campaign name in Analytics, regardless of which channel drove the click.

Step-by-step guide

  1. Open the email you want to configure by going to ChannelsEmails and clicking the email name.
  2. Locate the UTM fields in the email settings, these are separate from the email body content.
  3. Fill in the four available UTM fields:

    • Source — where the email is coming from (e.g. newsletter, mautic)
    • Medium — the channel (e.g. email)
    • Campaign — the campaign name (e.g. spring_sale_2026)
    • Content — optional, useful for distinguishing between multiple emails in the same campaign (e.g. welcome_email_1)
  4. Save the email.

  5. Test by using the email preview or sending a test to yourself, then hovering over a link in the email and confirming the destination URL includes your UTM parameters — for example:
    https://yoursite.com/promo?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026
    

Warning

Just like with DWC blocks, if links in your email body already have UTM parameters hardcoded, Mautic may stack a second set on top, leading to duplicate or malformed parameters.

How do I know if I executed this correctly?

  • Links in the email preview or test send include the correct UTM parameters
  • Clicking through from a test email shows the UTM values in the browser address bar on the destination page
  • Traffic from that email appears as a distinct source/medium combination in Google Analytics after a real send