PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.2
4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.5 3.6.6 3.7.0 3.7.1 3.8.0 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.2.0 4.2.1 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.3.10 4.3.11 4.3.12 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.7.1 4.3.8 4.3.9 4.3.9.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.10 4.5.11 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.7.0
cookiebot / src / view / admin / settings / settings-page.php
cookiebot / src / view / admin / settings Last commit date
multiple-configuration 3 years ago prior-consent 3 years ago dashboard-page.php 3 years ago debug-page.php 3 years ago gtm-page.php 3 years ago iab-page.php 3 years ago legislations-page.php 4 years ago network-settings-page.php 3 years ago settings-page.php 3 years ago support-page.php 3 years ago
settings-page.php
472 lines
1 <?php
2 use cybot\cookiebot\settings\templates\Header;
3 use cybot\cookiebot\settings\templates\Main_Tabs;
4
5 use cybot\cookiebot\settings\pages\Gtm_Page;
6 use cybot\cookiebot\settings\pages\Iab_Page;
7 use cybot\cookiebot\settings\pages\Multiple_Page;
8
9 /**
10 * @var string $cbid
11 * @var bool $is_ms
12 * @var string $network_cbid
13 * @var string $network_scrip_tag_uc_attr
14 * @var string $network_scrip_tag_cd_attr
15 * @var string $cookiebot_gdpr_url
16 * @var string $cookiebot_logo
17 * @var array $supported_languages
18 * @var string $current_lang
19 * @var bool $is_wp_consent_api_active
20 * @var array $m_default
21 * @var array $m
22 * @var string $cookie_blocking_mode
23 * @var string $add_language_gif_url
24 */
25
26 $header = new Header();
27 $main_tabs = new Main_Tabs();
28
29 // phpcs:ignore WordPress.Security.NonceVerification.Recommended
30 $active_tab = $_GET['tab'] ? $_GET['tab'] : false;
31
32 $header->display();
33 ?>
34
35 <div class="cb-body">
36 <div class="cb-wrapper">
37 <?php $main_tabs->display( 'settings' ); ?>
38 <div class="cb-main__content">
39 <form method="post" action="options.php">
40 <?php settings_fields( 'cookiebot' ); ?>
41 <?php do_settings_sections( 'cookiebot' ); ?>
42 <div class="cb-settings__header">
43 <h1 class="cb-main__page_title"><?php esc_html_e( 'Settings', 'cookiebot' ); ?></h1>
44 <?php submit_button(); ?>
45 </div>
46
47 <div class="cb-settings__tabs">
48 <div class="cb-settings__tabs__item <?php echo ! $active_tab || $active_tab === 'general-settings' ? 'active-item' : ''; ?>" data-tab="general-settings">
49 <?php esc_html_e( 'General Settings', 'cookiebot' ); ?>
50 </div>
51 <div class="cb-settings__tabs__item <?php echo $active_tab === 'additional-settings' ? 'active-item' : ''; ?>" data-tab="additional-settings">
52 <?php esc_html_e( 'Additional Settings', 'cookiebot' ); ?>
53 </div>
54 <div class="cb-settings__tabs__item <?php echo $active_tab === 'tag-manager' ? 'active-item' : ''; ?>" data-tab="tag-manager">
55 <?php esc_html_e( 'Google Tag Manager', 'cookiebot' ); ?>
56 </div>
57 <div class="cb-settings__tabs__item <?php echo $active_tab === 'consent-mode' ? 'active-item' : ''; ?>" data-tab="consent-mode">
58 <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?>
59 </div>
60 <div class="cb-settings__tabs__item <?php echo $active_tab === 'iab' ? 'active-item' : ''; ?>" data-tab="iab">
61 <?php esc_html_e( 'IAB', 'cookiebot' ); ?>
62 </div>
63 <div class="cb-settings__tabs__item <?php echo $active_tab === 'multiple-configurations' ? 'active-item' : ''; ?>" data-tab="multiple-configurations">
64 <?php esc_html_e( 'Multiple Configurations', 'cookiebot' ); ?>
65 </div>
66 </div>
67
68 <div class="cb-settings__tabs__content">
69 <div class="cb-settings__tabs__content--item <?php echo ! $active_tab || $active_tab === 'general-settings' ? 'active-item' : ''; ?>" id="general-settings">
70 <?php if ( ! $cbid ) : ?>
71 <div class="cb-general__new__account">
72 <h2 class="cb-general__info__title"><?php esc_html_e( 'Do you not have an account yet?', 'cookiebot' ); ?></h2>
73 <p class="cb-general__info__text">
74 <?php esc_html_e( 'Before you can get started with Cookiebot CMP for WordPress, you need to create an account on our website by clicking on "Create a new account" below. After you have signed up, you can configure your banner in the Cookiebot Manager and then place the Cookiebot Domain Group ID in the designated field below. You can find your ID in the Cookiebot Manager by navigating to "Settings" and "Your Scripts".', 'cookiebot' ); ?>
75 </p>
76 <div class="new-account-actions">
77 <a href="https://manage.cookiebot.com/en/signup/?utm_source=wordpress&utm_medium=organic&utm_campaign=banner" target="_blank" class="cb-btn cb-main-btn"><?php esc_html_e( 'Create a new Account', 'cookiebot' ); ?></a>
78 <a href="https://support.cookiebot.com/hc/en-us/articles/360003784174-Installing-Cookiebot-CMP-on-WordPress" class="cb-btn cb-link-btn"><?php esc_html_e( 'Get help with connecting your account', 'cookiebot' ); ?></a>
79 </div>
80 </div>
81 <?php endif; ?>
82
83 <div class="cb-settings__config__item">
84 <div class="cb-settings__config__content">
85 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Connect your Domain Group:', 'cookiebot' ); ?></h3>
86 <p class="cb-general__info__text">
87 <?php esc_html_e( 'To connect your Domain Group, paste your Domain Group ID here. If you want to connect a second ID for other regions, you can do this under the "Multiple Configurations" tab.', 'cookiebot' ); ?>
88 </p>
89 <a href="https://support.cookiebot.com/hc/en-us/articles/4405643234194-Your-CBID-or-Domain-group-ID-and-where-to-find-it" target="_blank" class="cb-btn cb-link-btn"><?php esc_html_e( 'Read more on the Domain Group ID', 'cookiebot' ); ?></a>
90 </div>
91 <div class="cb-settings__config__data">
92 <div class="cb-settings__config__data__inner">
93 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Add your Domain Group ID', 'cookiebot' ); ?></h3>
94 <input <?php echo ( $is_ms ) ? ' placeholder="' . esc_attr( $network_cbid ) . '"' : ''; ?>
95 type="text" name="cookiebot-cbid"
96 value="<?php echo esc_attr( $cbid ); ?>"
97 />
98 </div>
99 </div>
100 </div>
101
102 <div class="cb-settings__config__item">
103 <div class="cb-settings__config__content">
104 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Language:', 'cookiebot' ); ?></h3>
105 <p class="cb-general__info__text">
106 <?php esc_html_e( 'Select your main language here. Please make sure that the language selected has also been added in the Cookiebot Manager.', 'cookiebot' ); ?>
107 </p>
108 <a href="https://support.cookiebot.com/hc/en-us/articles/360003793394-How-to-set-the-language-of-the-consent-banner-" target="_blank" class="cb-btn cb-link-btn"><?php esc_html_e( 'Read more on how to add languages', 'cookiebot' ); ?></a>
109 </div>
110 <div class="cb-settings__config__data">
111 <div class="cb-settings__config__data__inner">
112 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Select the language', 'cookiebot' ); ?></h3>
113 <select name="cookiebot-language" id="cookiebot-language">
114 <option value=""><?php esc_html_e( 'Default (Autodetect)', 'cookiebot' ); ?></option>
115 <option value="_wp"<?php echo ( $current_lang === '_wp' ) ? ' selected' : ''; ?>>
116 <?php
117 esc_html_e(
118 'Use WordPress Language',
119 'cookiebot'
120 );
121 ?>
122 </option>
123 <?php
124 foreach ( $supported_languages as $lang_code => $lang_name ) {
125 echo '<option value="' . esc_attr( $lang_code ) . '"' . ( ( $current_lang === esc_attr( $lang_code ) ) ? ' selected' : '' ) . '>' . esc_html( $lang_name ) . '</option>';
126 }
127 ?>
128 </select>
129 </div>
130 </div>
131 </div>
132
133 <div class="cb-settings__config__item">
134 <div class="cb-settings__config__content">
135 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookie-blocking mode', 'cookiebot' ); ?></h3>
136 <p class="cb-general__info__text">
137 <?php esc_html_e( 'Select your cookie-blocking mode here. Auto cookie-blocking mode will automatically block all cookies (except for ‘strictly necessary’ cookies) until a user has given consent. Manual cookie-blocking mode requests manual adjustments to the cookie-setting scripts. Please find our implementation guides below:', 'cookiebot' ); ?>
138 </p>
139 <a href="https://support.cookiebot.com/hc/en-us/articles/360009063100-How-does-Automatic-Cookie-Blocking-work-" target="_blank" class="cb-btn cb-link-btn"><?php esc_html_e( 'Guide to auto cookie-blocking', 'cookiebot' ); ?></a>
140 <a href="https://support.cookiebot.com/hc/en-us/articles/4405978132242-Manual-cookie-blocking" target="_blank" class="cb-btn cb-link-btn"><?php esc_html_e( 'Guide to manual cookie-blocking', 'cookiebot' ); ?></a>
141 </div>
142 <div class="cb-settings__config__data">
143 <div class="cb-settings__config__data__inner">
144 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Select the cookie-blocking mode', 'cookiebot' ); ?></h3>
145 <label class="recommended-item">
146 <input <?php checked( 'auto', $cookie_blocking_mode ); ?>
147 type="radio"
148 name="cookiebot-cookie-blocking-mode"
149 value="auto"
150 />
151 <?php esc_html_e( 'Automatic cookie-blocking mode', 'cookiebot' ); ?>
152 </label>
153 <label>
154 <input <?php checked( 'manual', $cookie_blocking_mode ); ?>
155 type="radio"
156 name="cookiebot-cookie-blocking-mode"
157 value="manual"
158 />
159 <?php esc_html_e( 'Manual cookie-blocking mode', 'cookiebot' ); ?>
160 </label>
161 </div>
162 </div>
163 </div>
164
165 <?php
166 $cv = get_option( 'cookiebot-script-tag-uc-attribute', 'async' );
167 $disabled = false;
168 if ( $is_ms && $network_scrip_tag_uc_attr !== 'custom' ) {
169 $disabled = true;
170 $cv = $network_scrip_tag_uc_attr;
171 }
172 ?>
173
174 <div class="cb-settings__config__item secondary__item" id="declaration-tag">
175 <div class="cb-settings__config__content">
176 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot script tag', 'cookiebot' ); ?></h3>
177 <p class="cb-general__info__note">
178 <?php esc_html_e( 'Depending on cookie-blocking mode', 'cookiebot' ); ?>
179 </p>
180 <p class="cb-general__info__text">
181 <?php esc_html_e( 'Add async or defer attribute to cookie declaration script tag', 'cookiebot' ); ?>
182 </p>
183 </div>
184 <div class="cb-settings__config__data">
185 <div class="cb-settings__config__data__inner">
186 <label>
187 <input
188 type="radio"
189 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
190 value="" <?php checked( '', $cv ); ?> />
191 <?php esc_html_e( 'None', 'cookiebot' ); ?>
192 </label>
193 <label>
194 <input
195 type="radio"
196 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
197 value="async" <?php checked( 'async', $cv ); ?> />
198 async
199 </label>
200 <label>
201 <input
202 type="radio"
203 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
204 value="defer" <?php checked( 'defer', $cv ); ?> />
205 defer
206 </label>
207 </div>
208 </div>
209 </div>
210
211 <div class="cb-settings__config__item secondary__item" id="cookie-popup">
212 <div class="cb-settings__config__content">
213 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Hide cookie popup', 'cookiebot' ); ?></h3>
214 <p class="cb-general__info__note">
215 <?php esc_html_e( 'Depending on cookie-blocking mode', 'cookiebot' ); ?>
216 </p>
217 <p class="cb-general__info__text">
218 <?php esc_html_e( 'This checkbox will remove the cookie consent banner from your website. The declaration shortcode will still be available. If you are using Google Tag Manager (or equal), you need to add the Cookiebot script in your Tag Manager.', 'cookiebot' ); ?>
219 </p>
220 </div>
221 <div class="cb-settings__config__data">
222 <div class="cb-settings__config__data__inner">
223 <label>
224 <?php
225 $disabled = false;
226 if ( $is_ms && get_site_option( 'cookiebot-nooutput' ) ) {
227 $disabled = true;
228 echo '<input type="checkbox" checked disabled />';
229 } else {
230 ?>
231 <input type="checkbox" name="cookiebot-nooutput" value="1"
232 <?php
233 checked(
234 1,
235 get_option( 'cookiebot-nooutput', false )
236 );
237 ?>
238 />
239 <?php } ?>
240 <?php esc_html_e( 'Hide the cookie popup banner', 'cookiebot' ); ?>
241 </label>
242 </div>
243 </div>
244 </div>
245
246 </div>
247
248 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'additional-settings' ? 'active-item' : ''; ?>" id="additional-settings">
249
250 <div class="cb-settings__config__item">
251 <div class="cb-settings__config__content">
252 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Auto-update Cookiebot Plugin:', 'cookiebot' ); ?></h3>
253 <p class="cb-general__info__text">
254 <?php esc_html_e( 'Automatically update your Cookiebot plugin when new releases becomes available.', 'cookiebot' ); ?>
255 </p>
256 </div>
257 <div class="cb-settings__config__data">
258 <div class="cb-settings__config__data__inner">
259 <label class="switch-checkbox" for="cookiebot-autoupdate">
260 <input id="cookiebot-autoupdate" type="checkbox" name="cookiebot-autoupdate" value="1"
261 <?php
262 checked(
263 1,
264 get_option( 'cookiebot-autoupdate', false )
265 );
266 ?>
267 />
268 <div class="switcher"></div>
269 <?php esc_html_e( 'Automatically update Cookiebot Plugin', 'cookiebot' ); ?>
270 </label>
271 </div>
272 </div>
273 </div>
274
275 <div class="cb-settings__config__item">
276 <div class="cb-settings__config__content">
277 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot CMP in WP Admin:', 'cookiebot' ); ?></h3>
278 <p class="cb-general__info__text">
279 <?php esc_html_e( 'This checkbox will disable Cookiebot CMP to act within the WordPress Admin area', 'cookiebot' ); ?>
280 </p>
281 </div>
282 <div class="cb-settings__config__data">
283 <div class="cb-settings__config__data__inner">
284 <label class="switch-checkbox" for="cookiebot-nooutput-admin">
285 <?php
286 $disabled = false;
287 if ( $is_ms && get_site_option( 'cookiebot-nooutput-admin' ) ) {
288 echo '<input type="checkbox" checked disabled />';
289 $disabled = true;
290 } else {
291 ?>
292 <input id="cookiebot-nooutput-admin" type="checkbox" name="cookiebot-nooutput-admin" value="1"
293 <?php
294 checked(
295 1,
296 get_option( 'cookiebot-nooutput-admin', false )
297 );
298 ?>
299 />
300 <?php
301 }
302 ?>
303 <div class="switcher"></div>
304 <?php esc_html_e( 'Disable Cookiebot CMP in the WordPress Admin area', 'cookiebot' ); ?>
305 </label>
306 </div>
307 </div>
308 </div>
309
310 <div class="cb-settings__config__item">
311 <div class="cb-settings__config__content">
312 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot CMP on front-end while logged in:', 'cookiebot' ); ?></h3>
313 <p class="cb-general__info__text">
314 <?php esc_html_e( 'This setting will enable Cookiebot CMP on the front-end while you\'re logged in.', 'cookiebot' ); ?>
315 </p>
316 </div>
317 <div class="cb-settings__config__data">
318 <div class="cb-settings__config__data__inner">
319 <label class="switch-checkbox" for="cookiebot-output-logged-in">
320 <?php
321 $disabled = false;
322 if ( $is_ms && get_site_option( 'cookiebot-output-logged-in' ) ) {
323 echo '<input type="checkbox" checked disabled />';
324 $disabled = true;
325 } else {
326 ?>
327 <input id="cookiebot-output-logged-in" type="checkbox" name="cookiebot-output-logged-in" value="1"
328 <?php
329 checked(
330 1,
331 get_option( 'cookiebot-output-logged-in', false )
332 );
333 ?>
334 />
335 <?php
336 }
337 ?>
338 <div class="switcher"></div>
339 <?php esc_html_e( 'Render Cookiebot CMP on front-end while logged in', 'cookiebot' ); ?>
340 </label>
341 </div>
342 </div>
343 </div>
344
345 <div class="cb-settings__config__item">
346 <div class="cb-settings__config__content">
347 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookie declaration script tag:', 'cookiebot' ); ?></h3>
348 <p class="cb-general__info__text">
349 <?php esc_html_e( 'If you implemented the declaration on your page through our widget in WordPress, you can choose here how the script should be loaded.', 'cookiebot' ); ?>
350 </p>
351 </div>
352 <div class="cb-settings__config__data">
353 <div class="cb-settings__config__data__inner">
354 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Select the cookie declaration script loading setting', 'cookiebot' ); ?></h3>
355 <?php
356 $cv = get_option( 'cookiebot-script-tag-cd-attribute', 'async' );
357 $disabled = false;
358 if ( $is_ms && $network_scrip_tag_cd_attr !== 'custom' ) {
359 $disabled = true;
360 $cv = $network_scrip_tag_cd_attr;
361 }
362 ?>
363 <label>
364 <input
365 type="radio"
366 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
367 value="" <?php checked( '', $cv ); ?>/>
368 <?php esc_html_e( 'None', 'cookiebot' ); ?>
369 </label>
370 <label>
371 <input
372 type="radio"
373 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
374 value="async" <?php checked( 'async', $cv ); ?>/>
375 async
376 </label>
377 <label>
378 <input
379 type="radio"
380 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
381 value="defer" <?php checked( 'defer', $cv ); ?>/>
382 defer
383 </label>
384 </div>
385 </div>
386 </div>
387
388 <div class="cb-settings__config__item">
389 <div class="cb-settings__config__content">
390 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Ignore scripts in queue from Cookiebot CMP scan:', 'cookiebot' ); ?></h3>
391 <p class="cb-general__info__text">
392 <?php esc_html_e( 'List scripts source URL (one per line) from the queue to ignore Cookiebot CMP scan. Partial source URL will also work, e.g. wp-content/plugins/woocommerce will block every WooCommerce script.', 'cookiebot' ); ?>
393 </p>
394 <p class="cb-general__info__text">
395 <?php esc_html_e( 'This feature only works for scripts loaded via wp_enqueue_script. Manually added scripts must be manually edited.', 'cookiebot' ); ?>
396 </p>
397 </div>
398 <div class="cb-settings__config__data">
399 <div class="cb-settings__config__data__inner">
400 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Script source URL:', 'cookiebot' ); ?></h3>
401 <textarea
402 name="cookiebot-ignore-scripts"
403 rows="4"
404 cols="50"
405 placeholder="<?php esc_attr_e( 'Add script source URL, one per line', 'cookiebot' ); ?>"
406 ><?php echo esc_html( get_option( 'cookiebot-ignore-scripts', false ) ); ?></textarea>
407 </div>
408 </div>
409 </div>
410
411 </div>
412
413 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'tag-manager' ? 'active-item' : ''; ?>" id="tag-manager">
414 <?php $gtm_settings = new Gtm_Page(); ?>
415 <?php $gtm_settings->display(); ?>
416 </div>
417
418 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'consent-mode' ? 'active-item' : ''; ?>" id="consent-mode">
419 <div class="cb-general__consent__mode">
420 <h2 class="cb-general__info__title"><?php esc_html_e( 'What is Google Consent Mode and why should you enable it?', 'cookiebot' ); ?></h2>
421 <p class="cb-general__info__text">
422 <?php esc_html_e( 'Google Consent Mode is a way for your website to measure conversions and get analytics insights while being fully GDPR-compliant when using services like Google Analytics, Google Tag Manager (GTM) and Google Ads.', 'cookiebot' ); ?>
423 </p>
424 <p class="cb-general__info__text">
425 <?php esc_html_e( 'Cookiebot consent managment platform (CMP) and Google Consent Mode integrate seamlessly to offer you plug-and-play compliance and streamlined use of all Google\'s services in one easy solution.', 'cookiebot' ); ?>
426 </p>
427 <a class="cb-btn cb-link-btn" target="_blank" href="https://support.cookiebot.com/hc/en-us/articles/360016047000-Cookiebot-and-Google-Consent-Mode"><?php esc_html_e( 'Read more about Cookiebot CMP and Google Consent Mode', 'cookiebot' ); ?></a>
428 </div>
429
430 <div class="cb-settings__config__item">
431 <div class="cb-settings__config__content">
432 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Google Consent Mode:', 'cookiebot' ); ?></h3>
433 <p class="cb-general__info__text">
434 <?php esc_html_e( 'Enable Google Consent Mode with default settings on your WordPress page.', 'cookiebot' ); ?>
435 </p>
436 <a class="cb-btn cb-link-btn" target="_blank" href="https://support.cookiebot.com/hc/en-us/articles/360016047000-Cookiebot-and-Google-Consent-Mode"><?php esc_html_e( 'Read more', 'cookiebot' ); ?></a>
437 </div>
438 <div class="cb-settings__config__data">
439 <div class="cb-settings__config__data__inner">
440 <label class="switch-checkbox" for="gcm">
441 <input
442 type="checkbox"
443 name="cookiebot-gcm"
444 id="gcm"
445 value="1" <?php checked( 1, get_option( 'cookiebot-gcm' ) ); ?>>
446 <div class="switcher"></div>
447 <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?>
448 </label>
449 <input type="hidden" name="cookiebot-gcm-first-run" value="1">
450 </div>
451 </div>
452 </div>
453
454
455 </div>
456
457 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'iab' ? 'active-item' : ''; ?>" id="iab">
458 <?php $iab_settings = new Iab_Page(); ?>
459 <?php $iab_settings->display(); ?>
460 </div>
461
462 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'multiple-configurations' ? 'active-item' : ''; ?>" id="multiple-configurations">
463 <?php $multiple_settings = new Multiple_Page(); ?>
464 <?php $multiple_settings->display(); ?>
465 </div>
466
467 </div>
468 </form>
469 </div>
470 </div>
471 </div>
472