Link Code Generator Logo
Link Code Generator

Free UTM Link Builder for Google Analytics

Instantly generate UTM-tagged campaign URLs. Supports preset traffic sources, bulk generation for multiple ad variants, and clean properly-encoded tracking links.

Quick Presets

The full website URL (e.g. https://www.example.com)

The referrer (e.g. google, newsletter)

Marketing medium (e.g. cpc, banner, email)

Product, promo code, or slogan (e.g. summer_sale)

Identify the paid keywords

Use to differentiate ads

Help & Guides

What Are UTM Parameters?

UTM parameters (Urchin Tracking Module) are small snippets of text appended to the end of a URL that tell Google Analytics where a visitor came from and what campaign brought them there. They are the foundation of digital marketing attribution — without them, all your campaign traffic is lumped together as "Direct" or "(not provided)" in your analytics.

A UTM-tagged URL looks like this: yoursite.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=may-launch

The Five UTM Parameters Explained

  • utm_source: Where the traffic originates. Examples: google, facebook, newsletter, linkedin.
  • utm_medium: The marketing channel. Examples: cpc, email, social, organic, banner.
  • utm_campaign: The campaign name. Examples: spring-sale, product-launch, retargeting.
  • utm_content: Use to differentiate ads within the same campaign. Examples: version-a, blue-button, hero-image.
  • utm_term: The keyword for paid search campaigns. Examples: best-crm-software, project-management-tool.

Why Use a UTM Builder Instead of Typing Manually?

Hand-typing UTM parameters introduces errors: spaces become %20 in some tools and "+" in others, capitalization inconsistencies split a single campaign into multiple rows in Analytics, and trailing spaces are invisible but catastrophic. This tool URL-encodes all values correctly, enforces consistent formatting, and prevents the most common UTM mistakes.

UTM Best Practices

  • Always use lowercase: Google Analytics is case-sensitive. "Email" and "email" appear as separate sources.
  • Use hyphens, not spaces or underscores: may-launch is the recommended format for campaign names.
  • Build a naming convention: Agree on a standard within your team (e.g. medium is always cpc/email/social) and stick to it. Inconsistency makes reporting impossible.
  • Never use UTM parameters on internal links: Adding UTMs on links within your own site will overwrite the original session source, wiping out external attribution data.
  • Shorten before sharing: UTM parameters make URLs long and messy. Use our URL Shortener to clean them up before posting to social media, and our QR Code Generator to turn campaign links into scannable codes for print materials.

Frequently Asked Questions

Which UTM parameters are required?

Only utm_source and utm_medium are required for Google Analytics to properly attribute the session. utm_campaign is strongly recommended for campaign-level reporting. utm_content and utm_term are optional and primarily used for granular ad-level differentiation.

Do UTM parameters affect SEO?

Not directly. Google's crawler recognizes UTM parameters and does not treat UTM-tagged URLs as separate pages. However, be careful not to share UTM-tagged URLs as your canonical social sharing URL, as this can occasionally cause canonicalization issues. Use the untagged URL as your canonical and add UTMs only for distribution.

Can I use UTM parameters with Google Ads?

Yes, but Google Ads also offers auto-tagging via the {"{"}gclid{"}"} parameter, which sends more granular click data to GA4. If you use auto-tagging, you can still add utm_campaign and utm_content for custom reporting, but utm_source and utm_medium will be overridden by auto-tagging — Google will populate those from the click data directly.

Get smarter about link tracking

UTM strategies, campaign tricks, and new tools for marketers who want cleaner data.

All Tools Directory

Every free tool, in one place. Perfect for anyone who needs to create QR codes, build UTM-tagged links, generate contact links, or manage campaign URLs. No account required.

Amazon Affiliate Link Builder

Clean up messy Amazon URLs and generate perfect Associate links using your affiliate tag.

Link Expirator & Countdown Snippet

Generate a Javascript snippet to automatically expire a link and redirect traffic after a specific date and time.

Link Cloaker & Redirect

Generate HTML, PHP, and .htaccess redirect codes to hide ugly affiliate links.

Link Rotator

Generate a JavaScript snippet to randomly rotate traffic across multiple destination URLs based on percentage weights.

A/B Split Tester

Generate a Javascript snippet to split landing page traffic between two URLs for A/B testing.

URL Shortener

Instantly shorten long URLs to display clean links on social media.

UTM Link Builder

Easily add UTM parameters to URLs so you can track Custom Campaigns in Google Analytics.

SMS Link Generator

Create clickable sms: links that open the native text message app with a phone number and pre-filled message. Generates the URL and HTML code.

Mailto Link

Create advanced email links with pre-filled subjects, CC, BCC, and body text. Generates standard URLs and HTML code.

Direct Review Link

Generate direct 5-star review links for Google My Business, Yelp, Facebook, and Trustpilot to send to your customers.

Social Share Link

Create 1-click sharing links for Twitter, Facebook, LinkedIn, Reddit, and more. Generate custom URLs and HTML buttons.

Telegram Link

Create direct Telegram links using a username or phone number. Generates t.me URLs and HTML code.

WhatsApp Link

Create click-to-chat WhatsApp links with pre-filled messages. Generates wa.me URLs and HTML code.

Barcode (1D)

Generate, preview, and download 1D barcodes (Code128, EAN-13, UPC, etc.) instantly in your browser.

GA4 Cross-Domain Tracker

Generate Google Analytics 4 (GA4) cross-domain tracking code snippets to maintain user sessions across multiple websites.

Smart App Deep Link

Generate smart routing scripts that detect the user OS and redirect to native mobile apps falling back to web URLs.

HTML Link

Generate clean, perfectly formatted HTML anchor tags with custom rel, target, class, and ID attributes.

Open Graph Meta Tag

Generate the perfect Open Graph and Twitter Card HTML meta tags for social media link sharing optimization.

Payment URL

Generate unified deep links to accept payments via PayPal, Venmo, and Cash App.

QR Code Generator

Create custom QR codes with colors, logos, and multiple export formats.

WiFi QR Code

Create a WiFi QR code for your home or business. Guests scan to connect instantly — no password typing needed.

vCard QR Code

Create a vCard QR code for your business cards. Seamlessly share contact info straight to their phone book.

Social Media QR Code

Generate a QR code linked to your Instagram, Twitter, or TikTok.

Payment QR Code

Generate a payment QR code for Venmo, PayPal, or Stripe.

Event QR Code

Generate an iCalendar Event QR code for your invitations.

Location QR Code

Generate a QR code for a physical location mapping.

Email QR Code

Generate a mailto QR code.

Phone Call QR Code

Generate a phone call QR code.

SMS QR Code

Generate an SMS text message QR code.

App Store QR Code

Generate a QR code to link to your app on the App Store or Google Play.

Universal Location & Maps Link

Generate universal smart routing scripts and direct deep links for Google Maps, Apple Maps, and Waze.