You are currently viewing How to Use Facebook URL Parameters with UTMs to Track Your Results in Google Analytics

How to Use Facebook URL Parameters with UTMs to Track Your Results in Google Analytics

Learn how to track Facebook Ads in your Google Analytics account. Measure the impact of your investment outside the Facebook environment.

If you tend to run online campaigns in multiple ad formats with Facebook Ads and generate traffic to your website, then you need to measure the impact of your investment, number of visitors, user time on the page, conversions and other indicators that are outside the environment. Facebook.

For this, it is necessary to have web analytics software. The best known is Google Analytics that you can get a lot of information about the performance data of your website visitors at no additional cost to your company.

What are the benefits of tracking Facebook Ads in Google Analytics?

1 – Have visibility in monitoring

You have all Google Analytics analysis and visitor tracking coming via Facebook Ads and can understand if it is generating traffic for your business.

2 – Increase your return on investment (ROI)

You’ll identify which performance was best used in targeting your ads and adjust the amount you spend to make your budget pay off.

How to add Google Analytics tracking:

See now how to track and track your results obtained by campaigns with Facebook Ads, in 3 steps:

1 – Build your URL for Facebook Ads

Use this link from the Google Analytics URL Builder and reference the tracking parameters to create a custom URL for Google Analytics  as shown in the table below:

Page URL (required): Enter the address (URL) of your website for which you are going to create an ad.
Campaign Source (required): facebook (always in lowercase)
Campaign Medium (required): If your campaign is cpc, cpm or ocpm
Campaign Name (required): Name your Facebook Ads campaign.
Campaign Term: Provide a description of a term used by your target audience.
Campaign Content: Place the ad content.


Important: Google Analytics is case sensitive, so “ utm_source=facebook ” is different from “ utm_source=Facebook ”.

How to implement click-through campaigns on the website

Select the URL text, copy the link and paste when creating the campaign

How to implement in campaigns to boost publication – Promoted Post

You can add URL tracking in the boosted post, under the “Choose Page Post” option, click “ Show advanced options ” and fill in the URL Tags as shown below, with just the end of the tracking URL without the period of interrogation.

In this example for a promoted posts, you can measure both organic and paid ad clicks through the tracking code entered in the advanced settings.

2- Test your URL

Copy the created URL and paste it into your browser. See if it’s linking to the landing page you wanted.

Then go to Google Analytics, if you don’t have it on your site first configure it here in the help center.

If you already have the monitoring of your website in Google Analytics, in the “ Reports ” field, go to “ Acquisition > Campaigns > All campaigns ”. You should see your campaign name.

Note: Make sure you select the “today” field as the date in the chosen period.

3- Track your performance

Once you’ve created a custom URL, you can use Google Analytics in the same way you use it to measure your website’s performance.

Now you can measure results like conversions, sales, form fills, leads and other metrics in addition to the number of clicks coming from your Facebook Ads campaign.