How to Use UTM Parameters in Google Ads and Facebook Ads (Track Every Ad Click)
You run a Google Ads campaign and a Facebook ad at the same time, and a week later your analytics shows 2,000 visits — but it cannot tell you which ad brought a single one. Without tagging, every paid click collapses into one vague bucket and every budget decision becomes a guess. UTM parameters fix that: five small tags you add to your ad links so Google Analytics can report exactly which ad did the work.
Why UTM tagging matters most for paid ads
Paid traffic costs real money every single day, so it is the traffic you most need to measure. A campaign that looks successful on clicks can be a failure on sales, and a quiet one can bring your best customers. UTM tags are what let you tell the two apart.
There is a second reason, specific to ads. Google Ads and Facebook each report their own numbers inside their own dashboards, and those numbers rarely match Google Analytics. Ad platforms count clicks; analytics counts sessions. UTM parameters give you one consistent set of labels inside Google Analytics, so you can compare a Google campaign and a Facebook campaign side by side — visits, conversions and revenue — instead of trusting two dashboards that measure different things.
The five UTM parameters, briefly
Five parameters are appended to a URL after a question mark, in the form key=value. Our UTM parameters explained guide covers each one in depth; the short version is:
- utm_source — where the traffic came from: google, facebook, instagram.
- utm_medium — how it arrived: cpc for paid clicks, social for organic social.
- utm_campaign — which campaign it belongs to: summer_sale, product_launch.
- utm_term — which paid-search keyword triggered the click (Google search ads).
- utm_content — which ad variant or creative the click came from, for example ad_a versus ad_b.
For paid ads, source, medium and campaign are essential; term matters for Google search ads, and content lets you compare creatives.
Method 1: Build the tagged link in your browser (fastest)
Typing UTM parameters by hand invites errors: a missing underscore, a capital letter, or a space that breaks the link. A builder enforces consistency automatically. The free UTM URL Builder runs entirely in your browser, so your campaign URLs never leave your device. Here is how to use it for an ad:
- Paste your destination URL.
- Set utm_source to google for a Google Ads link, or facebook for a Facebook ad.
- Set utm_medium to cpc. This is the standard value for paid clicks, and it is what keeps paid traffic separate from organic social traffic in your reports.
- Set utm_campaign to your campaign name, in lowercase with underscores, for example summer_sale.
- For a Google search ad, add utm_term with the keyword the ad targets. For any ad with more than one creative, add utm_content with the creative name, for example carousel_a.
- Copy the finished URL — the builder encodes special characters correctly.
For example: https://yourstore.com/sale?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale&utm_term=running_shoes&utm_content=ad_a
Method 2: Tag a Google Ads campaign
The simplest option is to paste the full tagged URL as the ad’s final URL. The better way for search campaigns is a tracking template, which tags every ad in the campaign at once:
- In Google Ads, open the campaign, then Settings, then Campaign URL options.
- In the tracking template field, paste a template such as: {lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}
- Save, and Google Ads fills in the campaign ID, keyword and creative automatically for every click.
Google Ads can fill utm_term with the keyword that actually triggered the ad — far more useful than a fixed value you typed once. For Performance Max or Display campaigns, where there is no keyword, leave utm_term out and rely on utm_content.
One thing to check: if your landing page already has a question mark in its URL, your tags must be joined with an ampersand, not a second question mark. The builder handles this for you.
Method 3: Tag a Facebook Ads campaign
Facebook does not have Google’s tracking templates, but it does have a URL parameters field, and it is the right place for your tags:
- In Ads Manager, open the ad and scroll to the Website URL section.
- Click “Build a URL Parameter” under the destination URL.
- Add your parameters one by one: utm_source=facebook, utm_medium=cpc, utm_campaign=summer_sale, utm_content=carousel_a.
- Facebook appends them to the destination URL automatically.
If you run the same campaign on Instagram, set utm_source to instagram for those placements, so the two audiences stay separate in your reports. The medium stays cpc for both.
Two warnings. First, Facebook sometimes shortens or rewrites links — always open the live ad and confirm the tags survived in the address bar. Second, never use the same utm_campaign value for a Facebook campaign and a Google campaign: both called summer_sale would merge into one row in GA4. Use summer_sale_google and summer_sale_facebook instead.
Where to see your ad data in GA4
In GA4, open Reports, then Acquisition, then Traffic acquisition. Change the dimension to Session source / medium to see google / cpc and facebook / cpc as separate rows, or to Session campaign to compare campaigns.
Common mistakes — and what to do
- Using the same campaign name on Google and Facebook: The two campaigns merge into one row in GA4. Give each platform its own name.
- Tagging with uppercase values: Google and google are two different sources in GA4. Use lowercase everywhere, every time.
- Forgetting utm_content: You will know the campaign worked but never which creative did it. Tag every creative.
- Tagging organic posts like ads: An organic Facebook post should use utm_medium=social, not cpc, or paid and free traffic mix together.
- Using utm_term on Facebook ads: Facebook has no search keywords, so utm_term there is meaningless. Use utm_content for creatives instead.
- Never testing the link: Open the finished URL in a private browser window before the campaign goes live — a typo wastes the entire ad spend.
Frequently asked questions
What are UTM parameters for paid ads?
UTM parameters are five tags added to an ad’s destination URL so Google Analytics can report exactly which platform, campaign, keyword and creative each paid click came from.
Do I need UTM parameters if Google Ads and Facebook already track clicks?
Yes. Ad platforms report their own clicks, but only UTM tags let you compare Google and Facebook campaigns side by side in Google Analytics and see which ads actually turned into sales.
Where do I add UTM parameters in Google Ads?
Paste the full tagged URL as the ad’s final URL, or use a tracking template in the campaign’s URL options. For search campaigns, let Google fill in utm_term with the keyword that triggered the ad.
Where do I add UTM parameters in Facebook Ads?
In Ads Manager, open the ad and use the “Build a URL Parameter” field under the Website URL. Add utm_source=facebook, utm_medium=cpc, your campaign name and a utm_content value for the creative.
Why do my UTM campaigns not show in Google Analytics?
The usual causes are a typo in a parameter name, uppercase values that split one campaign into two rows, or the link never being tagged at all. Click your own live ad and check the tags in the address bar, and allow up to a day for data to appear in GA4.
The short answer
Add utm_source, utm_medium and utm_campaign to every ad link — google or facebook as the source, cpc as the medium, a distinct campaign name per platform — then add utm_term for Google search keywords and utm_content for each creative. Build the links with the free UTM URL Builder and read the results in GA4 under Traffic acquisition.