Format your FB ads data for upload to GA
1 | fb_ads_ga_format(fb_ads_df, utm_medium, utm_source)
|
fb_ads_df |
The data frame of advertisting data from Facebook |
utm_medium |
The medium of the campaign, this should match the values you set in your UTM codes in the URLs in the Facebook ads |
utm_source |
The source of the campaign, this should match the values you set in your UTM codes in the URLs in the Facebook ads |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.