Creating a Cookie Gate with TealiumIQ

Julien Kervizic
Hacking Analytics
Published in
3 min readOct 14, 2018

--

The General data protection regulation (GDPR) took effect in Europe in May 2018 and started imposing certain restrictions with the way data could be processed and passed to third parties. Consent from users was now required from visitors before data could be collected and shared with third parties.

Certain solutions existed on the market to manage handling the collection and sharing of data with third parties. We however already had a Tag Management System (TMS) in place that was triggering tags on the website and that could be configured to only trigger on consent.

Tags were meant to trigger only when accepting our cookies conditions. A few steps are required within Tealium to implement this:

Example variable created

We were storing the information that a user had already consented to the cookie policy within a cookie. The first thing we needed to create within Tealium was a gate accepted variable within the data-layer in order to make it accessible in the rest of Tealium. Since we are storing the information that a user has accepted within a cookie, the type of variables that needs to be set is of first party cookie.

--

--

Julien Kervizic
Hacking Analytics

Living at the interstice of business, data and technology | Head of Data at iptiQ by SwissRe | previously at Facebook, Amazon | julienkervizic@gmail.com