1. Home
  2. Docs
  3. Integration & Setup
  4. Settings & Accounts
  5. etracker Cookies
  6. Determining the duration of etracker cookies yourself

Determining the duration of etracker cookies yourself

In order to be able to react even more flexibly to data protection requirements, you have the option of determining the cookie runtime of the following cookies set by etracker yourself:

Cookie nameUsageExample value
_et_coidCookie detection etracker Analytics108bf9a85547edb1108bf9a85547edb1
BT_pdcContains Base64-encoded visitor history data (customer, newsletter recipient, etc.) for personalisation eyJldGNjX2N1c3QiOjAsImVj...GNjX25l

d3NsZXR0ZXIiOjB9

The cookie lifetime can be set via the data attribute data-cookie-lifetime in the etracker tracking code:

<script id="_etLoader" type="text/javascript" charset="UTF-8" data-respect-dnt="true" data-secure-code="XXXXXX" data-cookie-lifetime="24" src="//static.etracker.com/code/e.js"></script>

The value passed is interpreted as a number of months. The default value is 24 months, the lowest value is one month.

If the attribute data-cookie-lifetime is not used or an invalid value is entered, the default value of 24 months is automatically used. If a value of less than one month is entered, one month will automatically be used as the lifetime.

The complete etracker tracking code including the new attribute is exemplary as follows:

<! – Copyright (c) 2000-2021 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 5.0 – >
<script type="text/javascript">
//var et_pagename = "";
//var et_areas = "";
//var et_tval = "";
//var et_tonr = "";
//var et_tsale = 0;
//var et_basket = "";
</script>
<script id="_etLoader" type="text/javascript" charset="UTF-8" data-block-cookies="true" data-respect-dnt="true" data-cookie-lifetime="24" data-secure-code="XXXXXX" src="//code.etracker.com/code/e.js" async></script>
<! – etracker tracklet 5.0 end – >