Disabling Cookies

How to disable cookies with Cookie Consent

Whenever you have chosen opt-in or opt-out as your compliance type, you will need to disable cookies on your site depending on the user action.

Disabling cookies should be done with the callback hook:
onInitialise: function (status) { var type = this.options.type; var didConsent = this.hasConsented(); if (type == 'opt-in' && didConsent) { // enable cookies } if (type == 'opt-out' && !didConsent) { // disable cookies } }, onStatusChange: function(status, chosenBefore) { var type = this.options.type; var didConsent = this.hasConsented(); if (type == 'opt-in' && didConsent) { // enable cookies } if (type == 'opt-out' && !didConsent) { // disable cookies } }, onRevokeChoice: function() { var type = this.options.type; if (type == 'opt-in') { // disable cookies } if (type == 'opt-out') { // enable cookies } }

What's New at Osano

New in April 2022: Admin notes, IAB TCF updates, and more!

Collaborate on DSARs with internal notes for request submissions. IAB TCF 2.0 Consent Management support has been updated per the latest IAB specifications. 11 new Data Discovery integrations and more! Check out our latest product announcement blog for demos, links, and more information.

LEARN WHAT’S NEW IN APRIL

New in March 2022: attachments, config sorting, and more!

Send and receive attachments in the Data Subject Rights secure messaging portal, filter and sort capabilities for your Consent Management configuration, and much more! Check out our latest product announcement blog for demos, links, and more information.

LEARN WHAT’S NEW IN MARCH

Introducing AMP support for Osano Consent Manager

Capture and manage consent across your standard and AMP pages using the same Consent Management Platform.

Learn more about Osano for AMP

Saudi Arabia and UAE banner updates

Based on recent legislation in Saudi Arabia and the UAE, Osano Consent Manager now features updated cookie banners for both regions. 

Learn more

Introducing Secure Messaging Portal

Now you can communicate securely with your customers and users who make Data Subject Access Requests (DSARs) about their request in a secure and compliant way.

Read about the DSAR Secure Messaging Portal

View more product updates

Osano product & engineering teams have been hard at work. View the full list of all product updates.

View Product Updates