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 to 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 2.09 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 Facebook’s reach potential.

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, 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? The easiest way to connect Facebook, WordPress, and Google Analytics is with MonsterInsights.

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to easily connect your WordPress site with Google Analytics (and Facebook) to view all the data that matters most right inside your WordPress dashboard.

MonsterInsights Home Dashboard

Plus, with a couple of clicks, you can set up extra tracking features that don’t come out of the box with Google Analytics, such as event tracking, eCommerce tracking, form tracking, custom dimension tracking, outbound link tracking, and more.

Using MonsterInsights Plus or above, you’ll see your Facebook traffic directly inside your WordPress dashboard:

MonsterInsights Social Media Report

Plus, you’ll be able to install your Facebook (Meta) pixel without touching any code:

PPC Ads Tracking - Meta

Get started with MonsterInsights now!

Once you have Google Analytics set up, you’re ready to go. There’s no other 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

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, 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. 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

Using WordPress? Quickly and easily find your Facebook traffic right inside your WordPress dashboard with MonsterInsights:

MonsterInsights Social Media Report

Google Analytics 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 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 create a link with some extra code bits (called UTM parameters) to share in your posts. Those links look something like this:

http://www.yoursite.com/cool-blog-post/?utm_source=facebook&utm_medium=infographic_share&utm_campaign=q4_2022

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 using campaigns, check out A Beginners Guide to UTM Parameters (And How to Use Them).

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.