Cookie Consent · Open source

Download Cookie Consent

Configure the free Cookie Consent JavaScript plugin and copy the code into your site. Or skip the setup and let Osano run consent for you.

Open source

The free JavaScript plugin. You configure it, host it, and keep it up to date.

  • No coding required (not included)
  • Translated into 40 languages (not included)
  • Automatic geo-targeting (not included)
  • GDPR and CCPA/CPRA ready (not included)
  • Third-party cookie blocking (not included)
  • Visitor stats (not included)
  • Consent record keeping (not included)
  • Self-updating for new laws (not included)
  • Technical support (not included)
Start coding

Open source edition

Configure your banner

Pick your options and copy the code. The preview banner on this page updates as you go.

Copy the code

1. Add this just before the </head> tag:

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" /> Copy code

2. Then add this just before the </body> tag:

Select options on the left to generate your code... Copy code

Need help or more options? Read the documentation.

Prefer not to maintain it?

Get consent that keeps itself up to date

Osano handles translations, geo-targeting, consent records and new laws, so you don't have to ship banner updates.