How to Connect Google Analytics to Facebook

How to Connect Google Analytics to Facebook (Easiest Way)

Want to learn how to connect Google Analytics to Facebook, and track website traffic from Facebook?

When you set up Google Analytics Facebook tracking, you can see how many users come to your website from Facebook, how much time they spend there, what pages they visit, and more.

Plus, if you run Meta (Facebook) Ads, you can track conversions from your ads to see if they’re worth the cost.

All of this data is crucial to optimizing your site for more traffic and conversions from Facebook and beyond.

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

In this article, we’ll show you how to easily track website traffic and ad conversions from Facebook in Google Analytics. Plus, we’ll take a look at all the different ways you can connect Facebook, your website, and Google Analytics.

Google Analytics + Facebook Video Tutorial

What Happens When You Connect Google Analytics to Facebook?

You want to track website traffic from Facebook in Google Analytics so you can see what’s happening once people land on your website from Facebook. This is in addition to viewing Facebook Insights to see what people are doing while on your Facebook page.

With over 1.9 billion daily active users, Facebook is an ideal place to reach a wide audience base that is sure to be interested in what you have to offer. However, since Facebook shifted to focus more on family and friends, businesses have found that reaching their target audience on Facebook is harder than ever.

As a result, tracking user behavior becomes even more important if you want to capitalize on the reach potential Facebook has.

Facebook Insights

Facebook Insights focuses on activity that happens on your Facebook page (and your Instagram profile, if you have one):

  • Reach
  • Page likes
  • Demographics of your followers
  • Interactions

But what about what happens after a Facebook user clicks on a link and lands on your website?

Without knowing what your Facebook audience is doing once they visit your website, you can’t possibly know whether your content marketing efforts are working.

That’s why you must connect Google Analytics to Facebook and track website traffic from Facebook.

How to Connect Google Analytics to Facebook

First of all, if you don’t have Google Analytics yet, you’ll need to get that set up. If you need help, follow our tutorial.

Is your site on WordPress? Make sure to check out How to Add Google Analytics to WordPress the Right Way.

Once you have Google Analytics set up, you’re in luck, because that’s all you have to do!

There’s no special thing you need to do to connect Google Analytics to Facebook – Analytics will track all your Facebook traffic automatically (unless you need to track Facebook Ads).

However, there are still a few things you’ll need to know:

  1. How to find your Facebook traffic reports in Google Analytics
  2. A really neat way to categorize your Facebook traffic and keep track of specific campaigns
  3. How WordPress users can see Facebook visits in their dashboard

We’ll start by looking at how to find and report on your organic Facebook traffic in Google Analytics. Looking for how to track conversions from your Meta ads? Check out How to Track Facebook Ads in Google Analytics (the Easy Way).

How to Track Website Traffic From Facebook

Google Analytics automatically tracks your Facebook traffic, but where can you find it in your reports?

1. Find Facebook Traffic in Google Analytics

Let’s take a look at which Google Analytics reports you’ll need to track website traffic from Facebook.

Traffic Acquisition Report

The quickest way to track your website traffic from Facebook is with the traffic acquisition report.

In Google Analytics 4, find the report by navigating to Reports » Acquisition » Traffic acquisition:

Traffic Acquisition Report in GA4

Then, scroll down to the table. You’ll see one channel called Organic Social – this is where traffic from social media, including Facebook, will be grouped.

Organic Social GA4 Traffic Acquisition

To drill down to just your Facebook traffic, click the blue plus sign to add a secondary dimension to your table:

Add medium to session acquisition table

Then, navigate to Traffic Source and choose Session source:

Traffic source - session source GA4

Now, locate the Search bar and type in “facebook“:

Search bar-ga4

Now, you’ll have a report that includes just your Facebook traffic. Make sure to scroll to the right to find more metrics like average engagement time per session, engagement rate, conversions, and revenue.

Connect Google Analytics to Facebook - GA4 Report

GA4 Custom Report

Creating a custom exploration report in Google Analytics 4 is intimidating at first, but follow our step-by-step tutorial below and you’ll have a really helpful, in-depth Facebook traffic report that you’ll refer to all the time. You only have to create it once!

Let’s dive in.

First, open GA4 and navigate to the Explore tab. Click to create a Blank report:

Blank GA4 report

Now, name your report something meaningful, then click the plus sign in the Dimensions area:

Track website traffic from Facebook - Add dimensions

On the selection screen that comes up, search for, select and import the Session source and Landing page dimensions:

Import the landing page dimension into GA4

Now, click the plus sign in the Metrics area:

Add Metrics to GA4 custom report

Search for, select and import all of the following metrics:

  • Sessions
  • Engaged sessions
  • Engagement rate
  • Average engagement time per session
  • Conversions
  • Revenue (optional – for eCommerce stores)

Import sessions to custom report

Next, click and drag the Landing page metric over into the Rows box. At this step, you can also use the Show rows dropdown to make your report show you more than the top 10 results:

Drag landing page to rows

Then, click and drag all of your Metrics over into the Values box:

Move metrics to the values box

Finally, click and drag Session source down into the Filters box. In the dropdown, choose contains and then type in facebook, then click Apply:

Track website traffic from Facebook - custom report filter

That’s it! You now have a pretty comprehensive report about your Facebook traffic.

Facebook landing pages report

Since the report is totally customizable, you could add anything to it that makes sense for your website. Maybe you’re hoping your visitors from Facebook fill out your forms. In that case, you could add Event as a metric, put it in the Values box, and also drag it into Filters to choose the form event.

2. Use Campaigns

Campaigns are a way to categorize your traffic in Google Analytics in a really cool, helpful way.

To use campaigns, you’ll just create a link with some extra code on it (called UTM parameters) to share in your posts. Those links look something like this:

Then, you can run reports in Google Analytics that include those bits of code (parameters) to categorize your traffic.

Email campaign reporting in GA4

For more on how to use campaigns, check out A Beginners Guide to UTM Parameters (And How to Use Them).

3. WordPress Dashboard

WordPress users, did you know there’s an easy way to see visits from Facebook right in your WordPress dashboard?

Just install the MonsterInsights plugin.

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to easily connect your WordPress site with Google Analytics (both Universal Analytics and GA4), so you can view all the data that matters most right in your WordPress dashboard.

MonsterInsights Home Dashboard

Plus, with the click of a button, you can set up sophisticated tracking features such as event tracking, eCommerce tracking, form tracking, custom dimension tracking, outbound link tracking, and more.

Once you install MonsterInsights, you’ll find a Top 10 Referrals report right inside your WordPress dashboard. Since traffic from Facebook is categorized as referral traffic, you’ll see it there:

Social referrals

To get started, grab your copy of MonsterInsights on our Pricing page. If you aren’t sure you need all of the best features right away, you’ll be able to take advantage of the Top 10 Referrals report with MonsterInsights Lite.

That’s it! We hope you learned all about how to track Facebook traffic with Google Analytics.

If you liked this post, we think you might also like A Complete Guide to GA4 Conversion Tracking for WordPress.

Not using MonsterInsights yet? What are you waiting for?

And don’t forget to follow us on Twitter, Facebook and YouTube for more helpful reviews, tutorials, and Google Analytics tips.

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.