{"__v":7,"_id":"56bcef4a911a9621004559a9","category":{"__v":8,"_id":"56bce73a3ad5140d00055345","pages":["56bceedbfb9be80d00328094","56bcef04752c130d008d1982","56bcef185e104b0d00e7b036","56bcef375e104b0d00e7b038","56bcef4a911a9621004559a9","56bcef5b5e104b0d00e7b03b","56bcef69fb9be80d00328098","56bcef780bad8e1700307da8"],"project":"555e500957fe0a0d00c8f1e7","version":"555e500957fe0a0d00c8f1ea","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-11T19:55:38.344Z","from_sync":false,"order":5,"slug":"analytics","title":"Analytics"},"parentDoc":null,"project":"555e500957fe0a0d00c8f1e7","user":"550c941bd1063b2d00359239","version":{"__v":13,"_id":"555e500957fe0a0d00c8f1ea","project":"555e500957fe0a0d00c8f1e7","createdAt":"2015-05-21T21:37:13.474Z","releaseDate":"2015-05-21T21:37:13.474Z","categories":["555e500957fe0a0d00c8f1eb","555e5fcedf54680d001800db","555e60d7df54680d001800fb","555e6766df54680d00180118","556f4d5debba950d008e9462","556f60959893290d00988c5b","556f6216ebba950d008e94e6","556f6b2aebba950d008e951a","556f71b6fc3aa80d00e1ac55","5570a30bcc189a21001ab44c","56ba3656ce5d540d00e2d789","56bce73a3ad5140d00055345","592874f7bdc27e1b00e571b1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-11T20:30:02.119Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":true,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"# Overview\n\nTo track the performance of ad campaigns, regardless of their pricing structure (CPM, CPC, etc.), ad services provide conversion scripts and pixels to their customers. These conversion scripts/pixels are most often added to the confirmation page or \"order success\" page of a checkout flow so that each instance of the page being viewed represents a successful order / revenue event.\n\nConversion scripts and pixels are often used interchangeably. The only technical distinction here is that a conversion script is a snippet of JavaScript that, when executed, \"pings home\" to let the tracking server know about the conversion event. A conversion pixel is an invisible HTML image tag that contains a URL that, when loaded, \"pings home\" to let the tracking server know about the conversion event.\n\n**Tilt Pro provides one-click installation for the three most popular conversion pixels and scripts:**\n\n* Facebook Ads\n* Google AdWords\n* Twitter Ads\n\n# Installation\n\nYou can install these in the Add-Ons section of your admin panel:\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Dynamic conversion values are automatically inserted\",\n  \"body\": \"Conversion dollar amounts, quantity, shipping, tax, and other dynamic values are automatically inserted into conversion snippets placed by our Add-Ons tool -- there's no need to worry about fiddling with custom code.\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/rsRUEh7qS1axTrBLsk9u_Screen%20Shot%202015-06-14%20at%2011.52.54%20PM.png\",\n        \"Screen Shot 2015-06-14 at 11.52.54 PM.png\",\n        \"2036\",\n        \"1196\",\n        \"#129bcf\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n# Conversion Tracking via Confirmation URL\n\nLooking for the URL that shows when you get to a confirmation page? You'll use this format for Pre-Order campaigns:\n\nhttps://yoursubdomain.tilt.com/your-campaign-name/checkout/confirmation\n\nThis is commonly used for AdRoll and other retargeting platforms\n\n# \"Add to Cart\" Pixels\n\nUnfortunately, Tilt Pro cannot add \"Add to cart\" tracking pixels on your behalf.\n\nThe Embeddable Crowdfunding and Pre-Order forms loads asynchronously in the background so that when the user clicks the pre-order button after checking out your video or underlying page, the payment form appears instantly.\n\nBecause of this, placing any pixel in the header of the order form itself would mean that it would fire with every underlying page load (v.s. only when it’s triggered). This would likely result in improper tracking (not true \"add to cart\" events).\n\nThe clearest way to implement this is to bind your \"Add To Cart\" event / pixel to your pre-order buttons that trigger the pre-order form on your underlying page. Here's a [code snippet](https://gist.github.com/mattlebel/53b2dee47bec5fd3fffa) that you might find useful if you need a hand with this implementation.","excerpt":"","slug":"conversion-scripts-pixels","type":"basic","title":"Conversion Scripts & Pixels"}

Conversion Scripts & Pixels


# Overview To track the performance of ad campaigns, regardless of their pricing structure (CPM, CPC, etc.), ad services provide conversion scripts and pixels to their customers. These conversion scripts/pixels are most often added to the confirmation page or "order success" page of a checkout flow so that each instance of the page being viewed represents a successful order / revenue event. Conversion scripts and pixels are often used interchangeably. The only technical distinction here is that a conversion script is a snippet of JavaScript that, when executed, "pings home" to let the tracking server know about the conversion event. A conversion pixel is an invisible HTML image tag that contains a URL that, when loaded, "pings home" to let the tracking server know about the conversion event. **Tilt Pro provides one-click installation for the three most popular conversion pixels and scripts:** * Facebook Ads * Google AdWords * Twitter Ads # Installation You can install these in the Add-Ons section of your admin panel: [block:callout] { "type": "success", "title": "Dynamic conversion values are automatically inserted", "body": "Conversion dollar amounts, quantity, shipping, tax, and other dynamic values are automatically inserted into conversion snippets placed by our Add-Ons tool -- there's no need to worry about fiddling with custom code." } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/rsRUEh7qS1axTrBLsk9u_Screen%20Shot%202015-06-14%20at%2011.52.54%20PM.png", "Screen Shot 2015-06-14 at 11.52.54 PM.png", "2036", "1196", "#129bcf", "" ] } ] } [/block] # Conversion Tracking via Confirmation URL Looking for the URL that shows when you get to a confirmation page? You'll use this format for Pre-Order campaigns: https://yoursubdomain.tilt.com/your-campaign-name/checkout/confirmation This is commonly used for AdRoll and other retargeting platforms # "Add to Cart" Pixels Unfortunately, Tilt Pro cannot add "Add to cart" tracking pixels on your behalf. The Embeddable Crowdfunding and Pre-Order forms loads asynchronously in the background so that when the user clicks the pre-order button after checking out your video or underlying page, the payment form appears instantly. Because of this, placing any pixel in the header of the order form itself would mean that it would fire with every underlying page load (v.s. only when it’s triggered). This would likely result in improper tracking (not true "add to cart" events). The clearest way to implement this is to bind your "Add To Cart" event / pixel to your pre-order buttons that trigger the pre-order form on your underlying page. Here's a [code snippet](https://gist.github.com/mattlebel/53b2dee47bec5fd3fffa) that you might find useful if you need a hand with this implementation.