Analytics

Using Google Sheets to Scale Your Facebook Ads UTMs

Fedbruary-General-Office-Photography_43-e1658752121738

UTMs are URL parameters that allow you to tag traffic that visits your website through a particular link – performance data for a UTM set can then be analysed within Google Analytics. And with iOS 14 – arguably, it has never been more important to be using campaign tags for your Facebook Ads activity.

However, with complex ad account structures and the number of individual ads easily reaching the hundreds, producing unique UTMs at scale is a lengthy process. With a few formulas in Google Sheets – we can make this process a breeze.

Step 1:

To get started, go to Facebook Ads, select the campaigns to build UTMs and click export > Export as CSV.

Step 2:

Create a copy of the Google Sheet builder. File > Make a copy.

Step 3:

Import the CSV exported from Facebook Ads. Select the ‘Import’ tab and then click File > Import. Select ‘Upload’ and drag across the CSV.

Change the Import location to Replace Current Sheet and click Import.

Step 4:

With the ad structure imported, switch to the reference tab. You should then see a breakdown of the account structure across Campaigns, Ad Sets and Ads.

For each entry returned, add a value in the shortcode column.

Campaign shortcodes will populate utm_campaign, Ad Set and Ad shortcodes will populate utm_content, split by ‘—-’. Ensure only valid HTML characters are used.

Step 5:

After adding all shortcodes, the next step is to update the structure in the Import tab.

Copy cell F4 within the References tab. Note the column referenced in D4.

Now go to the Import tab, and scroll to the column referenced in D4. Select the second row in the column, press ‘=’ to activate the cell and then press CMD+V or CTRL+V (you must paste using this method or it will not function properly).

Using the blue marquee, drag the formula to cover all rows.

Step 6:

Go to File > Download > CSV to export the adjusted structure to Facebook Ads.

Step 7:

Re-import the exported file back to Facebook Ads.

And that’s it – super simple. You’ll now be able to track and analyse your Facebook Ads at a granular level.

Here’s an example of how we have utilised this additional level of data – performance analysis across targeting through effective naming.

If you’d like us to help you with tracking and improving your paid social performance, get in touch today!

Using Google Sheets to Scale Your Facebook Ads UTMs

We don’t want briefs.
We want problems.
That’s where the magic happens.

StrategiQ Full Awards List
2024
UK Dev Awards
Rising Star
UK Dev Awards
Fintech Website
UK Dev Awards
Third Sector Website
Campaign Best Places to Work
26/100
UK Dev Awards
Retail/Ecommerce Website
UK Company Culture Awards
Best HR Tool
Sunday Times' 100 Best Places to Work
Small Organisations Category
2023
UK Dev Awards
Best Third Sector Website
UK Dev Awards
UX Award for StrategiQ
UK Paid Media Awards
Best Use of Linkedin Ads
UK Paid Media Awards
Paid Media Agency Led Campaign Of The Year
European Paid Media Awards
Best Use of Linkedin Ads
UK Agency Awards
Best Culture Transformation Initiative
UK Search Awards
Best Use of Search (Travel)
Social Media Awards
Best Use of Instagram
Social Media Awards
Best Use of Linkedin
Social Media Awards
Best Audience Engagement Campaign
DEVELOPHerAWARDS
Emerging Talent
UK Search Awards
Best Use of Search
2022
Elite Agency
Campaign Best Places to Work
Winner Top 50
UK Dev Awards
Project of the Year
UK Dev Awards
Travel Website of the Year
UK Dev Awards
Best Site Migration
UK Dev Awards
B2B Website of the Year
UK Paid Media Awards
Local Campaign of the Year
UK Paid Media Awards
Best Use of Attribution
UK Search Awards
Best Local Campaign (PPC) (LARGE)
UK Search Awards
Travel / Leisure (PPC) (LARGE)
UK Search Awards
Retail / Ecommerce (SEO) (LARGE)
The Drum Awards
Best Business Development Initiative
2021
UK Dev Awards
Best Migration
Campaign Best Places to Work
Winner Top 50
UK Agency Awards
Covid Response (Silver)
UK Agency Awards
Campaign Effectiveness Award (Silver)
UK Search Awards
Best Use of Search Third Sector (Silver)
UK Search Awards
Best Use of Content Marketing (Silver)
UK Search Awards
Best Large SEO Campaign
2020
Campaign Best Places to Work
Winner Top 50
Suffolk Business Awards
Business of the Year
Suffolk Business Awards
Small & Medium Business of the Year
2019
DXA Awards
Best PPC Strategy with Powertool World
Suffolk Business Awards
Best Employer
2018
Best Employers Eastern Region
Best Digital & Technology Business
UK Search Awards
Best Small Integrated Search Agency
2016
EADT Business Awards
One To Watch Award
Read
Play
Hover