How to setup a data import for Facebook Ads

  1. Go to setup to be able to connect an account
  2. Then click on Facebook to view all Ad Accounts connected, as well as be able to connect a new account
  3. Click on “Add New Account”
  4. Select the Business Manager and then the Facebook Ad account you want to connect and save.

Create a Data Import

  1. While still logged in, go to “Google Analytics Data Import
  2. Click on “New Data Import”
  3. Enter a name for the Data Import you’re creating
  4. Source: The Facebook Ad Account you want to send the cost data from
  5. Destination: The Google Analytics property you want to send the data to
  6. Data Set: The data set you created specifically for your Facebook Ads cost data
  7. Click “Save”

Setup Your UTM Tags in Facebook

When you look into your ad details, you will see a section called Tracking, where you’ll see a field called URL Parameters ∙ Optional.

We currently only support the following Dynamic Parameters to be used for the UTM parameters for Source, Medium, Campaign, or Content (with plans to support the rest):

  • {{ad.id}}
  • {{adset.id}}
  • {{campaign.id}}
  • {{ad.name}}
  • {{adset.name}}
  • {{campaign.name}}

We’ve included below a UTM parameter structure to get you started. Just copy & paste the code below for all your Facebook ads.

utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}_{{adset.name}}&utm_content={{ad.name}}&utm_term={{placement}}&utm_id={{campaign.id}}

And for all your Instagram ads:

utm_source=instagram&utm_medium=paid_social&utm_campaign={{campaign.name}}_{{adset.name}}&utm_content={{ad.name}}&utm_term={{placement}}&utm_id={{campaign.id}}

If you’d like to customize the UTM parameter structure, see the documentation here which shows all the available variables Facebook has available.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us