Getting started

UTM parameters best practices

Optimize your marketing analytics with streamlined UTM tracking

Madlitics is a leading analytics platform, providing you with the insights you need to understand your website traffic by capturing and organizing marketing attribution data. UTM parameters are simple tags added to URLs that help you track your online campaigns, showing you exactly where your traffic comes from and how well your marketing efforts perform.

Whether you're with an agency, running a small business, or managing your own marketing, UTM parameters are essential for measuring success. Madlitics makes it easy to integrate these parameters into your workflows, connecting your marketing tools, CRM, and analytics platforms for a complete view of your marketing performance.

Discover how we develop visitor categorization and channel strategies in Visitor channel categorization, and learn how to capture and structure attribution data for meaningful insights in Capturing and structuring attribution data.

Whether you're new to UTM tracking or open to change, we recommend a structure that fits seamlessly with Madlitics, enhancing data accuracy and simplifying campaign management, so you can effectively measure and optimize your marketing efforts.

Optimizing parameters for success

UTM parameters are essential tools in digital marketing, enabling you to track and analyze the effectiveness of your campaigns by adding specific tags to your URLs. Here's how you can use each parameter to gain meaningful insights into your marketing efforts:

UTM_Medium [channel] :
Categorizes incoming traffic into major channels, helping you understand which broad strategies are most effective, such as paid social, email campaigns, display ads, etc.
• Values:
utm_medium=paidsocial, utm_medium=paidsearch, utm_medium=email, utm_medium=display
• Application:
Use utm_medium=paidsocial for campaigns on platforms like Facebook and Instagram. Choose utm_medium=paidsearch for ads running on search engines such as Google Ads, Bing, etc. Opt for utm_medium=email for email marketing efforts. For banner and display ad campaigns, utm_medium=display is appropriate.

UTM_Source [segment1] :Pinpoints the specific platform or website where your traffic originates, enabling you to identify the most effective sources.
Values:
utm_source=google, utm_source=instagram, utm_source=newsletter
Application:
Provides insights into optimizing presence on specific platforms by identifying high-performing sources.

UTM_Campaign [segment2] :Compares the performance of various campaigns within each source and medium, guiding strategic planning based on effectiveness.
Values:
utm_campaign=summer_sale_2024, utm_campaign=holiday_promo
Application:
Facilitates strategic decision-making by highlighting which campaigns yield the best results.

UTM_Term [segment3] :Used in paid search campaigns to identify effective keywords, aiding in optimizing ad spend.
Values:
utm_term=beach_umbrellas, utm_term=organic_sunscreen
Application:
Refines keyword strategy by tracking the most valuable search terms.

UTM_Content [segment4] :Differentiates similar content or links within the same ad to test performance, useful for A/B testing.
Values:
utm_content=ad_version_a, utm_content=30_percent_off_ad
Application:
Helps identify winning ad creatives, optimizing your creative strategy.

Tips & tricks for using UTM parameters

Madlitics tracks not only how visitors arrive at your site but also what content attracted them. These fields help you understand which types of content are driving leads and customers, and allow you to dig deeper into individual page performance.

  1. Use lowercase letters consistently because reporting tools are often case sensitive.
  2. Stick to standard, widely-used values to facilitate better integration with default channel groupings in analytics tools.
  3. Avoid using custom values for utm_medium unless necessary, as this prevents fragmentation of your traffic data.
  4. Regularly review your UTM setup to ensure it aligns with your evolving marketing strategy.
  5. Align customizable values with Madlitics standards when possible to maintain consistency across your marketing tools.

Need help building consistent UTM parameters for campaign URLs?
Use the Madlitics Campaign URL Builder to quickly generate trackable links for your marketing efforts.

Using UTM parameters effectively

The following examples illustrate how marketers can use UTM parameters to track various campaigns across different channels. By setting specific parameters, you can clearly identify the source, medium, campaign name, targeted keywords or audience, and the specific content that drove traffic to your website.

Google Ads
High intent and effective for capturing immediate traffic. Ideal for capturing high-intent traffic, Google Ads allows you to reach users at the exact moment they're actively searching for products or services you offer, which increases the likelihood of conversion.

