{"_id":"562991625767560d005e5144","githubsync":"","user":"560c92f2ac2859170013faa3","project":"560c93ad7e9b9d0d00ca81a2","__v":1,"category":{"_id":"560d86e099bb5a0d0044f32e","project":"560c93ad7e9b9d0d00ca81a2","pages":["560d8a221ec4561900606a15","560da417f55b7a2100dc7139","562991625767560d005e5144"],"version":"560c93ae7e9b9d0d00ca81a5","__v":3,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-01T19:17:52.036Z","from_sync":false,"order":1,"slug":"spend-tracking-integrations","title":"Spend Tracking Integrations"},"version":{"_id":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","__v":9,"createdAt":"2015-10-01T02:00:14.709Z","releaseDate":"2015-10-01T02:00:14.709Z","categories":["560c93af7e9b9d0d00ca81a6","560c9d9399bb5a0d0044f220","560d76d899bb5a0d0044f307","560d76ee1ec45619006069ed","560d86e099bb5a0d0044f32e","560dba80373c0e0d0024ff3b","57c722ecdf19130e001fba5d","57c743d1b6f94a2200659903","58995ec083f743190077bbe2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-23T01:46:10.332Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Autotagging is a simple and reliable method of tracking Facebook ads. Attribution will append a string of text to each link that allows us to see which ad a customer came from. It looks like this:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http://example.com?fbaid=6021525737218\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\nThe **fbaid** is shorthand for Facebook Ad ID.  Attribution appends the [Facebook generated ID property](https://developers.facebook.com/docs/marketing-api/reference/adgroup/#Reading) of each AD to the URL.   By appending the Ad ID, Attribution is able to look up all the relevant information about that advertisement.  Currently we pull in the ad spend and the campaign to calculate ROI per campaign.  In the future we will use the same tag to pull in more granular information like audience data, cost-per-click, and other valuable information.  \n\nBecause Attribution is programmatically changing your URL, Facebook will have to review the ad before it can go live.  Nothing about the ad creative has changed, so the Ad *will* be approved but this takes 5-30 minutes. During that time your ads will be momentarily paused.  Once the ad is approved it will begin to show again with all of the same budgets and settings.\n\n**Autotagging will NOT affect any UTM tags you already have in place.**","excerpt":"Attribution will append the Facebook Ad ID to your urls to allow detailed tracking without the need for UTM params.","slug":"facebook-autotagging","type":"basic","title":"Facebook Attribution with Autotagging"}

Facebook Attribution with Autotagging

Attribution will append the Facebook Ad ID to your urls to allow detailed tracking without the need for UTM params.

Autotagging is a simple and reliable method of tracking Facebook ads. Attribution will append a string of text to each link that allows us to see which ad a customer came from. It looks like this: [block:code] { "codes": [ { "code": "http://example.com?fbaid=6021525737218", "language": "text" } ] } [/block] The **fbaid** is shorthand for Facebook Ad ID. Attribution appends the [Facebook generated ID property](https://developers.facebook.com/docs/marketing-api/reference/adgroup/#Reading) of each AD to the URL. By appending the Ad ID, Attribution is able to look up all the relevant information about that advertisement. Currently we pull in the ad spend and the campaign to calculate ROI per campaign. In the future we will use the same tag to pull in more granular information like audience data, cost-per-click, and other valuable information. Because Attribution is programmatically changing your URL, Facebook will have to review the ad before it can go live. Nothing about the ad creative has changed, so the Ad *will* be approved but this takes 5-30 minutes. During that time your ads will be momentarily paused. Once the ad is approved it will begin to show again with all of the same budgets and settings. **Autotagging will NOT affect any UTM tags you already have in place.**