What is a cookie wall (with alternative)? 🍪

A cookie wall with alternative is a mechanism that allows you to block access to certain content or services on your website if a user does not give consent to using cookies.

It works by asking for the user to accept cookies and tracking or choose an alternative (such as subscribe, sign up to the newsletter, etc.) in order to access content.

This is a really useful wall, particularly for publishers, as it not only helps to increase your consent rate but also allows for monetization even when consent isn't given (if ad-based revenue is your main source of monetization, not being able to target ads with cookies can have a huge impact on income).

In order to be compliant with regulations and to ensure that users can give their consent freely, the cookie wall has to include at least one cookie-free alternative besides consent. This provides a clear and free choice for users on how they want to access your content.

Why is this relevant? 💡

Putting in place a cookie wall will enable you to:

  1. Increase your consent rate (and, as a result, your advertising revenue stream)

  2. Increase the number of subscribers or leads by offering alternatives to accepting cookies (such as subscribing)

  3. Increase awareness of your mission and business model (by opening up a dialogue with your audience)

What does it look like?

  • When a user lands on your site, your CMP will pop up, allowing a user to accept or refuse cookies.

    🚨 At Poool we have established a strategic partnership with Didomi. Therefore, we highly recommend our native integration with Didomi's CMP so that you can enjoy the "plug & play" feature. If you wish to integrate with a different CMP, you'd need to take care of the integration yourself.

  • If a user refuses cookies, they'll be presented with Poool's cookie wall. In order to access content, the user will be required to either give their consent for ad personalization or choose an alternative (chosen by you).

  • Some alternatives to consent are subscribing, watching an ad, creating an account or answering a survey.

Here is an example of a cookie wall:

How do I set it up? 📌

Now that we know the advantages of this feature, let's get to the heart of the matter, the implementation.

  1. Add Poool to Didomi 's CMP

    1. In order to use our Poool integration, you have to add Poool as a vendor in your consent notice.

    2. To do this, go to your consent notice in the Didomi console and click on the third step "VENDORS&PURPOSES".

    3. Then, add the vendor "Poool" to your notice.

  2. Turn your cookie wall to active on Poool's dashboard

    1. This can be found directly in the scenarios tab, at the context level (NB: you could choose to activate the cookie wall solely on some user segments)

3. To set up the integration, you just need to add the following code to your Poool configuration.

📌 The job has been done for you! Simply copy-paste it between

("init") and ("send","page-view")

poool('event', 'onConsent', function() {
var didomi_purposes_array = ['_s', 'select_basic_ads', 'create_ads_profile', 'select_personalized_ads', 'create_content_profile', 'select_personalized_content', 'measure_ad_performance', 'measure_content_performance', 'market_research', 'improve_products', 'geolocation_data', 'device_characteristics'];

return new Promise((resolve, reject) => {
window.Didomi.on('notice.clickagree', function () {
window.Didomi.on('notice.disagree', function () {
window.Didomi.on('notice.clickdisagree', function () {
window.Didomi.on('preferences.clickagreetoall', function () {
window.Didomi.on('preferences.clickdisagreetoall', function () {
window.Didomi.on('preferences.clicksavechoices', function(){
var purposes_array = window.Didomi.getRequiredPurposeIds();
var user_status = window.Didomi.getUserStatus();
var purposes_filtered = purposes_array.filter(function(e) { return this.indexOf(e) >= 0;}, didomi_purposes_array);
var user_status_filtered = user_status.purposes.consent.enabled.filter(function(e) { return this.indexOf(e) >= 0;}, didomi_purposes_array);

if(purposes_filtered.length === user_status_filtered.length){
} else {

and... voilà! Your cookie wall is ready to shine on your website and bring your those all important results :)

Did this answer your question?