Manual script block
To show the banner on the website and manually indicate the scripts to be blocked just follow these steps:
Step 1: Inclusion of the script
To show the cookie banner on your website, copy the code below and paste it first after the tag
If it is the first time generating the banner, or if you have edited the banner details, you have to click on Update banner to save these changes.
IMPORTANT: instead of
of your pages<script src="https://bnr.elmobot.eu/_CODICE_PORTALE_/it.js"></script>To show the cookie banner in English, copy this code instead
<script src="https://bnr.elmobot.eu/_CODICE_PORTALE_/en.js"></script>
If it is the first time generating the banner, or if you have edited the banner details, you have to click on Update banner to save these changes.
IMPORTANT: instead of
CODICE_PORTALE
you have to enter the Elmo code of the site that you find on the page Cookie Banner in the "Configure” panel; every website has its specific code.Step 2: Cookie blocking configuration
In addition to showing a cookie banner, you must also block cookies before providing consent. By adding a few attributes to the code of the scripts that install cookies, you will allow Elmo to prevent their execution when consent has not yet been given.
For <script> tags that generate statistical cookies, you must add (or replace, if already present) the type attribute with type="text/plain" and add the data-cookiecategory="analytics" attribute.
For all other HTML tags that generate statistical cookies, you must place them inside a block
<script type="text/html" data-cookiecategory="analytics">...</script>
For <script> tags that generate marketing cookies, you must add (or replace, if already present) the type attribute with type="text/plain" and add the data-cookiecategory="marketing" attribute.
For all other HTML tags that generate marketing cookies, you must place them inside a block
<script type="text/html" data-cookiecategory="marketing">...</script>
For <script> tags that generate non-EU statistical cookies, you must add (or replace, if already present) the type attribute with type="text/plain" and add the data-cookiecategory="foreign-analytics" attribute.
For all other HTML tags that generate non-EU statistical cookies, you must place them inside a block
<script type="text/html" data-cookiecategory="foreign-analytics">...</script>
For <script> tags that generate non-EU marketing cookies, you must add (or replace, if already present) the type attribute with type="text/plain" and add the data-cookiecategory="foreign-marketing" attribute.
For all other HTML tags that generate non-EU marketing cookies, you must place them inside a block
<script type="text/html" data-cookiecategory="foreign-marketing">...</script>
The <noscript> tags are not consensual and should not be used. Otherwise, any information retrieved through these technologies can only be used after anonymisation and possible indication in the Information Notice of the third party collecting them.
Example
Before:
After: