Skip to main content
All CollectionsIntegrations
Install Tracking Script On Your Website
Install Tracking Script On Your Website
Zuzana Toulcová avatar
Written by Zuzana Toulcová
Updated over 2 months ago

To track the clicks of your affiliates, include this code on every page of your website where you want to track clicks, including all landing pages. For best results, position the code as high as possible within the HEAD tag of your website.

<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");

trackdesk("YOUR_TENANT_ID", "click");
</script>
<!-- Trackdesk tracker end -->

Make sure to replace YOUR_TENANT_ID with your actual tenant ID.

Please note that you need to place this script in case of any integration. Without this script we can't track any clicks on your website generated by your affiliates.

A step-by-step manual is part of the offer creation process.

You also have the option to send the instructions to your developers. They can help you with the installation of all the scripts without having access to your Affiliate program.

Next steps:

After installing the script for tracking clicks, you need to connect your payment gateway for tracking conversions. If you don't have a payment gateway, we have alternative ways to connect.

These are the most commonly used integrations:

  • Stripe integration

  • WooCommerce integration

  • Shopify integration

  • API integration

  • Custom JS integration

Did this answer your question?