block etracker cookies

You have the option of preventing etracker cookies from being set by sending a specific parameter when the etracker code is called.

The parameter for suppressing cookies is as follows:

data-block-cookies="true"

The complete tracking code then looks like this:

<!-- Copyright (c) 2000-2019 etracker GmbH. All rights reserved. -->
<!-- This material may not be reproduced, displayed, modified or distributed -->
<!-- without the express prior written permission of the copyright holder. -->
<!-- etracker tracklet 4.1 -->
<script type="text/javascript">
//var et_pagename = "";
//var et_areas = "";
//var et_tval = "";
//var et_tonr = "";
//var et_tsale = 0;
//var et_basket = "";
//var et_cust = 0;
</script>
<script id="_etLoader" type="text/javascript" charset="UTF-8" data-block-cookies="true" data-respect-dnt="true" data-secure-code="XxXxXx" src="//static.etracker.com/code/e.js"></script>
<!-- etracker tracklet 4.1 end -->

To enable cookies to be set, we provide you with the following 3 API calls:

1 Allows the setting of cookies

_etracker.enableCookies('mydomain.com');

2 Suppresses the setting of cookies

_etracker.disableCookies('mydomain.com');

3 Checks whether etracker cookies can be set

_etracker.areCookiesEnabled() (Response: true oder false)

ATTENTION: The API calls should only be used if the attribute data-block-cookies=”true” is set in the tracking code. If users block etracker cookies, A/B tests and smart messages from the etracker optimiser are completely suppressed.

Need help?
Our friendly, knowledgeable support engineers are here for you.