Resources

What should I put in each UTM parameter?

A practical guide to naming every UTM field, with examples and conventions that make attribution clear and reporting dependable

When you add UTM parameters to your URLs, you give your analytics tools important clues about your marketing efforts. You may promote a new product on Instagram, send an email to your subscriber list, and run several Google ads, but which effort actually brought them in? Were most visitors from email, social media, or the ads?

This is where UTM parameters come in. Think of them as tiny labels you attach to your marketing links that tell your analytics tools the full story behind each click. When set up properly, UTMs reveal not just that someone visited your site, but exactly how they found you — down to the specific email, ad, or social post that caught their attention.

This guide explains what belongs in each UTM parameter field, with practical examples and context for real-world marketing scenarios. Whether you're just getting started with campaign tracking or looking to clean up your current approach, you'll learn how to tag your URLs for maximum clarity and insight.

Why use UTM parameters for ad tracking?

UTM parameters enable precise attribution by tracking which campaigns, channels, and ads drive traffic and conversions. This clarity helps marketers allocate budgets confidently and optimize performance based on real data rather than guesswork.

Combined with platform identifiers like gclid and fbclid, UTMs provide granular insights into campaign effectiveness. Marketers can quickly identify top performers—whether Facebook or Google Ads—and shift resources accordingly. This data-driven approach reduces wasted spend and improves ROI by focusing investment on what actually works. Ultimately, UTM tracking makes marketing measurable, transparent, and continuously improvable.

Define traffic sources

The utm_source parameter identifies where your traffic is coming from by naming the specific platform, channel, or referrer that sent visitors to your website. Example values include "google," "facebook," "newsletter," "mailchimp," or "johns-blog." This platform-level view shows which sources create the most visits, conversions, and revenue, etc. By using utm_source, you make it clear in analytics reporting exactly which external platform, sender, or channel drove the traffic to your website, supporting accurate attribution and reporting.

For instance, in the URL, the utm_source value "newsletter" shows the traffic was referred from an email newsletter campaign.
example.com/product?utm_source=newsletter&utm_medium=email&utm_campaign=black-friday-sale

If the source is a social media post on Facebook, your UTM might look like:
sample.com/?utm_source=facebook&utm_medium=social&utm_campaign=winter-sale

Categorize channels and methods

The utm_medium parameter describes how visitors arrived at your website by naming the marketing channel or method. Typical values include "cpc" for paid ads, "email" for newsletters, "organic" for unpaid search traffic, "social" for social media posts, and "referral" for traffic coming from other websites. This channel-level grouping reveals which marketing methods deliver the best ROI, helping teams allocate resources strategically across their entire marketing mix. By clearly defining utm_medium, you group traffic types together, making it easier to analyze channel performance across campaigns and marketing strategies.

For example, in the URL, the utm_medium value "cpc" indicates that the traffic came from a paid Google ad.
example.com?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale

Another example, "social" shows that visitors came from a social media post on Facebook.
sample.com/?utm_source=facebook&utm_medium=social&utm_campaign=holiday-deals

Identify marketing campaigns

The utm_campaign parameter identifies the specific marketing initiative driving traffic to your site. Use a clear, consistent name to group all related ads, emails, and posts under one campaign. Common patterns include event or promo names like “spring_sale_2025,” “black_friday_push,” or “product_launch.” This campaign-level grouping shows which initiatives move visits, conversions, and revenue, making it easier to compare results across time periods and decide where to invest next.

For example, in the URL, the value “spring_sale_2025” lets you see the full impact of that sale across search ads, social posts, and email sends.
www.example.com?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale_2025

Another example groups all Facebook posts tied to the launch.
sample.com/?utm_source=facebook&utm_medium=social&utm_campaign=product_launch

Track keywords and audience segments

Use utm_term to record what you targeted: a search keyword, an audience, or an ad set. In paid search, it answers “which query triggered this click?” In paid social, it answers “which audience did we aim at?”  This level of detail helps marketers understand which keywords or segments generate the best results, allowing for better optimization of paid search and other targeted campaigns.

Captures keyword search terms, "brand shoes"
example.com/product?utm_source=google&utm_medium=cpc&utm_campaign=brand-us&utm_term=brand-shoes

Differentiate though audience segmentation, "prospecting cmo titles".
sample.com/signup?utm_source=linkedin&utm_medium=social&utm_campaign=webinar-series&utm_term=prospecting-cmo-titles

Differentiate creative variations and specific links