Parameters

  • utm_medium=paidsearch
  • utm_source=google
  • utm_campaign=[campaign name]
  • utm_term=[ad group]
  • utm_content=[ad name]

Example url
?utm_source=google&utm_medium=paidsearch&utm_campaign=february_promo&utm_term=discount_offer&utm_content=ad_version_a

Captured Data

  • Channel: Paid search
  • Segment1: google
  • Segment2: february_promo
  • Segment3: discount_offer
  • Segment4: ad_version_a

Email Marketing
Highly personalized and cost-effective with great ROI. Best for nurturing leads, customer retention, and direct sales, email marketing is highly personalized, cost-effective, and allows for segmentation and automation.

Parameters

  • utm_medium=email
  • utm_source=[email origin]
  • utm_campaign=[campaign name]
  • utm_campaign=[offer description]
  • utm_content=[clicked link]

Example url
?utm_medium=email&utm_source=hubspot&utm_campaign=lead_nurturing&utm_term=free_demo&utm_content=hero_image_cta

Captured Data

  • Channel: Email marketing
  • Segment1: hubspot
  • Segment2: lead_nurturing
  • Segment3: free_demo
  • Segment4: thought_leadership_post

Note: The utm_source parameter for email marketing identifies the email's origin. You can specify your email platform (e.g., mailchimp), an internal identifier for emails you send (e.g., company_newsletter), or the source of external emails (e.g., partner_name). Choose the option that best describes the email's origin and provides the most useful tracking data.

Organic Search
Essential for long-term visibility and traffic without paid spend. Best for attracting visitors through unpaid search results, organic search strategies focus on improving visibility in search engines like Google and Bing.

Parameters

  • utm_medium=organicsearch
  • utm_source=[search engine]
  • utm_campaign=[campaign name]
  • utm_term=[keyword] *
  • utm_content=[content description] *

Example url
?utm_source=google&utm_medium=organicsearch&utm_campaign=blog_launch&utm_term=social_media_strategies&utm_content=blog_post

Captured Data

  • Channel: Organic search
  • Segment1: google
  • Segment2: blog_launch
  • Segment3: social_media_strategies *
  • Segment4: blog_post *

Note: While utm_term and utm_content are included here for reference, they may not always be necessary for organic search tracking, as the primary focus is often on the source and campaign.

Facebook Ads
Popular for reaching a broad audience and engaging with customers. Ideal for targeting based on interests, behaviors, and demographics, Facebook Ads are great for building brand awareness and reaching people who might not be actively searching for your product but fit your target audience profile.

Parameters

  • utm_medium=paidsocial
  • utm_source=facebook
  • utm_campaign=[campaign name]
  • utm_term=[ad group]
  • utm_content=[ad name]

Example url
?utm_source=facebook&utm_medium=paidsocial&utm_campaign=crm_retarg&utm_term=lead_nurturing&utm_content=carousel_ad

Captured Data

  • Channel: Paid Social
  • Segment1: facebook
  • Segment2: crm_retargeting
  • Segment3: lead_nurturing
  • Segment4: carousel_ad

TikTok, Instagram, Twitter Ads

Effective for visually appealing content and targeting younger demographics. Best for visual products and younger audiences, these platforms offer high engagement rates, especially for visually appealing content.

Parameters

  • utm_medium=paidsocial
  • utm_source=[platform name]
  • utm_campaign=[campaign name]
  • utm_term=[ad group]
  • utm_content=[ad name]

Example url
?utm_source=tiktok&utm_medium=paidsocial&utm_campaign=crm_demo&utm_term=small_business_owners&utm_content=video_ad_1

Captured Data

  • Channel: Paid social
  • Segment1: tiktok
  • Segment2: crm_demo
  • Segment3: small_business_owners
  • Segment4: video_ad_1

Note: UTM_Term is less common here, as TikTok is not search-based. You can rely on utm_content to differentiate between different types of ads, such as video variations or influencer partnerships.

Linkedin Ads
Valuable for B2B marketing and reaching professionals. Ideal for B2B marketing and professional services, LinkedIn Ads target professionals based on job titles, industries, and company size.

