Skip to content
Daily Marketer

Home › UTM Builder

UTM parameters for Facebook and Instagram ads

Use utm_source=facebook and utm_medium=paid_social so GA4 files Meta ads as Paid Social, and let Meta fill in campaign, ad set and ad names automatically.

How to use it
  1. Paste your landing page URL, or a tagged link you want to edit.
  2. Pick a preset to fill source and medium, then name your campaign.
  3. Check the GA4 channel. If it says Unassigned, fix the medium.
  4. Copy the link, or switch to Bulk to tag many URLs and download a CSV.
Guide: Why GA4 counts paid social as organicRuns in your browser

Use the tool

Preset

Fills source and medium
Where the traffic comes from.
The type of traffic, e.g. cpc or email.
Tells ads or links apart.
Keyword or audience.
Needed to import cost data into GA4.

Naming rules

Letter case
Spaces become

GA4 treats "Facebook" and "facebook" as different sources, so lowercase keeps your reports from splitting. Dynamic values like {{campaign.name}} are never changed.

Recommended setup

ParameterValueWhy
utm_sourcefacebook (or instagram)Matches GA4's list of social sources
utm_mediumpaid_socialMatches GA4's paid pattern, so it lands in Paid Social
utm_campaign{{campaign.name}}Meta fills in the campaign name on click
utm_term{{adset.name}}Ad set name
utm_content{{ad.name}}Ad name, so you can compare creative
utm_id{{campaign.id}}Campaign ID, useful if names change

Meta also supports {{site_source_name}} and {{placement}} if you want to see Facebook versus Instagram, or Feed versus Reels, in GA4. Add the parameters in the ad's URL parameters field rather than on the website URL itself, so they apply cleanly.

Using utm_medium=social or facebook_ads instead is the most common reason paid Meta traffic shows up as Organic Social. The GA4 paid social guide explains the rule.

Open it set up for a specific job

Next steps

Questions

Should I use facebook or instagram as the source?

Either is recognized by GA4 as social. Many teams use facebook for all Meta ads and break out platforms with {{site_source_name}}.

Do dynamic values work in GA4?

Yes. Meta replaces them with the real names when someone clicks, so GA4 receives plain text.