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="https://cdn.bizible.com/scripts/bizible.js" 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:

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

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

When this HTML element is clicked, bizible.js creates 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="https://cdn.bizible.com/scripts/bizible.js" 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:

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

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 deletes all cookies that bizible.js previously created and resumes the collection of analytics data only if the user reconsents.

Previous pageDiscover Data Download Access Control
Next pageSecurity Session Restrictions: IP Addresses to Allowlist

Marketo Measure


Marketo Migration to the Adobe Admin Console - (Pre-Migration)

Experience Cloud Tech Sessions

Tuesday, Mar 4, 6:00 PM UTC

Join Adobe's Customer Experience and Identity Team to prepare for a smooth Marketo migration to the Adobe Admin Console. Learn key steps, best practices, and how to avoid roadblocks for a seamless transition.

Register

Marketo Migration to the Adobe Admin Console - (Post-Migration)

Experience Cloud Tech Sessions

Tuesday, Mar 11, 4:00 PM UTC

Migrated Marketo to the Adobe Admin Console? Join our webinar to master key features, best practices, and troubleshooting tips. Learn how to manage users,, settings, and more. register now!

Register