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

Sweeney release

We have just released a major new upgrade to our platform. This update features role-based access controls for your business. Admins will now be empowered to restrict a user's access and control to specific parts of Osano's platform.

Role-based access controls are only the most visible of numerous enhancements in this update that improve the performance, integrity and security of the Osano platform. The release notes detail the full list of enhancements and bug fixes.

The name of this release is a hat tip to Latanya Sweeney, a Harvard professor and privacy researcher who has done pioneering privacy research for the past two decades. Click to read more about her impressive work.

Read the Release Notes

Westin release

Announcing a shiny new update to Osano's platform! Updates include:

  • Consent Manager preview showing language translations and popup styling by location
  • Consent Manager versioning and rollback
  • iFrame blocking support
  • Consent Manager configuration duplication
  • Two dozen other features, enhancements, and bug fixes

This release is named in honor of Alan Westin, the father of modern data privacy law. We released an article on our blog about how his work has shaped privacy laws and perceptions today.

Read the Release Notes

White paper: The Osano Data Privacy and Data Breach Link

Announcing a groundbreaking report analyzing the relationship between a company’s privacy practices and their likelihood of experiencing a data breach. The Osano Data Privacy and Data Breach Link reveals a predictive relationship between responsible privacy practices and security outcomes.

Download the White Paper

11,000 vendors and counting!

Osano's proprietary dataset of vendor privacy risk just broke 11,000! We couldn't be more proud! 🎉

Brandeis release

Announcing a massive update to Osano's platform! We completely re-built the consent manager from the ground up. Updates include:
  • Automated script and cookie classifications
  • We've added multi-factor authentication to help further safeguard your Osano account
  • More than a dozen other features, enhancements, and bug fixes

This release is named after Louis Brandeis, one of the original pioneers of data privacy rights. We released an article on our blog about his fascinating life and how it impacted the data privacy world.

Read the Release Notes