The charset="utf-8" attribute is important because, without it, text may appear with incorrect characters.
In the method SibboCMP.init("{{URL}}", true, false); the true value indicates that JSONP is used for requests, while false indicates that fetch will be used. The second boolean, false, indicates that the HTTPS protocol will be used, and if it is true, the HTTP protocol will be used.
In the case of using the HTTP protocol, a second configuration file {{URL2}} will be necessary, which we will provide.
Example of integration with the HTTP protocol:
The load must be included as early as possible in the code.
Adding a link or button with the text "Cookies" or "Cookie Settings" to the page hosting the CMP is mandatory. This link or button should trigger the method SibboCMP.openBanner(true), which will reopen the CMP.
Example:
- <a href="#" rel="nofollow" onclick="SibboCMP.openBanner(true)">Cookies</a>