CCV Shop Integration
David Rolenc avatar
Written by David Rolenc
Updated over a week ago

In order to successfully integrate tracking of your CCV Shop store you will need to set up your system with instructions found in the Quick setup section of the system and then following the guide below to begin tracking for clicks and conversions.

  1. In your CCV Shop admin environment, go to the section: menu My Web Shop > menu Settings > on page select section Layout > and enter Layout page in the grid view

  2. Enter the following code to the section Header HTML at the bottom of the page and don't forget to Apply the 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 -->

    Make sure to replace YOUR TENANT ID text with your actual tenant id, your tenant ID can be found on the settings page under navigation.

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

  3. Next, you will copy the same code for the mobile devices as the code has to be entered on a different place for mobile devices.

    For mobile setup, navigate to: menu My Web Shop > menu Settings > on page select section Layout > and enter Layout Mobile Website page in the grid view

    Enter the same code as above to the section Mobile header HTML at the bottom of the page, and don't forget to Apply the changes.

  4. Next, in order to set up the conversion tracking, in your CCV Shop admin environment, go to the section: menu My Web Shop > menu Settings > on page select section General > and enter Texts page in the grid view.

    Scroll to the section orders shipped text, use the Source button on the top left of the box, and paste the following code to the new line:

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

    Make sure to replace YOUR TENANT ID text with your actual tenant id, your tenant ID can be found on the Settings main page under navigation.

  5. Hit Apply and you are done!

Testing Your Integration

Remember to test clicks and conversions before starting your program. This way, you can verify that tracking has been set up correctly. You can create a test click and conversion by following the steps described here in the section: How to Test an Offer.

Did this answer your question?