Enhancing your Clinch Talent website with GDPR compatible javascript

It should be noted from the outset that in order to be fully GDPR compliant, third party javascript files should only be installed at the point at which the candidate consents to be tracked. 

If you wish to enhance your Clinch Talent website with third party javascript (e.g. Google Analytics) and want to do so in such a way that ensures you remain GDPR compliant, please follow these steps:  

  1. Go to the Theme for your Clinch Talent page
  2. Clinch on the Javascript tab
  3. Add an event listener to the clinch:trackable event (include jquery in the theme page layout if necessary)
  4. Inside the event handler, dynamically create a script element and attach it to the head of the document
$(document).on('clinch:trackable', function() {
  var head = document.getElementsByTagName('head')[0];
  var script = document.createElement('script');
  script.src = "https://<the-script-url>";
  script.type = 'text/javascript';
  head.appendChild(script)
});

In the following screenshots, please notice that the third party cookies have not been installed until the candidate clicks "I accept". Note the "_clinch_session" is GDPR compliant in that it doesn't contain personally identifiable information and only lasts for a single page view.

Still need help? Contact Us Contact Us