Salesforce

Personalizzare il template banner

« Go Back
Information
Personalizzare il template banner
UUID-2b6cc670-059c-5342-275c-4a7d8da5630e
Article Content

È 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 Cookie Consent 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 Templates section of Cookie Consent. To learn how to configure a banner when scanning a domain, see Scanning a Website.

  1. Nel menu Conformità cookie, selezionare Template. Viene visualizzata la schermata Template.

  2. Cliccare sul nome del template che si desidera valutare. Viene visualizzata la schermata Dettagli template.

  3. Selezionare il pulsante Browser Web per la Piattaforma.

  4. Andare alla scheda Categorie.

  5. Completare i campi. Per ulteriori informazioni, consultare Layout, Stile, Contenuto e comportamento.

  6. [en] Click the Save button for each template section you configure.

  7. 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

Layout

[en] This section allows you to select  how the banner is positioned on your website.

banner_layout.png

Layout

Descrizione

Opzioni posizione

Centrale curvo

Mostra un banner con angoli arrotondati al centro dello schermo.

Predefinito

Banner scelte

Mostra un banner che include le categorie dei cookie del sito e consente all'utente di configurare le proprie preferenze.

Predefinito

Angolare

Mostra un banner su tutta la larghezza dello schermo.

In basso

In alto

Mobile angolare

Mostra un banner a mezza larghezza su un lato dello schermo.

In basso a sinistra

In basso a destra

Mobile curvo

Mostra un banner a mezza larghezza con angoli arrotondati su un lato dello schermo.

In basso a sinistra

In basso a destra

Mobile curvo angolare

Mostra un banner di un terzo di larghezza con angoli arrotondati su un lato dello schermo.

In basso a sinistra

In basso a destra

Icona curva mobile

Mostra un banner con angoli arrotondati e un'icona nella parte inferiore dello schermo.

Predefinito

Nessun banner

Mostra il centro preferenze al primo livello senza un banner.

Nota

[en] If you do not want to display a modal when the user first visits your site and prefer to provide a link elsewhere for the user to update consent preferences, ensure you uncheck the Show Banner option in the geolocation rule.

[en] Additionally, selecting the No Banner layout option in the template does not have the same functionality as unchecking Show Banner in a geolocation rule.

[en] For more information, see Configurare le regole di geolocalizzazione.

Predefinito

Stile

