Facebook data source
- Inside the admin panel click Add Data Source.
- Choose Facebook from the list.
- Click Authenticate with Facebook and go through the authentication flow.
- Select accounts which cost data you would like to import.
- Click Save.
Supported dynamic URL parameters
By default Facebook allows to use a lot of dynamic URL tagging parameters to track campaigns.
SegmentStream supports the following parameters:
||The unique ID of the ad.|
||The unique ID of the ad set. An ad set is a group of ads that share the same budget, schedule, delivery optimization and targeting.|
||The unique ID number of the ad campaign. A campaign contains ad sets and ads.|
||The name of the ad|
||The name of the ad set. An ad set is a group of ads that share the same budget, schedule, delivery optimization and targeting.|
||The name of the ad campaign. A campaign contains ad sets and ads.|
||Depending on where the ad appeared this parameter has four possible values.
||Depending on where the ad appeared this parameter has possible values.
Facebook allows running ads that do not lead directly to your website (for example Facebook page promo, Facebook post promo, events promo, etc). This means that these types of campaigns can not have UTM-params and it is not possible to import them into Google Analytics due to limitations that require all imported costs to have campaign source and medium defined.
As a workaround, you can define default UTM-source and UTM-medium for your Facebook data source to see costs for these campaigns inside your Google Analytics account.
This document was last updated on August 17, 2020. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, please let us know!