How to be GDPR Compliant with the Web Tracking Script

    Overview

    Within Sugar Market, formerly known as Salesfusion, marketers have access to our Web Tracking Script , which can be embedded on your own site to track visitors browsing your site. This tracking script uses cookies to track visitor information when it executes. Therefore, if you need to adhere to GDPR regulations , your site will need to be modified with regard to how and when our tracking script executes.

    Web Tracking script within Sugar Market Platform

    Web tracking code in Salesfusion

    I’m using this script on my website. What does this mean for me?

    One requirement for GDPR compliance is that visitors to your site must be given a clear understanding of how cookies are being used and visitors must be provided with the ability to either accept or decline cookies.

    Therefore, if you are using Sugar Market’s web tracking script, you will need to configure your site to conditionally load our web tracking script based on the visitor’s interaction with the page. In other words, you’ll have to prevent the script from being loaded until something happens on the page that you can tie the loading of the script to. Some example interactions that can conditionally load the script include:

    • When a user clicks a specific button somewhere on the page
    • When a user checks a checkbox
    • When a user checks a checkbox and clicks a button

    The possibilities are endless when it comes to determining which visitor action to utilize. The decision is ultimately yours with regard to which interactions are available to your visitors.

    Note: We highly recommend that you consult with your own development team on how to conditionally load this script within all pages it’s used on.

    How to dynamically add scripts to your page

    DISCLAIMER: Below is just a suggested example of dynamically loading external scripts on your page. The correct implementation of this will ultimately depend on the decision that you and your development team decide upon. Therefore, the example below should not be interpreted as the only solution.

    In order to have external javascript code run on your page based on specific actions such as user consent, you will need to dynamically load the script on your page.

    In an external javascript file or in an inline style block on your page you will need to have code that will dynamically load the external script on the page.

    Loading external javascript function:

    Function for externally loading a javascript function

    You can then implement this method based on a user specific action in your code:

    WebtrackingCode3.png

    Note: If your website is hosted on a WordPress-based site, there are a few cookie consent plugins that could serve as an alternative method of implementing a dynamic script. 

    in GDPR

    Reach out to us for help