Troubleshooting

Solutions for Cookie Consent problems

Here you can find solutions to common problems. Report issues on Cookie Consent GitHub page.

1. How to get top pushdown to work with a fixed navigation bar?

You’ll need to add top margin to your navigation bar on popup open and remove it on close.

window.cookieconsent.initialise({ palette: {popup:{background:"#000"},button:{background:"#f1d600"}}, position: "top", static: true, onPopupOpen : function () { pushDown(this.element.clientHeight); }, onPopupClose : function () { pushDown(0); } }); function pushDown(height) { var navbar = document.getElementsByClassName(" NAVBAR CLASS ")[0]; navbar.style.transition = 'all 1s'; navbar.style.marginTop = height+'px'; }

2. Javascript TypeError

null is not an object (evaluating 's.firstChild')

This error message usually means that the body of your website is loaded dynamically and after Cookie Consent.

Try moving the scripts to the footer, just before the closing the body tag.

Cookie Consent is only available in English. However, you can configure every line of text on cookie consent window. This can be done dynamically on multilingual sites using your own translation files/scripts.

Example:
window.cookieconsent.initialise({ palette: { popup:{ background:"#000" }, button:{ background:"#f1d600" } }, content: { message: "//MESSAGE_IN_CURRENT_LANG", dismiss: "//DISMISS_BUTTON_IN_CURRENT_LANG" } });

What's New at Osano

Chinese banner update

China passed a privacy law recently. The Personal Information Protection Law comes into effect in Nov.1 , 2021. It requires changes for obtaining consent from users for tracking, analytics, personalization and marketing. 

learn more

AI-powered Data Discovery, "No Fines, No Penalties" Pledge, $11M in funding

Today Osano is launching our AI-powered Data Discovery feature and introducing an industry-first "No Fines, No Penalties" Pledge. In addition, we're announcing $11 million in new funding. 

learn more

Global Privacy Control

Osano's Consent Management platform now understands and communicates Global Privacy Control signals.

Learn More

French banner consent configuration

In October 2020, the French Data Protection Authority changed its rules on cookies. This feature provides a consent-banner configuration that applies to French users and complies with the DPA's rules. 

Learn More

Nissenbaum Release

The Nissenbaum release includes "Text Customization for Consent Manager." Customers can now customize the language within your cookie pop-up. 

Release also includes "Upload Documents" for vendor monitoring.