Facebook UTM Builder for Meta Ads

Build UTM tracking links for Facebook and Instagram ads. Auto-populate campaign names, ad set IDs, creative names, and placement macros.

Insert Meta Dynamic Tokens into utm_campaign / utm_content:
Paste your destination URL
⚠️ Please enter a valid URL (e.g. https://domain.com/path)
Quick fill:
utm_source
Enter a source to build this campaign link.
utm_medium
Medium is required (e.g. cpc, email, social).
utm_campaign
utm_term (optional)
utm_content (optional)
utm_id (GA4 campaign identifier)
Dynamic & Custom Query Parameters
UTM Parameter Formatting Standardizes source, medium, campaign, term, content, and campaign ID

Converts UTM values to lowercase for consistent naming. GA4 default channel definitions are not case-sensitive.

Preview: summer-sale-2025
Destination URL Normalization Controls destination web link protocol and query string deduplication

Prepends secure HTTPS protocol if missing from the destination URL.

Removes conflicting utm_* parameters already present in pasted target links.

Apply Settings to Input Fields Apply your active formatting rules directly into the form fields above
LIVE PREVIEW

Generated Campaign URL

Real-time normalized URL with syntax highlighting & validation.

Ready
Your tracked URL will appear here in real-time...
0 chars Standard limit < 2048 chars
GA4 Compatibility 100 / 100
Want to verify in GA4? How to check in GA4 →
DISTRIBUTION

Mobile QR Code

High-resolution vector SVG and PNG for print & outdoor media.

Preview (Blurred)
Instant high-res SVG & PNG

Copy-Ready Facebook UTM Parameters

Paste this string into the URL parameters field under the ad's tracking settings in Meta Ads Manager. Meta fills in the dynamic values when the ad is served:

utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_term={{adset.name}}

Run Instagram-only campaigns with utm_source=instagram so the two platforms stay separate in GA4. For setup details and attribution gaps, read the Meta Ads UTM tracking guide, and if the tags arrive as raw {{tokens}}, use the dynamic parameters troubleshooting guide.

Meta Ads Dynamic URL Parameters - Complete Reference

Meta dynamic parameters use double curly braces {{ }} syntax. They are evaluated when the ad is served, replacing the token with real campaign data. Unlike Google's ValueTrack which uses single braces, Meta uses a different notation that is not URL-encoded at ad creation time.

Dynamic Token Replaced With Best UTM Field
{{campaign.id}}Numeric Campaign IDutm_id
{{campaign.name}}Campaign name as set in Ads Managerutm_campaign
{{adset.id}}Numeric Ad Set IDutm_content
{{adset.name}}Ad Set nameutm_content
{{ad.id}}Numeric Ad IDutm_content
{{ad.name}}Ad name as set in Ads Managerutm_content
{{site_source_name}}fb (Facebook), ig (Instagram), msg (Messenger), an (Audience Network)utm_source or utm_content
{{placement}}Specific placement type (e.g. feed, story, reels)utm_content

Where to Add UTM Parameters in Meta Ads Manager

⚠️ Critical: Use the URL Parameters Field, NOT the Destination URL

A very common and costly mistake is adding UTM parameters directly to the Final URL / Destination URL field in Meta Ads Manager. For campaigns with multiple placements or dynamic creative, Meta may override or strip parameters added to the Destination URL. Always add UTM parameters using the dedicated URL Parameters field at the ad level.

Step-by-Step: Adding UTMs via URL Parameters Field

  1. In Meta Ads Manager, navigate to the Ad level (not campaign or ad set level)
  2. Scroll to the Destination section and look for URL Parameters
  3. Click "Build a URL Parameter" or paste your tracking string directly
  4. Enter only the query string - do not include the ? or the base URL:
    utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{adset.name}}_{{ad.name}}&utm_id={{campaign.id}}
  5. Meta will preview the combined URL - verify the structure looks correct
  6. Run the Meta pixel helper Chrome extension to confirm UTMs are being sent to your site after publishing

iOS 14 Impact on Meta UTM Attribution

Apple's App Tracking Transparency (ATT) framework introduced with iOS 14 significantly reduced Meta's ability to track users across apps and websites. This directly affects attribution data visible in Meta Ads Manager. UTM parameters remain unaffected - they travel with the URL and are captured server-side by your analytics platform regardless of device privacy settings.

Attribution Data Impact of iOS 14 ATT UTM Parameters Affected?
Meta Ads Manager reporting Reduced - modeled conversions fill gaps No - UTMs still passed in URLs
GA4 Traffic Acquisition (UTM-based) Minimal - UTMs are URL parameters, not cookies Not impacted
Meta Pixel events Limited on iOS 14+ devices without ATT consent N/A - separate tracking system
View-through conversions Severely limited on iOS 14+ N/A - UTMs are click-based only

💡 UTMs + Conversions API = Full Attribution

Combine manual UTM tracking with Meta's Conversions API (CAPI) for a dual-track attribution setup. UTMs provide click-level data in GA4. CAPI provides server-side event data directly to Meta. Together, they give you the most complete picture of ad performance even in a post-iOS 14 world.

Frequently Asked Questions - Meta & Facebook Ads UTM Tracking

Why is my Facebook traffic showing as Direct or Organic Social in GA4?

This happens when UTM parameters are missing from your ad URLs, Meta's in-app browser strips UTM strings, or users land on your page from a saved or shared link without UTMs. Always add UTM parameters to every Meta ad creative. For the in-app browser issue, use the Meta Pixel + UTM combination and consider enabling CAPI for server-side event capture.

Should utm_source be "facebook" or "meta"?

Use a consistent source value such as facebook for Facebook campaigns and instagram for Instagram campaigns. Google's current default channel definitions include source and medium criteria; an unexpected source value does not by itself determine the final channel. Check the current definitions and the other information GA4 receives.

What utm_medium value should I use for Meta paid social campaigns?

Use a consistent medium such as paid_social for paid social campaigns. Google's current definitions also use medium and source information when classifying traffic; check the latest rules and the values GA4 receives. cpc alone does not determine the final channel.

Ready https://...