È possibile personalizzare il layout, lo stile, il contenuto e il comportamento del template banner. Questo permette di creare una personalizzazione che si adatti allo stile del branding e alle preferenze di comportamento dell’organizzazione.
[en] What is a Cookie Consent Banner?
[en] A Banner is a pop-up that is displayed on websites that allows users to explicitly provide consent (e.g., accept or reject) to cookies that are available on the website.
Per personalizzare il template banner
[en] Banners can be customized and created in two ways. This article details creating and customizing your Banner through the section of . To learn how to configure a banner when scanning a domain, see Scanning a Website.
-
Nel menu , selezionare . Viene visualizzata la schermata Template.
-
Cliccare sul nome del template che si desidera valutare. Viene visualizzata la schermata Dettagli template.
-
Selezionare il pulsante Browser Web per la Piattaforma.
-
Andare alla scheda Categorie.
-
Completare i campi. Per ulteriori informazioni, consultare Layout, Stile, Contenuto e comportamento.
-
[en] Click the Save button for each template section you configure.
-
Cliccare sul pulsante Salva template.
[en] For the changes to reflect on your site, the respective domain's production or testing script must be republished.
Riferimento della schermata Dettagli template banner
[en] This section allows you to select how the banner is positioned on your website.
[en] This section allows you to customize colors for buttons, text, and the background of the Banner, in addition to other styling options. You can also add a custom logo.
Nota
[en] The recommended color contrast ratio is 4.5:1 for WCAG compliance. You will see a warning in the tool if the contrast ratio is below the recommended guidelines.
[en] This section allows you to configure text for various fields on the Banner, including buttons and links.
[en] This section allows you to configure different behaviors for the Banner.
Per gestire le lingue del banner
[en] The Language field displays all languages that are available for a template. Only languages that are enabled for the template will appear in the selection menu.
[en] You can add additional languages for the banner and select from the Advanced Languages section to cover additional language HTML code options that may be used on your website. For more information on how OneTrust language detection can work on your website, see the Enable Language Detection on Scripts section in Publishing and Implementing Cookie Consent Scripts.
Nota
[en] Only out-of-the-box OneTrust Banner text is automatically translated for applicable languages. Any custom text changes made to a template are not automatically translated to other languages. For these changes to translate, you must provide your own translations in the template.
Suggerimento
Nello script del banner, è possibile definire i codici delle lingue utilizzando caratteri di sottolineatura o trattini.
Esempio: en-US
o en_US
.
-
[en] On the menu, select . The Templates screen appears.
-
[en] Click on the name of the template. The Template Details screen appears.
-
Cliccare sul pulsante Gestisci lingue. Viene visualizzata la finestra modale Gestisci lingue.
-
Selezionare le caselle di controllo per le lingue che si desidera abilitare. È possibile selezionare una nuova lingua predefinita selezionando la casella di controllo nella colonna Predefinito.
Nota
Se si desidera selezionare le lingue in base alla località, attivare l'impostazione Mostra lingue avanzate.
-
Cliccare sul pulsante Salva.
[en] Things to Know: Enhancing Banner Performance
[en] You can leverage the following configurations to potentially increase page load speed and improve Banner performance:
[en] If you continue to experience performance issues, please contact OneTrust Support here.