Add Quantcast tracking conversion pixel


Use Quantcast to track conversions with a conversion pixel on the confirmation page. Follow the directions below to connect Quantcast to Celery.


  • Do not use the default code snippet provided by Quantcast. Instead, use the Celery code snippet below with your Quantcast settings.

Getting Started

Step 1: Setup your Quantcast tracking conversion pixel

Step 2: Retrieve your Quantcast account ID

Step 3: Add the tracking pixel (below) in the custom confirmation scripts

Remember to replace qacct:"x-xxxxxxxxx" with your Quantcast account ID. 
<!-- Start Quantcast Tag -->
<script type="text/javascript"> 
var order = App.getOrder({version: 'v1'});
var orderNumber = order.number;
var total = / 100;
var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + "";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
{qacct:"x-xxxxxxxxx",labels:"_fp.event.Purchase Confirmation",event:"refresh",orderid:orderNumber,revenue:total.toString()}
<!-- End Quantcast tag -->
Once done, please confirm with your Quantcast account manager that the order number and order total is properly being tracked.

Related Resources

Feedback and Knowledge Base