The utm_content parameter is used to distinguish between different elements, creatives, or links share the same source, medium, and campaign. This is especially useful when you have multiple calls-to-action or ads pointing to the same URL but want to track which specific one drives more traffic or conversions. This level of granularity enables detailed performance tracking at the creative level, helping marketers optimize specific content elements instead of just campaigns or channels.

In an email with two buttons (🟢 🔵), you might tag them so reports show performance by color, use utm_content=button-blue and utm_content=button-green to learn which style resonates. For ads, the same idea helps you separate formats, like utm_content=video-ad versus utm_content=text-ad.

In a URL, this might look like:
www.example.com?utm_source=facebook&utm_medium=social&utm_campaign=winter_sale&utm_content=video-ad

Understand Click ID tagging

Click IDs function as digital fingerprints, enabling granular tracking of each ad interaction and helping tie conversions back to the exact ad, keyword, or campaign that drove them. They are complementary to UTMs... UTMs organize results into clear buckets, while click IDs enable exact matching back to the ad platforms.

Unlike manual UTM tags, these click IDs provide more granular, automated tracking of paid ad performance throughout the customer journey, from the initial click to eventual conversions. Paired together, UTMs provide human-readable grouping (source/medium/campaign), while click IDs enable precise ad matching. Common examples include Google’s gclid, Microsoft Ads’ msclkid, Meta’s fbclid, TikTok’s ttclid, LinkedIn’s li_fat_id, and Snapchat’s sc_click_id.

A GCLID contains encrypted details such as the exact campaign, ad group, keyword, time, device, and location related to the click.
example.com?utm_source=google&utm_medium=cpc&utm_campaign=2024-special-guide&gclid=CjwKCAiA75itBhA6EiwAkho9e3beDPVw96xj-xI3kMHHjLgwrozkbjrSh9nfeaeBRMWtKeGO3n13UBoCZF0QAvD_BwE

Working with custom UTM parameters

Custom parameters are additional URL parameters beyond the standard UTM tags that marketers may use to track extra details about campaigns, audience segments, or user behavior. These might include things like influencer_name, geo=chicago, product_line=fresh, or other specific factors relevant to your business.

While custom parameters can provide valuable, granular insight, they should be used sparingly because they complicate data collection and analysis. Too many custom parameters can lead to data fragmentation, increase reporting complexity, and require extra setup (such as registering custom dimensions or metrics in tools like Google Analytics). This can result in higher maintenance overhead and make it harder to maintain clean, consistent attribution data across campaigns.

Therefore, it’s best to carefully plan which custom parameters truly add value to your tracking and limit their use to avoid overwhelming your analytics systems and teams. When used thoughtfully, they enable richer segmentation and deeper insights but demand more governance and integration work.

Madlitics multi-channel attribution visualization, showing marketing platforms like TikTok, Instagram, Google, and Facebook. The graphic highlights how different sources contribute to high-performing marketing channels.
1. Add UTM parameters to all inbound links
Any marketing effort that drives traffic — whether it’s a paid ad, an email campaign, or an organic post — should have properly structured URLs that clearly define the visitor’s origin. Setting it up is a straightforward process that starts with ensuring all inbound links include UTM parameters.

A LinkedIn campaign, for example, might link to:
https://yoursite.com/?utm_source=linkedin&utm_medium=paidsocial&utm_campaign=q1_promo
Screenshot of a form builder interface with a highlighted 'Hidden Input' field. Accompanied by text explaining how to install and set up Madlitics by adding hidden fields to capture marketing attribution data.
2. Add hidden fields
Once you’ve added UTM tracking to your inbound links, the next step is to install Madlitics on your site and update your Framer Forms to include hidden fields that will store attribution data when a visitor submits a form automatically. Hidden fields to include:
• Channel (e.g., Paid Search, Organic Social, Direct)
• Segment 1 (Platform name: Google, LinkedIn, Twitter)
• Segment 2 (Campaign name)
• Segment 3 (Ad group, offer name, or post type)
• Segment 4 (Creative type or ad variation)
• Landing page/group (Tracking & first-touch attribution)
CRM interface showing a detailed view of captured attribution data, including marketing channels, segments, and landing pages. A business profile of a lead is displayed, highlighting how Madlitics enriches lead data for sales and marketing teams.
3. Utilize attribution data
With the setup complete, every form submission in Framer now carries full attribution data, ensuring accurate insights into where leads originate. Pass this data to your CRM, analytics tools, or marketing automation platforms to track performance, refine campaigns, and optimize marketing efforts with precision.

