Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test the integration of a banner

Learn how to test the integration of a consent banner.

Enable the preview mode

In the Settings section of the banner, open the advanced settings block and enable Preview mode.

The Preview mode switch in the Settings section
The "Preview mode" switch

The preview mode disables the cache of the banner configuration: you see your changes live. It also disables the collection of statistics.

localhost addresses with a port, for example http://localhost:3000, are always accepted, with or without the preview mode.

Preview the banner on your website

Click Preview banner at the top of the editor. The button is disabled until an address is set in Urls authorized (Allowed origins). Choose the website, enter the path of a page and the language if needed, then click Launch preview. The banner code must already be installed on the targeted website.

Use the following API key

This key displays an example consent banner. You cannot change its configuration. It is used for integration tests, for example in a jsFiddle.

Last updated

Was this helpful?