[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.

banner_styling.png

Campo

Descrizione

Colore pulsante Accetta e Respingi

Selezionare il colore dei pulsanti del banner.

Colore link “Continua senza accettare”

Selezionare il colore per il testo del link Continuare senza accettare.

[en] Save Choices Button

[en] Select the color for the Save Choices button.

Colore testo pulsante

Selezionare il colore del testo sui pulsanti.

Colore testo

Selezionare il colore del testo sul banner.

Colore di sfondo

Selezionare il colore di sfondo del banner.

Colore testo del link

Selezionare il colore del link Policy sui cookie.

Colore di sfondo accordion

Selezionare il colore dello sfondo dell'accordion.

Nota

[en] Only applicable if you do not override Banner styling in the Preference Center.

Gestisci colore pulsante preferenze

Selezionare il colore del pulsante Centro preferenze.

Nota

[en] Only applicable if Cookie Settings is configured as a button on the Banner in the Content section.

Colore link gestisci preferenze

Selezionare il colore del link al centro preferenze.

Nota

[en] Only applicable if Cookie Settings is configured to be a link on the Banner in the Content section.

Colore bordo messa a fuoco

Selezionare il colore per il bordo di un elemento a fuoco.

[en] Category Container Color

[en] Select the color of the category container.

Nota

[en] Only available for Banners with a Choices Banner layout.

[en] Category Style

[en] Select the display style of your categories, either Checkbox or Toggle.

Nota

[en] Only available for Banners with a Choices Banner layout.

[en] Your Logo

[en] Click the Upload button to upload a custom logo image.

[en] The optimum size for a logo in the Banner:

  • [en] Height: 60px

  • [en] Width: 60px

[en] Supported file formats are PNG, JPG, and JPEG with a maximum size of 2MB.

[en] Company Logo Screen Reader Value (aria-label)

[en] Enter screen reader text for your custom logo.

[en] Remove Logo

[en] Click to remove your logo file.

CSS personalizzato

Inserire i CSS personalizzati per un ulteriore stile del banner.

[en] Click the Apply Custom CSS button to display custom CSS in your template preview.

Nota

[en] Because there are regular updates to the Cookie Consent application, elements IDs used for CSS can change. OneTrust recommends testing custom CSS added in your template on a staging site before publishing a production CDN script.

[en] To test custom CSS, add CSS to your template, publish the CDN script and place the script on a website. For more information, see Publishing and Implementing Cookie Consent Scripts.

Contenuto

[en] This section allows you to configure text for various fields on the Banner, including buttons and links.

Titolo e descrizione

banner_title.png

Campo

Descrizione

Titolo banner

Inserire il titolo del banner

Descrizione informativa

Inserire una breve descrizione dell'informativa sulla privacy

Nota

[en] To add HTML to this section, disable HTML sanitization. For more information, see Configurazione della sanificazione HTML.

Link cookie policy

banner_policy.png

Campo

Descrizione

Mostra link alla cookie policy

Permette di mostrare il link della Cookie policy

Mostra link alla cookie policy

Inserire il testo da visualizzare per il link della Cookie policy

Link cookie policy

Inserire l'URL della Cookie policy

[en] Screen Reader Value (aria-label)

[en] Enter the text for the screen reader value

Nota

[en] When configured for a CTV banner, the Cookie Policy Link will display as a QR code.

CTV_QR_banner.png

[en] For more information, see Customizing the CTV Banner Template.

Link all'impronta

banner_imprint.png

Campo

Descrizione

Mostra imprint link

Attivare questa opzione per mostrare un imprint link sul banner.

Nota

[en] This link is optional and can be used alongside the Cookie Policy link.

URL imprint link

Inserire un URL per il link.

Imprint link schermo dell'elenco fornitori (aria-label)

Inserire un valore per l'etichetta aria dell'imprint link.

Link partner

banner_partners.png

Campo

Descrizione

Link partner

Mostra il nome di un link all'elenco dei fornitori.

[en] When selected, the Partners Link it will direct the user to the Vendor List within the Preference Center.

Set di pulsanti

banner_buttons.png

Campo

Descrizione

Mostra il pulsante Consenti tutti

Abilitare questa impostazione per mostrare un pulsante sul banner che accetta tutti i cookie e poi chiude il banner.

Pulsante "Consenti tutti i Cookie"

Inserire il testo che appare sul pulsante Consenti tutti.

Mostra Pulsante impostazioni cookie

Abilitare questa impostazione per mostrare un pulsante sul banner che apre il centro preferenze per consentire la selezione granulare delle preferenze dei cookie.

Pulsante “Impostazioni cookie”

Inserire il testo che appare sul pulsante Impostazioni cookie.

Quando si utilizza il pulsante in una pagina Web per accedere al Centro preferenze dei cookie

[en] Select Display the same Button Text as in banner to display the the same text on the Preference Center as configured on the Banner.

[en] Select Show other text to display custom text. You can add the text you want to display for the Cookie Settings button in the Other Text field.

[en] This setting configures the text that is displayed when implementing the Do Not Sell & Cookie Setting Button script. For more information, see Publishing and Implementing Cookie Consent Scripts.

[en] Other Text

[en] If Show other text is selected, enter the text for the Cookie Settings button.

Stile pulsante impostazioni cookie

Scelta della visualizzazione delle impostazioni dei cookie come link o come pulsante

Mostra il pulsante "Rifiuta tutti"

Abilitare questa impostazione per visualizzare un pulsante per rifiutare tutti i cookie.

Testo pulsante Rifiuta tutti

Inserire il testo che appare sul pulsante Rifiuta tutti.

Mostra il pulsante Chiudi

Abilitare questa impostazione per visualizzare un pulsante di chiusura nel banner.

Valore dell'utilità per la lettura dello schermo (aria-label)

Inserire il valore per l'aria-label del pulsante di chiusura.

Nota

Le Aria label sono metadati per gli elementi della pagina senza testo. Quando un visitatore del sito utilizza un lettore di schermo o una tecnologia di assistenza simile, l'aria-label viene utilizzata per identificare l'elemento.

[en] Continue Without Accepting link

[en] If Continue Without Accepting Link is selected, enter the text to display for the Continue Without Accepting link.

Nota

[en] This option leaves the consent “as-is” based on the default consent model configured in the geolocation rules.

[en] Opt Out Signal

opt_out_notif.png

[en] Field

[en] Description

[en] Enable Opt-Out Signal Notification

[en] Enable the setting to display a notification on your cookie Banners and Preference Center that the opt-out preference signal has been honored.

[en] The notification will display if any of these three conditions are met:

  • [en] GPC is enabled in a user's browser.

  • [en] GPC is configured in your geolocation rules.

  • [en] A user has explicitly opted out of any cookie categories in the Banner or Preference Center.

[en] Notification

[en] Enter the notification text to display to your end users.

comportamento

[en] This section allows you to configure different behaviors for the Banner.

banner_template_behavior.png

Campo

Descrizione

Messa a fuoco banner

Attivare questa opzione per definire il focus iniziale al caricamento del banner mediante una delle opzioni riportate di seguito.

  • Focus iniziale - Banner

    Selezionare questa opzione per dirigere il focus iniziale sul banner quando viene caricato. Dopo che il banner è stato chiuso o l'interazione con esso è terminata, il focus verrà spostato sul corpo della pagina.

  • Messa a fuoco iniziale - Link, pulsante

    Selezionare questa opzione per dirigere il focus iniziale sul link alla Policy sui cookie o alla Policy sulla privacy quando viene caricato il banner. Dopo che il banner è stato chiuso o l'interazione con esso è terminata, il focus verrà posto sul primo elemento navigabile con il tasto TAB.

Disattivare questa opzione per consentire al focus di seguire l'ordine naturale in cui gli elementi vengono mostrati sulla pagina.

Richiedi interazione banner

Abilitare questa opzione per impedire l'accesso al sito fino a quando l'utente non accetta i cookie o non modifica le impostazioni.

[en] Banner pushes down page

[en] Enable to insert the Banner above the page header instead of as an overlay.

Nota

[en] Only available for Banners with a Flat layout and Top position.

Animazione banner

Selezionare un'opzione per l'animazione per stabilire l'aspetto del banner.

  • Inserimento

  • Dissolvenza

  • Rimuovi animazione

Utilizza le dimensioni relative dei caratteri

Abilitare questa opzione per correlare le dimensioni dei caratteri sul banner e sul centro preferenze alla dimensione dei caratteri definita dal codice HTML di base.

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.

language_field_banner.png

[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.

  1. [en] On the Cookie Consent menu, select Templates. The Templates screen appears.

  2. [en] Click on the name of the template. The Template Details screen appears.

  3. Cliccare sul pulsante Gestisci lingue. Viene visualizzata la finestra modale Gestisci lingue.

    banner_languages.png
  4. 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.

  5. 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.

 
Article Visibility
88,599
Translation
Italian
Not Checked

Powered by