Integration of Celery e-commerce platform is achieved by direct insertion of our sale tracking code to a special section designed for affiliate tracking codes in your Celery admin panel.


Sale tracking code integration

Log in to your Celery dashboard and navigate to Settings> Checkout> Confirmation page> Custom scripts section and place this code there

var order = App.getOrder({version: 'v1'});

var orderNumber = order.number;
var buyerEmail =;
var total = / 100;

<div id='papSaleTrackingPlaceholder'></div>

<script type="text/javascript">
(function(d,t) {
var script = d.createElement(t); 'pap_x2s6df8d'; script.async = true;
script.src = '//URL_TO_PostAffiliatePro/scripts/trackjs.js';
script.onload = script.onreadystatechange = function() {
var rs = this.readyState; if (rs && (rs != 'complete') && (rs != 'loaded')) return;

var sale = PostAffTracker.createSale();

try { PostAffTracker.track(); } catch (e) {}

var placeholder = document.getElementById('papSaleTrackingPlaceholder');
placeholder.parentNode.insertBefore(script, placeholder);
  })(document, 'script');

Dont forget to save the changes with the Save button and you are done.

Do not forget to integrate your actual website with our click tracking code as well. Without click tracking, order tracking in Celery wont work properly. Click tracking code can be found in your Post Affiliate Pro merchant panel in Tools -> Integration -> Clicks tracking.