The Econda Tracking software offers support for different modes of tracking, e.g. anonymous tracking, no tracking or full tracking. In order to work with Econda tracking, please follow these steps:
- When downloading the
emos3library from Econda, you can choose the default-mode for the privacy mode. Please download the library using privacy mode = 1 (“Kein Messen”) or setwindow.emos3.PRIV_MODE = '1';in the econda configuration settings. - Insert the
emos3library into your website as usual - Insert the following code into your website after the CMP-Code:
<script>
function updateEconda(e,o)
{
var c = __cmp("getVendorConsents", null, null, false);
if(c === false){ var c = __cmp("noncompliant_getVendorConsents", null, null, false); }
if(typeof(c) == 'object' && "gdprApplies" in c && (!c.gdprApplies || c.customVendorConsents['s240']))
{
//consent given, enable econda full tracking
localStorage.setItem('emos_privacy','3');
}
else
{
//no consent given, disable enable econda tracking
localStorage.setItem('emos_privacy','1');
}
}
__cmp("addEventListener",["consent",updateEconda,false],null);
</script>