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.
All of this data is crucial to optimizing your site for more traffic and conversions from Facebook and beyond.
In this article, we’ll show you how to easily track website traffic 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.
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 focuses on activity that happens on your Facebook page (and your Instagram profile, if you have one):
- Page likes
- Demographics of your followers
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:
- How to find your Facebook traffic reports in Google Analytics
- A really neat way to categorize your Facebook traffic and keep track of specific campaigns
- How WordPress users can see Facebook visits in their dashboard
We’ll start by looking at how to find and report on your Facebook traffic in Google Analytics.
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:
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.
To drill down to just your Facebook traffic, click the blue plus sign to add a secondary dimension to your table:
Then, navigate to Traffic Source and choose Session source:
Now, locate the Search bar and type in “facebook“:
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.
In Universal Analytics, go to Acquisition » All Traffic » Channels in your Google Analytics account.
Click on Social to see a breakdown of social media networks bringing traffic to your site, including Facebook.
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:
Now, name your report something meaningful, then click the plus sign in the Dimensions area:
On the selection screen that comes up, search for, select and import the Session source and Landing page dimensions:
Now, click the plus sign in the Metrics area:
Search for, select and import all of the following metrics:
- Engaged sessions
- Engagement rate
- Average engagement time per session
- Revenue (optional – for eCommerce stores)
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:
Then, click and drag all of your Metrics over into 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:
That’s it! You now have a pretty comprehensive report about your Facebook traffic.
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.
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.
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:
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?