バナーテンプレートのレイアウト、スタイル、コンテンツや動作はカスタマイズすることができます。御社のブランディングのスタイルと動作の優先設定に合わせた外観を作成できます。
[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.
[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.
-
[]メニューから[]を選択します。[テンプレート]画面が開きます。
-
カスタマイズしたいテンプレートの名前をクリックします。[テンプレート詳細]画面が開きます。
-
[プラットフォーム]の[ウェブブラウザ]ボタンを選択します。
-
[バナー]タブを開きます。
-
記入欄に入力します。詳細は、レイアウト、スタイリング、コンテンツ、動作を参照してください。
-
[en] Click the Save button for each template section you configure.
-
[テンプレートを保存する]ボタンをクリックします。
[en] For the changes to reflect on your site, the respective domain's production or testing script must be republished.
[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.
注記
[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] To add HTML to this section, disable HTML sanitization. For more information, see HTMLサニタイズを設定する.
[en] This section allows you to configure different behaviors for the 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.
注記
[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.
ヒント
バナースクリプトでは、下線またはハイフンを使用して言語コードを定義できます。
例:en-US
、en_US
など。
-
[en] On the menu, select . The Templates screen appears.
-
[en] Click on the name of the template. The Template Details screen appears.
-
[言語を管理する]をクリックします。[言語を管理する]モーダルが開きます。
-
有効にする言語のボックスにチェックを入れます。[デフォルト]コラムのボックスにチェックを入れると、その言語が新しいデフォルト言語に設定されます。
注記
地域に応じて言語が選択されるようにするには[高度な言語設定を表示する]を有効にします。
-
[保存]ボタンをクリックします。
[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.