{"_id":"573f3c88176bea2b000e975d","parentDoc":null,"project":"56e96242d825061900d1abe8","user":"57041be58c69510e00b1de4d","githubsync":"","__v":1,"version":{"_id":"56e96242d825061900d1abeb","hasReference":true,"__v":5,"hasDoc":true,"project":"56e96242d825061900d1abe8","createdAt":"2016-03-16T13:40:18.429Z","releaseDate":"2016-03-16T13:40:18.428Z","categories":["56e96242d825061900d1abec","56ebe6213de6a00e0041fd7a","570f4a00a38d470e0060cabf","570f6a3a620fdd190017f7ca","570f6a46986c040e008f7b0d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"570f4a00a38d470e0060cabf","project":"56e96242d825061900d1abe8","version":"56e96242d825061900d1abeb","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-14T07:42:56.518Z","from_sync":false,"order":2,"slug":"app-library","title":"App Library"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-20T16:34:16.684Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":51,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/9e43e93-Twitter.jpg\",\n        \"Twitter.jpg\",\n        48,\n        48,\n        \"#1ea1f0\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\n###Measure what happens after users see your ads on Twitter\nWith conversion tracking, if people **Click** on the link, **Retweet**, **Like** or simply **See** the Tweet and then go to your site - you'll know where they came from.\n[Go to Twitter Ads](https://ads.twitter.com/login)\n\n[Go to How to set up conversion tracking](https://business.twitter.com/en/advertising/campaign-types/increase-website-traffic/how-to-setup-conversion-tracking.html)\n***\n**StackPile** offers an easy way for you to install 3<sup>rd</sup> party apps and tools on your website in seconds without expensive code changes.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"1. Getting Started\"\n}\n[/block]\n**Note:** If you already have the **Twitter Conversion Tracking** snippet installed on your site, please remove it.\n\nOnce the [StackPile snippet](http://docs.stackpile.io/docs/getting-started) has been installed on your website, add **Twitter Conversion Tracking** to your stack in the [StackPile Dashboard](https://stackpile.io/dashboard), add your **Tracking ID** (see [Settings](#2-settings) on how to obtain this) and click on **Enable**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b4c6eab-Tracking_ID.png\",\n        \"Tracking ID.png\",\n        559,\n        203,\n        \"#444454\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\nThe **StackPile - Twitter Conversion Tracking** integration will then start tracking your Twitter Ad conversions .\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"2. Settings\"\n}\n[/block]\n**Tracking ID ** (**Twitter pixel ID**)\n\nWhen you log into **Twitter Ads**, select “Tools” > “Conversion tracking\" > \"Website tag\". You will find your pixel ID from in the line with the` twq('init',` tag, e.g.\n`twq('init','abcde');`\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"How to setup your universal website tag\",\n  \"body\": \"**Install your website tag**\\n.\\n.\\n\\n```\\n<!-- Twitter universal website tag code -->\\n<script>\\n!function(e,n,u,a){e.twq||(a=e.twq=function(){a.exe?a.exe.apply(a,arguments):\\na.queue.push(arguments);},a.version='1',a.queue=[],t=n.createElement(u),\\nt.async=!0,t.src='//static.ads-twitter.com/uwt.js',s=n.getElementByTagName(u)[0],s.parentNode.insertBefore(t,s))}(window,document,'script');\\n// Insert Twitter Pixel ID and Standard Event data below\\ntwq('init','abcde');\\ntwq('track','PageView');\\n</script>\\n<!-- End Twitter universal website tag code -->\\n```\"\n}\n[/block]\n[TOP](#top)","excerpt":"###Advertise on Twitter and track your conversions\nSolutions to help you achieve your business goals","slug":"twitter-conversion-tracking","type":"basic","title":"Twitter Conversion Tracking"}

Twitter Conversion Tracking

###Advertise on Twitter and track your conversions Solutions to help you achieve your business goals

[block:image] { "images": [ { "image": [ "https://files.readme.io/9e43e93-Twitter.jpg", "Twitter.jpg", 48, 48, "#1ea1f0" ], "border": true } ] } [/block] ###Measure what happens after users see your ads on Twitter With conversion tracking, if people **Click** on the link, **Retweet**, **Like** or simply **See** the Tweet and then go to your site - you'll know where they came from. [Go to Twitter Ads](https://ads.twitter.com/login) [Go to How to set up conversion tracking](https://business.twitter.com/en/advertising/campaign-types/increase-website-traffic/how-to-setup-conversion-tracking.html) *** **StackPile** offers an easy way for you to install 3<sup>rd</sup> party apps and tools on your website in seconds without expensive code changes. [block:api-header] { "type": "basic", "title": "1. Getting Started" } [/block] **Note:** If you already have the **Twitter Conversion Tracking** snippet installed on your site, please remove it. Once the [StackPile snippet](http://docs.stackpile.io/docs/getting-started) has been installed on your website, add **Twitter Conversion Tracking** to your stack in the [StackPile Dashboard](https://stackpile.io/dashboard), add your **Tracking ID** (see [Settings](#2-settings) on how to obtain this) and click on **Enable**. [block:image] { "images": [ { "image": [ "https://files.readme.io/b4c6eab-Tracking_ID.png", "Tracking ID.png", 559, 203, "#444454" ], "border": true } ] } [/block] The **StackPile - Twitter Conversion Tracking** integration will then start tracking your Twitter Ad conversions . [block:api-header] { "type": "basic", "title": "2. Settings" } [/block] **Tracking ID ** (**Twitter pixel ID**) When you log into **Twitter Ads**, select “Tools” > “Conversion tracking" > "Website tag". You will find your pixel ID from in the line with the` twq('init',` tag, e.g. `twq('init','abcde');` [block:callout] { "type": "info", "title": "How to setup your universal website tag", "body": "**Install your website tag**\n.\n.\n\n```\n<!-- Twitter universal website tag code -->\n<script>\n!function(e,n,u,a){e.twq||(a=e.twq=function(){a.exe?a.exe.apply(a,arguments):\na.queue.push(arguments);},a.version='1',a.queue=[],t=n.createElement(u),\nt.async=!0,t.src='//static.ads-twitter.com/uwt.js',s=n.getElementByTagName(u)[0],s.parentNode.insertBefore(t,s))}(window,document,'script');\n// Insert Twitter Pixel ID and Standard Event data below\ntwq('init','abcde');\ntwq('track','PageView');\n</script>\n<!-- End Twitter universal website tag code -->\n```" } [/block] [TOP](#top)