Wrapping up, UTM parameters enable marketers to uncover the full story behind every click by providing clear, structured data about traffic sources, channels, campaigns, keywords, and creatives. When used consistently and thoughtfully, they transform raw visitor numbers into actionable insights, helping you measure which marketing efforts drive results and where to focus your resources. Whether you're managing a few campaigns or dozens, understanding UTM tagging ensures your analytics reports are accurate, meaningful, and ready to guide smarter marketing decisions.

Frequently asked questions

Answers to your top questions about our UTM parameters
Put attribution data to work
Sync, analyze, and automate — turn insights into action.
Automation icon indicating hands-free marketing attribution and data flow.
Sync with your CRM
Pass UTM parameters into Salesforce, HubSpot, or ActiveCampaign so your sales team knows exactly where every lead came from — no more guessing.
Analytics report icon, indicating data insights and reporting.
Built smarter reports
Use Google Sheets, Looker Studio, or Airtable to create data-driven reports that reveal which campaigns drive real revenue — helping you make informed budget decisions.
Impact measurement icon, symbolizing marketing effectiveness.
Track revenue impact
Sync UTM data with Stripe, PayPal, or Chargebee to see which campaigns generate paying customers, not just leads — so you can scale what works.
Personalization icon, representing customization features.
Personalize email campaigns
Trigger personalized email flows in Klaviyo, Mailchimp, or ConvertKit based on a lead’s original source — ensuring the right message reaches the right audience.
Visualizing your marketing impact
See how attribution data translates into actionable insights.
Stacked bar chart showing lead generation by marketing channel over time, comparing sources like Paid Search, Paid Social, Organic Search, Direct, and Email. Helps visualize which channels drive the most traffic.
Leads by channel
See how different marketing channels contribute to lead generation over time. Understand which ones drive the most traffic and whether your marketing mix is balanced. Shift your budget toward the highest-performing channels to maximize results.
Stacked bar chart illustrating lead volume across different marketing campaigns, including Black Friday, Retargeted, Spring Promo, Referral, and SEO. Highlights trends in campaign effectiveness.
Leads by campaign
Track inbound leads across all campaigns, whether or not they have UTM parameters. Ensure every lead is categorized correctly, including Organic and Referral traffic. Use this insight to refine messaging, targeting, and budget allocation for better performance.
Line chart displaying lead-to-customer conversion rates by channel, comparing Google Ads, Facebook Ads, LinkedIn Ads, Organic Search, and Email. Shows how different sources drive qualified leads over time.
Conversion rate by channel
See which channels convert leads into paying customers. Some bring buyers, while others generate unqualified leads. Focus your budget on what drives revenue.
Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.
Revenue by campaign
Focus your budget on campaigns that drive revenue, not just leads. Identify top performers and optimize underperforming efforts to maximize profitability.
Everything you need for reliable lead attribution
Accurate, persistent, and automated tracking — so your campaigns perform at their best.
Performance icon symbolizing marketing campaign effectiveness and results tracking.
Outperforms basic UTM tracking
Madlitics captures, categorizes, and persists attribution data across sessions, giving you a complete, structured view of what’s working in your marketing. Say goodbye to losing attribution when users navigate your site, struggling with formatting inconsistencies, and ingored non-UTM traffic.
Capture icon indicating data collection from various marketing channels and sources.
Capture all traffic
Madlitics categorizes all inbound leads — whether they have UTM parameters or not — so every conversion is accounted for, and you won't miss out on Organic Search, Organic Social, and Referral traffic.
Routing icon representing the flow of marketing data and attribution pathways.
Attribution across pages and sessions
A LinkedIn ad click should be attributed correctly—even if the visitor signs up on a different page later. If someone clicks an ad, browses multiple pages, then submits a form later, Madlitics persists attribution data across sessions, ensuring your reports reflect true performance.
List icon representing structured marketing data, reports, or campaign breakdowns.
Cleaner, more reliable data
Duplicate UTMs and inconsistent formatting break reports and mislead teams. Madlitics cleans and organizes attribution data before sending it to your CRM, giving you accurate insights.
Target icon symbolizing precise audience targeting and marketing campaign focus
See which content converts
Attribution isn’t just about where visitors came from—it’s about what convinced them to convert. By capturing landing page data alongside UTM parameters, Madlitics shows you which blog posts, case studies, or pricing pages drive the most revenue, helping you scale content that works.
Action icon representing campaign execution, optimization, and engagement.
Transform form submissions into actionable insights
Madlitics connects marketing touchpoints to lead generation, ensuring every form submission is fully attributed — optimize ad spend by identifying high-ROI channels, refine messaging based on what content drives engagement, make data-driven decisions with clean, structured reports, and more.