Consent Banner JS
Zero-dependency JavaScript cookie banner that a site configures with a JSON object and that passes the visitor's consent state to callbacks.
tagconcierge.github.io/consent-banner-js/repository
Consent Banner JS is a zero-dependency JavaScript cookie banner for any website. It is consent platform agnostic: its project page describes a banner configured with a JSON object that fires a callback when the visitor interacts with it and provides a consent state object. A site includes a stylesheet and the script from a CDN, or uses the Google Tag Manager template, a WordPress plugin or a PrestaShop plugin that the page lists as integrations. The library is compatible with Google Consent Mode.
Tag Concierge sp. z o.o., a company with an address in Kraków, Poland, maintains it.
Worth knowing
The package has no npm release under this name. The script is served from the vendor’s own host, public-assets.tagconcierge.com, which the project page names.
Sources
- 2026-11-03: links, Categories, Install with
tagconcierge.github.io/consent-banner-js/ - 2026-11-03: links, License, GitHub stars
api.github.com/repos/tagconcierge/consent-banner-js - 2026-11-03: Maintainer, Headquarters
tagconcierge.com/ - 2026-11-03: Written in
api.github.com/repos/tagconcierge/consent-banner-js/languages - 2026-11-03: First release, Current major version, Last release
api.github.com/repos/tagconcierge/consent-banner-js/releases - 2026-11-03: Contributors
api.github.com/repos/tagconcierge/consent-banner-js/contributors