Skip to main content

CCV Shop Integration

Written by David Rolenc
Updated over 2 weeks ago

To successfully integrate tracking for your CCV Shop store, you should first complete the Quick Setup section within your Trackdesk dashboard. Once that is done, follow this guide to set up tracking for both clicks and conversions.


1. Step-by-Step Integration

Step 1: Set Up Click Tracking (Desktop)

First, you’ll need to add the tracking script to the header of your web shop to capture visitor clicks.

  1. In your CCV Shop admin, navigate to My Web Shop > Settings.

  2. Select the Layout section and then enter Layout page in the grid view.

  3. Scroll to the Header HTML section at the bottom of the page.

  4. Paste the following code into the box and then click Apply to save your changes:

<!-- 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 -->

Replace YOUR_TENANT_ID with your actual Tenant ID.

Note: if you use more than one Webshop language, you need to set the same code for all languages by using the flag icon next to the Header HTML text box.

Step 2: Set Up Click Tracking (Mobile)

Because mobile layouts are handled separately in CCV Shop, you must also add the code to the mobile settings.

  1. In your CCV Shop admin, navigate to My Web Shop > Settings.

  2. Select the Layout section and then enter Layout Mobile Website page in the grid view.

  3. Paste the same code provided in Step 1 into the Header HTML section for mobile.

  4. Click Apply.

Step 3: Set Up Conversion Tracking

To track successful sales, you need to add a conversion script to the order confirmation page.

  1. Navigate to My Web Shop > Settings.

  2. Select the General section and enter Texts page in the grid view.

  3. Scroll down to the Orders Shipped Text section.

  4. Click the Source button (top left of the text box).

  5. On the new line, paste the following code and then click Apply to save your changes:

<!-- 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', 'conversion', {
conversionType: 'sale',
externalId: '[OrderNumber]',
customerId: '[MailAddress]',
amount: {
value: '[TotalPriceIncTax]'
}
});
</script>
<!-- Trackdesk tracker end -->

Replace YOUR_TENANT_ID with your actual Tenant ID.


2. Testing the Integration

Before officially launching your affiliate program, it's important to verify that clicks and conversions are being tracked correctly.

You can perform a test by following the steps in our guide: "Testing an Offer". This ensures that every part of the integration is communicating perfectly with Trackdesk.

Did this answer your question?