Facebook Tips & Strategies

How to Track Facebook Ads in Google Analytics

By Spencer Lanoue
October 31, 2025

Running Facebook Ads without tracking their performance in Google Analytics is like flying a plane blindfolded. You know you’re moving forward, but you have no real idea where you’re going or what’s actually working. This guide will show you exactly how to connect the dots by tracking your Facebook Ads in Google Analytics, giving you a clear, complete picture of your return on ad spend and user behavior.

Why You Can't Rely on Facebook Ads Manager Alone

Facebook Ads Manager is great for understanding performance within the Facebook ecosystem. It tells you about impressions, reach, clicks (all), and on-platform conversions. But the moment someone clicks your ad and lands on your website, Facebook's visibility gets fuzzy.

Relying solely on Meta's data gives you an incomplete story for a few key reasons:

  • Attribution Models Differ: Facebook and Google Analytics credit conversions differently. Facebook might take credit for a sale if a user simply saw an ad and converted days later, while Google Analytics typically attributes the conversion to the last click before the sale. This often leads to inflated numbers in Ads Manager.
  • It's a Walled Garden: Facebook only knows what happens on Facebook and Instagram. It can’t tell you how a user from a Facebook ad compares to a user from an organic Google search or an email campaign once they're on your site. Which traffic source leads to more page views, higher average order values, or more newsletter sign-ups? Facebook can't answer that.
  • You Miss the Full User Journey: Maybe a user clicks your Facebook ad, browses your site, leaves, gets a retargeting ad on Google, and then finally buys. Google Analytics can stitch that multi-touch journey together, while Facebook will likely only see its own touchpoint.

By tracking your Facebook campaigns in Google Analytics, you get a single source of truth for all your website traffic. You can directly compare the quality of traffic from every channel and understand how your ads truly contribute to your business goals.

The Secret Ingredient: Understanding UTM Parameters

So, how does Google Analytics know that a visitor came from a specific Facebook ad campaign you’re running? The answer is UTM parameters.

UTM (Urchin Tracking Module) parameters are simple tags you add to the end of your URL. They don't change the destination page, but they feed valuable information directly into Google Analytics. Think of them as informational labels attached to every click.

There are five standard UTM parameters, but for Facebook Ads, you’ll primarily focus on three:

  • utm_source (Required): This identifies where the traffic is coming from. For Facebook ads, this will always be 'facebook'.
  • utm_medium (Required): This identifies the marketing medium. A common convention for paid ads is 'cpc' (cost-per-click) or 'paid_social'. This helps you group all your paid social advertising together.
  • utm_campaign (Required): This is the name of your specific campaign. You should name this something descriptive that matches your campaign name in Ads Manager, like 'summer-sale-2024' or 'free-trial-webinar'.
  • utm_term: Originally for paid keywords in search, some marketers use this to differentiate audiences in a single ad set (e.g., 'lookalike-audience-1pct'). This one is optional.
  • utm_content: This is used to differentiate ads pointing to the same URL within the same campaign. It's incredibly useful for A/B testing ad creatives. For example, 'video-ad-man-holding-product' vs. 'image-ad-lifestyle-shot'.

When someone clicks a URL with these parameters, Google Analytics reads them and neatly categorizes the session, allowing you to see exactly which campaign, ad set, or individual ad drove the traffic and conversions on your site.

Step 1: How to Build Your Tracking URLs

Creating these URLs sounds technical, but it’s surprisingly straightforward. You don't have to string them together by hand. Google provides a free tool for this exact purpose: the Campaign URL Builder.

Let’s walk through building a URL for a fictional e-commerce store called "Lunar Coffee Co." running a campaign for their new cold brew blend.

Using Google's Campaign URL Builder

  1. Go to Google’s Campaign URL Builder.
  2. Fill in the fields with your information:
    • Website URL: The landing page you're sending people to. Example: https://www.lunarcoffee.com/products/cold-brew-blend
    • Campaign Source (utm_source): facebook
    • Campaign Medium (utm_medium): cpc
    • Campaign Name (utm_campaign): Name it something you will easily recognize. Example: cold-brew-launch-aug24
    • Campaign Content (utm_content): Use this to describe the specific ad creative. Example: video-ad-pour

As you fill in the fields, the tool will automatically generate your fully tagged URL at the bottom of the page. It will look something like this:

https://www.lunarcoffee.com/products/cold-brew-blend?utm_source=facebook&,utm_medium=cpc&,utm_campaign=cold-brew-launch-aug24&,utm_content=video-ad-pour

That full URL is what you will use in your Facebook ad.

Best Practices for UTM Naming Conventions

A little bit of planning goes a long way. Disorganized UTM tags can make your data messy and difficult to analyze. Here are a few solid rules to follow:

  • Stay Consistent: Decide on a format and stick with it. If you use 'facebook' for your source, always use 'facebook'. Don't switch to 'Facebook' or 'FB', as Google Analytics will treat them as different sources.
  • Use Lowercase: UTM parameters are case-sensitive. "Facebook" and "facebook" will show up as two separate line items in your reports. Just stick to lowercase for everything to keep it clean.
  • Use Dashes, Not Spaces: Spaces in URLs can cause issues. Use dashes (-) instead of spaces to separate words (e.g., 'summer-sale' instead of 'summer sale').

Step 2: Add Your Tracking URL to Facebook Ads

Now that you have your shiny new tracking URL, it’s time to put it to work inside the Facebook Ads Manager.

The Manual Method (Good for a Few Ads)

