How to Track Facebook Page with Google Analytics

Cody Schneider7 min read

Trying to measure your Facebook Page's performance inside Google Analytics can feel like you're missing a piece of the puzzle. You know you're driving traffic from Facebook to your website, but GA reports often just show it as generic "facebook.com / referral" traffic. This article will show you exactly how to connect the dots using UTM parameters so you can see which specific posts and campaigns are actually driving results.

GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

Why Google Analytics Doesn't Automatically Track Your Facebook Posts

Google Analytics is incredibly powerful, but it can only track websites where you can install its tracking code. Since you don't own Facebook, you can't put your GA tracking snippet on your Facebook Page.

When a user clicks a standard link on your Facebook Page and lands on your website, Google Analytics sees that the visitor came from "facebook.com." This is helpful, but it’s incomplete. GA doesn't know:

  • Which specific Facebook post the person clicked.
  • If the click came from your bio link, a comment, or an image description.
  • If the traffic was part of a specific marketing campaign, like your summer sale or new product launch.

Without this information, it's impossible to know what content is resonating with your audience and driving meaningful actions like sales or sign-ups. All you know is that something on Facebook is working. To get the full story, you need to manually add tracking information to your links.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

The Solution: Adding UTM Parameters to Your Links

UTM parameters are the key to unlocking detailed Facebook tracking in Google Analytics. UTM stands for "Urchin Tracking Module" - a name left over from the analytics company Google acquired to build Google Analytics. In simple terms, they are small snippets of text you add to the end of a URL to "tag" the traffic coming from that link.

When someone clicks a URL with UTMs, those tags are passed along to Google Analytics, giving you a detailed breakdown of where that visitor came from and how they found you.

There are five standard UTM parameters, but for tracking your organic Facebook posts, you only need to focus on three:

  • utm_source: This identifies the source of your traffic. For Facebook, you'd simply use facebook.
  • utm_medium: This describes the marketing medium. A common choice for organic social media is social or social-organic.
  • utm_campaign: This identifies the specific campaign, contest, or promotion. Be descriptive here, like summer-sale-2024 or new-blog-post-announcement.

By combining these three tags, you can create a detailed record of every click you get from your Facebook Page.

How to Create UTM-Tagged URLs for Facebook

While you could type out UTM parameters by hand, it's easy to make a typo and break your tracking. The easiest and safest way to build these URLs is with Google's Campaign URL Builder tool. It's a free web form that does the hard work for you.

Here’s a step-by-step guide to creating your first tagged link.

Step 1: Open Google’s Campaign URL Builder

Head over to the Campaign URL Builder for GA4. You’ll see a simple form to fill out.

Step 2: Enter Your Website URL

In the first field, "Website URL," paste the full URL of the landing page you want to send traffic to. This could be a blog post, a product page, or your homepage.

Example: https://www.yourstore.com/new-product-launch

Step 3: Fill in the UTM Parameters

Now, fill in the source, medium, and campaign fields. Remember, consistency is important here!

  • campaign_source: facebook Tip: Always use lowercase to avoid splitting your data into "facebook" and "Facebook" in your reports.
  • campaign_medium: social-organic Using a specific medium like this helps Google Analytics properly categorize the traffic in its default channel reports. "Social" also works great.
  • campaign_name: q3_sunglasses_promo Make this descriptive enough that you’ll know what it means when you see it in a report six months from now. Use underscores or hyphens instead of spaces.

Step 4: Copy Your New Campaign URL

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

https://www.yourstore.com/new-product-launch?utm_source=facebook&utm_medium=social-organic&utm_campaign=q3_sunglasses_promo

This long, funny-looking URL is what you'll use in your Facebook post. It contains all the tracking information Google Analytics needs.

GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

Step 5: Optional Step: Shorten Your URL

That new URL is long and can look a bit messy in a Facebook post. For a cleaner look, you can use a free URL shortening service like Bitly or TinyURL. Just paste your long campaign URL into the shortener, and it will give you a shorter, more shareable version.

Now you're ready to use this link anywhere on your Facebook page - in a post, your profile bio, a story, or even in a Messenger reply.

How to Find Your Facebook Campaign Data in Google Analytics 4

Once you start using your tagged URLs and traffic begins flowing, you can see the results of your hard work directly inside GA4.

Follow these steps to find your reports:

  1. Log into your Google Analytics 4 property.
  2. On the left-hand menu, navigate to Reports > Acquisition > Traffic acquisition.
  3. This report defaults to showing traffic by Session default channel group. You'll see a broad overview of channels like "Organic Social," "Direct," and "Organic Search."
  4. To see the utm_source and utm_medium tags you created, click the small dropdown arrow above the first column of the table (it will say Session default channel group). Select Session source / medium from the list.

Right away, you should see a row for facebook / social-organic (or whatever you used for your tags). This confirms that GA4 is properly receiving your tagged traffic.

To view your campaign performance:

  1. With the Session source / medium dimension selected, click the blue + sign next to the column heading to add a secondary dimension.
  2. In the search box that appears, type "campaign" and select Session campaign.

The report will now show you your campaign names, linking the traffic directly to the campaigns you defined in your UTM parameters. You can analyze metrics like Users, Sessions, Engaged sessions, and Conversions for each Facebook campaign, giving you a clear picture of what's working and what isn't.

Best Practices for Flawless Facebook Tracking

UTM tagging is straightforward, but small mistakes can lead to messy data. Follow these simple rules to keep your tracking accurate and organized.

1. Be Consistent with Naming

Google Analytics is case-sensitive. Facebook, facebook, and FB will all be reported as separate traffic sources. Decide on a naming convention and stick with it. Using lowercase for everything is a good rule of thumb.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

2. Create a UTM Tracking Spreadsheet

As you create more campaigns, it's easy to forget which names you've used. A simple spreadsheet (in Google Sheets or Excel) can act as a single source of truth for your team. Create columns for Date, Landing Page URL, Campaign Name, Source, Medium, and the Final Generated URL.

3. Use Descriptive Campaign Names

Avoid generic campaign names like post1 or link. A month from now, you’ll have no idea what that means. Use names that are informative, such as fall_2024_ebook_launch or july_blog_post_promo.

4. Never Use UTMs for Internal Links

Never use UTM tags on links that point from one page of your website to another. Doing so will overwrite the original source data, making it look like your visitors came from an internal campaign instead of their true source (like organic search or a social media post). UTMs are only for external inbound traffic.

Final Thoughts

Connecting your Facebook Page's performance to Google Analytics is all about giving GA the data it needs to work with. By consistently using UTM-tagged URLs in your posts, you transform your Analytics from a vague overview into a powerful tool for measuring the direct impact of your social media efforts.

As you get started, you'll find that manually building and organizing these links for platforms like Facebook, Google Ads, and Klaviyo can still be time-consuming. At Graphed, we automate all of this tedious work. We connect directly to your data sources and pull all your marketing and sales data into one place, so you can just ask questions in plain English to build real-time dashboards. This way, you spend your time acting on insights instead of just gathering them.

Related Articles