Installing the Uptick Tracking Pixel

Ensure that we can attribute purchases at the end of checkout we ask that you either place our client-side pixel on the thank you page or issue a postback to our server. Both are equally supported on our side, please choose what is most reliable for you.

Inserting the Pixel

If you want to use the client-side pixel, you can place this javascript on your final thank you page for the purchase.

<!-- Start Uptick Snippet -->
<script>
!function(e,p,t,n,a,s,i){e[n]||((a=e[n]=function(){a.process?a.process.apply(a,arguments):a.queue.push(arguments)}).queue=[],a.t=+new Date,(s=p.createElement(t)).async=1,s.src="https://app.uptick.com/e/pixel.js?t="+864e5*Math.ceil(new Date/864e5),(i=p.getElementsByTagName(t)[0]).parentNode.insertBefore(s,i))}(window,document,"script","ppxd"),ppxd("init","AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE"),ppxd("event","purchase");
</script>
<!-- End Uptick Snippet -->

The script tag contains an ID (AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE). Ensure that you replace this with the correct ID assigned to your integration. Using an incorrect or generic ID will lead to unsuccessful widget activation.

Using the Postback

If you need or want to use a server postback you can send a POST request to https://app.uptick.com/e/postback.

We will send two parameters to you on the landing page: uid and eid. Both of those need to be passed back as parameters to the postback url in addition to an ev parameter for purchase.

POST https://app.uptick.com/e/postback
id: <your integration id>
uid: <from uid query param on landing page>
eid: <from eid query param on landing page>
ev: purchase

HTTP 201

Note:

  • id: This ID is unique for your integration. We can provide this to you.
  • uid: This will be passed to you on the landing page as uid.
  • eid: This will be passed to you on the landing page as eid.
  • ev: This is a static value of purchase