This is the most direct way to add your URL. When creating your ad (at the ad level), scroll down to the "Destination" section.

  1. Enter your base URL (e.g., https://www.lunarcoffee.com/products/cold-brew-blend) into the Website URL field.
  2. Find the Build a URL Parameter link just below. Click it.
  3. You can add your parameters manually here, or simply paste the full URL you generated earlier directly into the Website URL field. Putting the full URL in the main field is often the simplest approach.

The Dynamic Method (Best for Scaling and Accuracy)

Manually creating URLs for every single ad can become tedious and leaves room for human error. A much slicker way is to use Facebook’s dynamic URL parameters.

Instead of manually typing your campaign name and ad name, you can use placeholders called "shortcodes" that Facebook will automatically populate with the correct info from your ad setup. This is a game-changer for organization.

At the ad level in the "Destination" section, click Build a URL Parameter. Then, in the "URL Parameters" field at the bottom, you can construct a dynamic string like this:

utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_content={{ad.name}}

Here’s what this does:

  • {{campaign.name}} will automatically pull the name of your campaign from Ads Manager.
  • {{ad.name}} will automatically pull the name of your specific ad.

Now, if you duplicate an ad or campaign, you don’t have to remember to create a new URL. Facebook does the work for you, ensuring your tracking stays perfectly aligned with your Ads Manager structure. This is the professional standard for a reason.

Step 3: Finding Your Facebook Ad Data in Google Analytics 4 (GA4)

Once your ads are running with UTMs, the data will start flowing into GA4. Here's how to find it and make sense of it.

  1. Log into your Google Analytics 4 property.
  2. On the left-hand navigation menu, click Reports.
  3. Under the "Life cycle" section, go to Acquisition >, Traffic acquisition.

By default, this report shows traffic grouped by the "Session default channel group". To see your UTM data, you need to change the primary dimension.

  1. Click the dropdown arrow on the primary dimension button (it will probably say "Session default channel group").
  2. Select Session source / medium.

You’ll now see a list of all your traffic sources. Look for the line item facebook / cpc (or whatever medium you chose). This is all the traffic from your paid Facebook ads!

Now you can analyze the columns to the right, such as:

  • Users: The number of unique people who started a session.
  • Sessions: The total number of sessions initiated. Important for engagement metrics.
  • Engaged sessions: The number of sessions that lasted longer than 10 seconds, had a conversion event, or had at least 2 pageviews. This is a great indicator of traffic quality.
  • Conversions: How many times users completed a conversion event you've set up (e.g., purchase, form_submit, sign_up).

Digging Deeper into Your Campaigns

Seeing facebook / cpc is just the start. You want to see which campaigns and ads are performing the best. To do that, you'll add a secondary dimension.

  1. In the same report, click the blue "+" icon next to the primary dimension dropdown.
  2. In the search box, type "campaign" and select Session campaign.

The report will now show you a breakdown of performance by each campaign, allowing you to directly compare cold-brew-launch-aug24 against other campaigns. You can do the same thing by adding "Session manual ad content" as a secondary dimension to see which ad creative (video-ad-pour in our example) is driving the best results.

By comparing metrics like engagement rate and conversion rate across different campaigns and ad creatives, you’ll know exactly where to allocate your budget for the best ROI. You're no longer guessing, you're making data-driven decisions based on a full-funnel view of user behavior.

Final Thoughts

Connecting your Facebook Ads to Google Analytics using UTM parameters transforms your marketing data from a partial sketch into a complete picture. It empowers you to move beyond Facebook's native metrics and understand precisely how your social ad spend translates into meaningful business outcomes on your website.

As you get more sophisticated with tracking, you’ll find that a clean, organized social media workflow is essential. If you’re juggling multiple platforms, creating content, and trying to stay on top of a packed calendar, all of these tracking efforts quickly become overwhelming. That's actually why we built Postbase. We designed a simple, modern social media management tool to streamline the first part of the equation - planning, scheduling, and engaging - so you can spend more time on high-value tasks like analyzing the very data this guide shows you how to collect.

Spencer's spent a decade building products at companies like Buffer, UserTesting, and Bump Health. He's spent years in the weeds of social media management—scheduling posts, analyzing performance, coordinating teams. At Postbase, he's building tools to automate the busywork so you can focus on creating great content.

Other posts you might like

How to Add Social Media Icons to an Email Signature

Enhance your email signature by adding social media icons. Discover step-by-step instructions to turn every email into a powerful marketing tool.

Read more

How to Add an Etsy Link to Pinterest

Learn how to add your Etsy link to Pinterest and drive traffic to your shop. Discover strategies to create converting pins and turn browsers into customers.

Read more

How to Grant Access to Facebook Business Manager

Grant access to your Facebook Business Manager securely. Follow our step-by-step guide to add users and assign permissions without sharing your password.

Read more

How to Record Audio for Instagram Reels

Record clear audio for Instagram Reels with this guide. Learn actionable steps to create professional-sounding audio, using just your phone or upgraded gear.

Read more

How to Add Translation in an Instagram Post

Add translations to Instagram posts and connect globally. Learn manual techniques and discover Instagram's automatic translation features in this guide.

Read more

How to Optimize Facebook for Business

Optimize your Facebook Business Page for growth and sales with strategic tweaks. Learn to engage your community, create captivating content, and refine strategies.

Read more

Stop wrestling with outdated social media tools

Wrestling with social media? It doesn’t have to be this hard. Plan your content, schedule posts, respond to comments, and analyze performance — all in one simple, easy-to-use tool.

Schedule your first post
The simplest way to manage your social media
Rating