Set up a cookie wall with our Poool integration

📕 A cookie wall is a mechanism that allows you to block the access to certain contents or services in your website or app if the user has not given their consent for cookies. It works by asking the user to accept cookies, and therefore receive ads, as a condition to be able to access certain pages or articles on your site.

This is really useful, especially for publishers, as it helps you not only improve your consent rate, but also improve your monetization if your main source of revenue is the use of targeted ads.

In order to be compliant and make sure users can give their consent freely, the cookie wall has to include one other alternative besides cookie consent so that the user can choose between the two to access the content.

1- Our Poool integration

Our integration with Poool's cookie wall solution allows you to block your user’s access to some of your content if they have not given consent on the Didomi CMP. 

⚠ This integration is available for web only!

How does our Poool integration work?

  • When users first arrive on your website, Didomi's consent notice will be displayed. At that point, users will be able to either accept or refuse consent for cookies. 
  • When users who have not given consent arrive at certain articles that have been blocked with the Poool cookie wall, they will have to accept cookies or another alternative to access the content. 

Some of the alternatives to cookie consent can be subscribing, watching an ad, creating an account or answering a survey. 

Here are some examples of what a cookie wall might look like: 

2- Add Poool to your Didomi CMP

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

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

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

3- Set up Poool

  • To set up our integration on Poool, you need to add this code to your Poool configuration:
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 {


  • Then, on your Poool Access dashboard, click on "Scenarios" and choose in which context you want to implement the cookie wall. To do this, click on the "[ ⠇]"  in the top right corner of the chosen context, as shown in the image: 

  • Then, click on "Privacy settings".

  • When the side panel appears, click on the toggle "Allow asking for consent through a cookie wall" to activate the cookie wall. 

  • You can then configure the alternative you want to offer on your cookie wall and click on "Update".
To delete a cookie wall that you do not want to use anymore, just click on the toggle "Allow asking for consent through a cookie wall" to disable it. Then, click on "Update".