This can be accomplished by leveraging the current functionality of the setting ‘Enable EU compliance’ within the settings for the integrated analytics tool. With this setting enabled, the system will check for the presence of the cookie ‘sat_track’ when the page loads and will then load the analytics tool based on the following logic:
The DTM user is responsible for setting the ‘sat_track’ cookie to false if a visitor opts out; so, this could easily be configured to set based on some other variable if desired. So, for example, with EU compliance enabled for the installed tool, you could configure a top of page, page load rule to fire when certain countries are detected (for example) and then set the ‘sat_track’ cookie to false in the rule trigger using the following custom code: _satellite.setCookie(“sat_track”, “false”);
Sign in to your account