Parameters

  • utm_medium=paidsocial
  • utm_source=linkedin
  • utm_campaign=[campaign name]
  • utm_term=[ad group]
  • utm_content=[ad name]

Example url
?utm_source=facebook&utm_medium=paidsocial&utm_campaign=crm_retarg&utm_term=lead_nurturing&utm_content=carousel_ad

Captured Data

  • Channel: Paid social
  • Segment1: linkedin
  • Segment2: crm_launch
  • Segment3: business_owners
  • Segment4: sponsored_post

Referral Marketing
Valuable for leveraging existing relationships but less direct than paid ads. Best for leveraging external websites to drive traffic, referral marketing helps you gain visitors from links on other platforms.

Parameters

  • utm_medium=referral
  • utm_source=[referrer website]
  • utm_campaign=[campaign name]
  • utm_campaign=[keyword or offer] *
  • utm_content=[referral link description]  *

Example url
?utm_source=partnerwebsite&utm_medium=referral&utm_campaign=crm_launch&utm_term=partnership&utm_content=homepage_link

Captured Data

  • Channel: Referral
  • Segment1: partnerwebsite
  • Segment2: crm_launch
  • Segment3: partnership *
  • Segment4: homepage_link  *

Note: Including utm_term and utm_content as optional in this contexts allowing for flexibility while still acknowledging that it's not the primary focus for most campaigns.

Affiliate Marketing Useful but can vary significantly in effectiveness based on partnerships. Best for expanding reach through partnerships, affiliate marketing allows you to leverage other websites or individuals to promote your products or services.

Parameters

  • utm_medium=affiliate
  • utm_source=[affiliate name]
  • utm_campaign=[campaign name]
  • utm_campaign=[keyword or offer] *
  • utm_content=[ad name]

Example url
?utm_source=affiliate_partner&utm_medium=affiliate&utm_campaign=summer_sale&utm_term=special_offer&utm_content=banner_ad_1

Captured Data

  • Channel: Affiliate
  • Segment1: affiliate_partner
  • Segment2: summer_sale
  • Segment3: special_offer *
  • Segment4: banner_ad_1

Note: utm_term is not typically used because the primary tracking focuses on the affiliate's source rather than specific keywords.

Organic Social
Important for brand building, but results can be slower and less measurable. Best for building brand personality, engaging with customers, and fostering community, organic social strategies are free to use and help build authentic connections while driving potential viral growth.

Parameters

  • utm_medium=organicsocial
  • utm_source=[platform name]
  • utm_campaign=[campaign name]
  • utm_term=[target audience or topic] *
  • utm_content=[post description] *

Example url

?utm_source=instagram&utm_medium=organicsocial&utm_campaign=customer_engagement&utm_term=brand_&utm_content=community

Captured Data

  • Channel: Organic social
  • Segment1: instagram
  • Segment2: customer_engagement
  • Segment3: brand_awareness  *
  • Segment4: community_post  *

Note: The utm_term and utm_content parameters are included here for reference, but their use may vary based on the specific goals of your organic social campaigns.

Display Advertising
Useful for brand awareness but often has lower engagement compared to other channels. Best for visually impactful marketing, display advertising allows you to reach audiences through banner ads across various websites.

Parameters

  • utm_medium=display
  • utm_source=[ad network]
  • utm_campaign=[campaign name]
  • utm_campaign=[keyword or offer] *
  • utm_content=[ad variation]

Example url
?utm_source=google_display&utm_medium=display&utm_campaign=holiday_sale&utm_term=spring_collection&utm_content=banner_ad

Captured Data

  • Channel: Display
  • Segment1: google_display
  • Segment2: holiday_sale
  • Segment3: spring_collection *
  • Segment4: banner_ad

Note: Including utm_term as optional in this contexts allowing for flexibility while still acknowledging that it's not the primary focus for most campaigns.

Wrapping it up

Utilizing UTM parameters effectively allows marketers to gain valuable insights into their campaigns across various channels. By clearly defining the source, medium, campaign, and content, businesses can track performance, optimize strategies, and make informed decisions that drive growth. Whether using paid advertising or organic methods, the right UTM setup ensures that every interaction is measurable and actionable, paving the way for data-driven success.

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.
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.