Implementation Guide

Step 1: Install сonsent code 
  • Go to the Get code section of the GDPR Consent tool settings.
  • Copy the top script and insert it as the very first script between the <head></head> on all pages of your website.
Step 2: Add ‘Change privacy settings’ link 

To comply with GDPR, publishers must give users a way to change consent settings. A persistent link should be placed on your website, where users can easily find it and edit their consent preferences at any time. A click on this link will show the consent dialog again.

  • Copy the following code, it also can be found in the Get code section of the GDPR Consent tool settings:
<a href="#" onclick="if(window.__lxG__consent__ !== undefined) {window.__lxG__consent__.showConsent()} else {alert('This function only for users from European Economic Area (EEA)')}; return false">Change privacy settings</a>
  • The text ‘Change privacy settings’ can be edited and translated into your site’s language.
  • Place the link either on all pages of your website (for example, in footer or header) or inside your Privacy/Cookie policy.


Back to top