Ensuring Consent for GDPR in Bizible Js

The General Data Protection Regulation (GDPR) is a European Union legislation that went into effect on May 25, 2018.

Overview

The aim of the GDPR is to strengthen the rights of data subjects within the European Union (EU) and European Economic Area (EEA) with regard to how their personal data is used and protected. “Personal data” refers to any information that relates to an identified or identifiable natural person. The GDPR applies to any organization inside or outside the EU who is marketing goods or services to, and/or tracking the behaviors of, data subjects within the EU and EEA. If you do business with data subjects in Europe that involves the processing of their personal data, this legislation applies to you. Penalties for non-compliance are significant, with large fines for those in breach of the regulation; the maximum fine for a single breach is €20 million or 4% of annual worldwide turnover, whichever is greater.

By default, bizible.js collects users’ analytics data unless it’s specifically configured to wait for consent. When bizible.js is configured to wait for user consent, it will not create any cookies or send any analytics data until after consent is reached.

There are two ways to set bizible.js to wait for consent.

Option 1 - Replace the default bizible.js script tag with:

<script id="bizible-settings" type="text/javascript" src="//cdn.bizible.com/scripts/bizible.js?lang=en" async="" data-consent-button-id="ConsentButtonId"></script>

If you use Google Tag Manager to install script, keep in mind GTM removes data- attributes, so use the following script instead:

<script type="text/javascript" src="//cdn.bizible.com/scripts/bizible.js?lang=en" async=""></script>
<span id="bizible-settings" data-consent-button-id="ConsentButtonId"></span>

NOTE

In this case, bizible.js will attach an on-click event to HTML element with id “ConsentButtonId”.

When this HTML element is clicked, bizible.js will create a cookie to remember that user’s consent has been received and start collecting analytics data as usual.

-or-

Option 2 - Replace the default bizible.js script tag with:

<script id="bizible-settings" type="text/javascript" src="//cdn.bizible.com/scripts/bizible.js?lang=en" async="" data-requires-user-consent="true"></script>

This tells bizible.js to not track until consent is reached, which can be done with the following JS API:

window[‘Bizible’] = window[‘Bizible’] || { _queue: [], Push: function (o, p) { this._queue.push({ type: o, data: p }); } };

Bizible.Push(‘Consent’, true);

If you use Google Tag Manager to install script, keep in mind GTM removes data- attributes, so use the following script instead:

<script type="text/javascript" src="//cdn.bizible.com/scripts/bizible.js?lang=en" async=""></script>
<span id="bizible-settings" data-requires-user-consent="true"></span>

NOTE

bizible.js will create a cookie to remember that user’s consent has been received and start collecting analytics data as usual only after the JS API is called.

In contrast, customers can also use this API to withdraw user’s consent:

window['Bizible'] = window['Bizible'] || { _queue: [], Push: function (o, p) { this._queue.push({ type: o, data: p }); } };

Bizible.Push('Consent', false);

When this code executes, it will delete all cookies that bizible.js previously created and will resume the collection of analytics data only if the user re-consents.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now