PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.12
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.12
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 gcm-page.php 2 years ago gtm-page.php 2 years ago iab-page.php 3 years ago legislations-page.php 3 years ago network-settings-page.php 2 years ago settings-page.php 2 years ago support-page.php 3 years ago
settings-page.php
528 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\Gcm_Page;
7 use cybot\cookiebot\settings\pages\Iab_Page;
8 use cybot\cookiebot\settings\pages\Multiple_Page;
9
10 /**
11 * @var string $cbid
12 * @var bool $is_ms
13 * @var string $network_cbid
14 * @var string $network_scrip_tag_uc_attr
15 * @var string $network_scrip_tag_cd_attr
16 * @var string $cookiebot_gdpr_url
17 * @var string $cookiebot_logo
18 * @var array $supported_languages
19 * @var string $current_lang
20 * @var bool $is_wp_consent_api_active
21 * @var array $m_default
22 * @var array $m
23 * @var string $cookie_blocking_mode
24 * @var bool $network_auto
25 * @var string $add_language_gif_url
26 */
27
28 $header = new Header();
29 $main_tabs = new Main_Tabs();
30
31 // phpcs:ignore WordPress.Security.NonceVerification.Recommended
32 $active_tab = ! empty( $_GET['tab'] ) ? $_GET['tab'] : false;
33
34 $header->display();
35 ?>
36
37 <div class="cb-body">
38 <div class="cb-wrapper">
39 <?php $main_tabs->display( 'settings' ); ?>
40 <div class="cb-main__content">
41 <form method="post" action="options.php">
42 <?php settings_fields( 'cookiebot' ); ?>
43 <?php do_settings_sections( 'cookiebot' ); ?>
44 <div class="cb-settings__header">
45 <h1 class="cb-main__page_title"><?php esc_html_e( 'Settings', 'cookiebot' ); ?></h1>
46 <?php submit_button(); ?>
47 </div>
48
49 <div class="cb-settings__tabs">
50 <div class="cb-settings__tabs__item <?php echo ! $active_tab || $active_tab === 'general-settings' ? 'active-item' : ''; ?>"
51 data-tab="general-settings">
52 <?php esc_html_e( 'General Settings', 'cookiebot' ); ?>
53 </div>
54 <div class="cb-settings__tabs__item <?php echo $active_tab === 'additional-settings' ? 'active-item' : ''; ?>"
55 data-tab="additional-settings">
56 <?php esc_html_e( 'Additional Settings', 'cookiebot' ); ?>
57 </div>
58 <div class="cb-settings__tabs__item <?php echo $active_tab === 'tag-manager' ? 'active-item' : ''; ?>"
59 data-tab="tag-manager">
60 <?php esc_html_e( 'Google Tag Manager', 'cookiebot' ); ?>
61 </div>
62 <div class="cb-settings__tabs__item <?php echo $active_tab === 'consent-mode' ? 'active-item' : ''; ?>"
63 data-tab="consent-mode">
64 <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?>
65 </div>
66 <div class="cb-settings__tabs__item <?php echo $active_tab === 'iab' ? 'active-item' : ''; ?>"
67 data-tab="iab">
68 <?php esc_html_e( 'IAB', 'cookiebot' ); ?>
69 </div>
70 <div class="cb-settings__tabs__item <?php echo $active_tab === 'multiple-configurations' ? 'active-item' : ''; ?>"
71 data-tab="multiple-configurations">
72 <?php esc_html_e( 'Multiple Configurations', 'cookiebot' ); ?>
73 </div>
74 </div>
75
76 <div class="cb-settings__tabs__content">
77 <div class="cb-settings__tabs__content--item <?php echo ! $active_tab || $active_tab === 'general-settings' ? 'active-item' : ''; ?>"
78 id="general-settings">
79 <?php if ( ! $cbid ) : ?>
80 <div class="cb-general__new__account">
81 <h2 class="cb-general__info__title"><?php esc_html_e( 'Do you not have an account yet?', 'cookiebot' ); ?></h2>
82 <p class="cb-general__info__text">
83 <?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' ); ?>
84 </p>
85 <div class="new-account-actions">
86 <a href="https://manage.cookiebot.com/en/signup/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner"
87 target="_blank" class="cb-btn cb-main-btn" rel="noopener">
88 <?php esc_html_e( 'Create a new Account', 'cookiebot' ); ?>
89 </a>
90 <a href="https://support.cookiebot.com/hc/en-us/articles/360003784174-Installing-Cookiebot-CMP-on-WordPress"
91 target="_blank" class="cb-btn cb-main-btn" rel="noopener">
92 <?php esc_html_e( 'Get help with connecting your account', 'cookiebot' ); ?>
93 </a>
94 </div>
95 </div>
96 <?php endif; ?>
97
98 <div class="cb-settings__config__item">
99 <div class="cb-settings__config__content">
100 <h3 class="cb-settings__config__subtitle">
101 <?php esc_html_e( 'Connect your Domain Group:', 'cookiebot' ); ?>
102 </h3>
103 <p class="cb-general__info__text">
104 <?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' ); ?>
105 </p>
106 <a href="https://support.cookiebot.com/hc/en-us/articles/4405643234194-Your-CBID-or-Domain-group-ID-and-where-to-find-it"
107 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
108 <?php esc_html_e( 'Read more on the Domain Group ID', 'cookiebot' ); ?>
109 </a>
110 </div>
111 <div class="cb-settings__config__data">
112 <div class="cb-settings__config__data__inner">
113 <h3 class="cb-settings__data__subtitle">
114 <?php esc_html_e( 'Add your Domain Group ID', 'cookiebot' ); ?>
115 </h3>
116 <input <?php echo ( $is_ms ) ? ' placeholder="' . esc_attr( $network_cbid ) . '"' : ''; ?>
117 type="text" name="cookiebot-cbid"
118 value="<?php echo esc_attr( $cbid ); ?>"
119 />
120 </div>
121 </div>
122 </div>
123
124 <div class="cb-settings__config__item">
125 <div class="cb-settings__config__content">
126 <h3 class="cb-settings__config__subtitle">
127 <?php esc_html_e( 'Language:', 'cookiebot' ); ?>
128 </h3>
129 <p class="cb-general__info__text">
130 <?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' ); ?>
131 </p>
132 <a href="https://support.cookiebot.com/hc/en-us/articles/360003793394-How-to-set-the-language-of-the-consent-banner-"
133 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
134 <?php esc_html_e( 'Read more on how to add languages', 'cookiebot' ); ?>
135 </a>
136 </div>
137 <div class="cb-settings__config__data">
138 <div class="cb-settings__config__data__inner">
139 <h3 class="cb-settings__data__subtitle">
140 <?php esc_html_e( 'Select the language', 'cookiebot' ); ?>
141 </h3>
142 <select name="cookiebot-language" id="cookiebot-language">
143 <option value="">
144 <?php esc_html_e( 'Default (Autodetect)', 'cookiebot' ); ?>
145 </option>
146 <option value="_wp"<?php echo ( $current_lang === '_wp' ) ? ' selected' : ''; ?>>
147 <?php
148 esc_html_e(
149 'Use WordPress Language',
150 'cookiebot'
151 );
152 ?>
153 </option>
154 <?php
155 foreach ( $supported_languages as $lang_code => $lang_name ) {
156 echo '<option value="' . esc_attr( $lang_code ) . '"' .
157 ( ( $current_lang === esc_attr( $lang_code ) ) ? ' selected' : '' ) .
158 '>' . esc_html( $lang_name ) . '</option>';
159 }
160 ?>
161 </select>
162 </div>
163 </div>
164 </div>
165
166 <div class="cb-settings__config__item">
167 <div class="cb-settings__config__content">
168 <h3 class="cb-settings__config__subtitle">
169 <?php esc_html_e( 'Cookie-blocking mode', 'cookiebot' ); ?>
170 </h3>
171 <p class="cb-general__info__text">
172 <?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' ); ?>
173 </p>
174 <a href="https://support.cookiebot.com/hc/en-us/articles/360009074960-Automatic-cookie-blocking"
175 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
176 <?php esc_html_e( 'Guide to auto cookie-blocking', 'cookiebot' ); ?>
177 </a>
178 <a href="https://support.cookiebot.com/hc/en-us/articles/4405978132242-Manual-cookie-blocking"
179 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
180 <?php esc_html_e( 'Guide to manual cookie-blocking', 'cookiebot' ); ?>
181 </a>
182 </div>
183 <div class="cb-settings__config__data">
184 <div class="cb-settings__config__data__inner">
185 <h3 class="cb-settings__data__subtitle">
186 <?php esc_html_e( 'Select the cookie-blocking mode', 'cookiebot' ); ?>
187 </h3>
188 <label class="recommended-item">
189 <input <?php checked( 'auto', $cookie_blocking_mode ); ?>
190 type="radio"
191 name="cookiebot-cookie-blocking-mode"
192 value="auto"
193 <?php echo $is_ms && $network_auto ? ' disabled' : ''; ?>/>
194 <?php esc_html_e( 'Automatic cookie-blocking mode', 'cookiebot' ); ?>
195 <span class="recommended-tag"><?php esc_html_e( 'Recommended', 'cookiebot' ); ?></span>
196 </label>
197 <label>
198 <input <?php checked( 'manual', $cookie_blocking_mode ); ?>
199 type="radio"
200 name="cookiebot-cookie-blocking-mode"
201 value="manual"
202 <?php echo $is_ms && $network_auto ? ' disabled' : ''; ?>/>
203 <?php esc_html_e( 'Manual cookie-blocking mode', 'cookiebot' ); ?>
204 </label>
205 <?php if ( $is_ms && $network_auto ) { ?>
206 <p class="cb-general__info__note"><?php esc_html_e( 'Disabled by active setting in Network Settings', 'cookiebot' ); ?></p>
207 <?php } ?>
208 </div>
209 </div>
210 </div>
211
212 <?php
213 $cv = get_option( 'cookiebot-script-tag-uc-attribute', 'async' );
214 $disabled = false;
215 if ( $is_ms && $network_scrip_tag_uc_attr !== 'custom' ) {
216 $disabled = true;
217 $cv = $network_scrip_tag_uc_attr;
218 }
219 $auto_disabled = $cookie_blocking_mode === 'auto' ? ' disabled__item' : '';
220 ?>
221
222 <div class="cb-settings__config__item secondary__item<?php echo esc_attr( $auto_disabled ); ?>" id="declaration-tag">
223 <div class="cb-settings__config__content">
224 <h3 class="cb-settings__config__subtitle">
225 <?php esc_html_e( 'Cookiebot™ script tag', 'cookiebot' ); ?>
226 </h3>
227 <p class="cb-general__info__text">
228 <?php esc_html_e( 'Add async or defer attribute to cookie declaration script tag', 'cookiebot' ); ?>
229 </p>
230 <p class="cb-general__info__note">
231 <?php esc_html_e( 'This feature is only available when using Manual Blocking', 'cookiebot' ); ?>
232 </p>
233 </div>
234 <div class="cb-settings__config__data">
235 <div class="cb-settings__config__data__inner">
236 <label>
237 <input
238 type="radio"
239 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
240 value="" <?php checked( '', $cv ); ?> />
241 <?php esc_html_e( 'None', 'cookiebot' ); ?>
242 </label>
243 <label>
244 <input
245 type="radio"
246 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
247 value="async" <?php checked( 'async', $cv ); ?> />
248 async
249 </label>
250 <label>
251 <input
252 type="radio"
253 name="cookiebot-script-tag-uc-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
254 value="defer" <?php checked( 'defer', $cv ); ?> />
255 defer
256 </label>
257 <?php if ( $is_ms && $network_auto || $is_ms && $network_scrip_tag_uc_attr !== 'custom' ) { ?>
258 <p class="cb-general__info__note"><?php esc_html_e( 'Disabled by active setting in Network Settings', 'cookiebot' ); ?></p>
259 <?php } ?>
260 </div>
261 </div>
262 </div>
263
264 <div class="cb-settings__config__item secondary__item<?php echo esc_attr( $auto_disabled ); ?>" id="cookie-popup">
265 <div class="cb-settings__config__content">
266 <h3 class="cb-settings__config__subtitle">
267 <?php esc_html_e( 'Hide cookie popup', 'cookiebot' ); ?>
268 </h3>
269 <p class="cb-general__info__text">
270 <?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' ); ?>
271 </p>
272 <p class="cb-general__info__note">
273 <?php esc_html_e( 'This feature is only available when using Manual Blocking', 'cookiebot' ); ?>
274 </p>
275 </div>
276 <div class="cb-settings__config__data">
277 <div class="cb-settings__config__data__inner">
278 <label>
279 <?php
280 $disabled = false;
281 if ( $is_ms && get_site_option( 'cookiebot-nooutput' ) || $is_ms && $network_auto ) {
282 $disabled = true;
283 if ( ! $network_auto ) {
284 echo '<input type="checkbox" checked disabled />';
285 } else {
286 echo '<input type="checkbox" disabled />';
287 }
288 } else {
289 ?>
290 <input type="checkbox" name="cookiebot-nooutput" value="1"
291 <?php
292 checked(
293 1,
294 get_option( 'cookiebot-nooutput', false )
295 );
296 ?>
297 />
298 <?php } ?>
299 <?php esc_html_e( 'Hide the cookie popup banner', 'cookiebot' ); ?>
300 </label>
301 <?php if ( $is_ms && get_site_option( 'cookiebot-nooutput' ) || $is_ms && $network_auto ) { ?>
302 <p class="cb-general__info__note"><?php esc_html_e( 'Disabled by active setting in Network Settings', 'cookiebot' ); ?></p>
303 <?php } ?>
304 </div>
305 </div>
306 </div>
307
308 </div>
309
310 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'additional-settings' ? 'active-item' : ''; ?>"
311 id="additional-settings">
312 <div class="cb-settings__config__item">
313 <div class="cb-settings__config__content">
314 <h3 class="cb-settings__config__subtitle">
315 <?php esc_html_e( 'Auto-update Cookiebot™ Plugin:', 'cookiebot' ); ?>
316 </h3>
317 <p class="cb-general__info__text">
318 <?php esc_html_e( 'Automatically update your Cookiebot™ plugin when new releases becomes available.', 'cookiebot' ); ?>
319 </p>
320 </div>
321 <div class="cb-settings__config__data">
322 <div class="cb-settings__config__data__inner">
323 <label class="switch-checkbox" for="cookiebot-autoupdate">
324 <input id="cookiebot-autoupdate" type="checkbox" name="cookiebot-autoupdate" value="1"
325 <?php
326 checked(
327 1,
328 get_option( 'cookiebot-autoupdate', false )
329 );
330 ?>
331 />
332 <div class="switcher"></div>
333 <?php esc_html_e( 'Automatically update Cookiebot Plugin', 'cookiebot' ); ?>
334 </label>
335 </div>
336 </div>
337 </div>
338
339 <div class="cb-settings__config__item">
340 <div class="cb-settings__config__content">
341 <h3 class="cb-settings__config__subtitle">
342 <?php esc_html_e( 'Cookiebot CMP in WP Admin:', 'cookiebot' ); ?>
343 </h3>
344 <p class="cb-general__info__text">
345 <?php esc_html_e( 'This checkbox will disable Cookiebot CMP to act within the WordPress Admin area', 'cookiebot' ); ?>
346 </p>
347 </div>
348 <div class="cb-settings__config__data">
349 <div class="cb-settings__config__data__inner">
350 <label class="switch-checkbox" for="cookiebot-nooutput-admin">
351 <?php
352 $disabled = false;
353 if ( $is_ms && get_site_option( 'cookiebot-nooutput-admin' ) ) {
354 echo '<input type="checkbox" checked disabled />';
355 $disabled = true;
356 } else {
357 ?>
358 <input id="cookiebot-nooutput-admin" type="checkbox"
359 name="cookiebot-nooutput-admin" value="1"
360 <?php
361 checked(
362 1,
363 get_option( 'cookiebot-nooutput-admin', false )
364 );
365 ?>
366 />
367 <?php
368 }
369 ?>
370 <div class="switcher"></div>
371 <?php esc_html_e( 'Disable Cookiebot CMP in the WordPress Admin area', 'cookiebot' ); ?>
372 </label>
373 <?php
374 if ( $is_ms && get_site_option( 'cookiebot-nooutput-admin' ) ) {
375 ?>
376 <p class="cb-general__info__note"><?php esc_html_e( 'Disabled by active setting in Network Settings', 'cookiebot' ); ?></p>
377 <?php } ?>
378 </div>
379 </div>
380 </div>
381
382 <div class="cb-settings__config__item">
383 <div class="cb-settings__config__content">
384 <h3 class="cb-settings__config__subtitle">
385 <?php esc_html_e( 'Cookiebot CMP on front-end while logged in:', 'cookiebot' ); ?>
386 </h3>
387 <p class="cb-general__info__text">
388 <?php esc_html_e( 'This setting will enable Cookiebot CMP on the front-end while you\'re logged in.', 'cookiebot' ); ?>
389 </p>
390 </div>
391 <div class="cb-settings__config__data">
392 <div class="cb-settings__config__data__inner">
393 <label class="switch-checkbox" for="cookiebot-output-logged-in">
394 <?php
395 $disabled = false;
396 if ( $is_ms && get_site_option( 'cookiebot-output-logged-in' ) ) {
397 echo '<input type="checkbox" checked disabled />';
398 $disabled = true;
399 } else {
400 ?>
401 <input id="cookiebot-output-logged-in" type="checkbox"
402 name="cookiebot-output-logged-in" value="1"
403 <?php
404 checked(
405 1,
406 get_option( 'cookiebot-output-logged-in', false )
407 );
408 ?>
409 />
410 <?php
411 }
412 ?>
413 <div class="switcher"></div>
414 <?php esc_html_e( 'Render Cookiebot CMP on front-end while logged in', 'cookiebot' ); ?>
415 </label>
416 </div>
417 </div>
418 </div>
419
420 <div class="cb-settings__config__item">
421 <div class="cb-settings__config__content">
422 <h3 class="cb-settings__config__subtitle">
423 <?php esc_html_e( 'Cookie declaration script tag:', 'cookiebot' ); ?>
424 </h3>
425 <p class="cb-general__info__text">
426 <?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' ); ?>
427 </p>
428 </div>
429 <div class="cb-settings__config__data">
430 <div class="cb-settings__config__data__inner">
431 <h3 class="cb-settings__data__subtitle">
432 <?php esc_html_e( 'Select the cookie declaration script loading setting', 'cookiebot' ); ?>
433 </h3>
434 <?php
435 $cv = get_option( 'cookiebot-script-tag-cd-attribute', 'async' );
436 $disabled = false;
437 if ( $is_ms && $network_scrip_tag_cd_attr !== 'custom' ) {
438 $disabled = true;
439 $cv = $network_scrip_tag_cd_attr;
440 }
441 ?>
442 <label>
443 <input
444 type="radio"
445 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
446 value="" <?php checked( '', $cv ); ?>/>
447 <?php esc_html_e( 'None', 'cookiebot' ); ?>
448 </label>
449 <label>
450 <input
451 type="radio"
452 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
453 value="async" <?php checked( 'async', $cv ); ?>/>
454 async
455 </label>
456 <label>
457 <input
458 type="radio"
459 name="cookiebot-script-tag-cd-attribute"<?php echo ( $disabled ) ? ' disabled' : ''; ?>
460 value="defer" <?php checked( 'defer', $cv ); ?>/>
461 defer
462 </label>
463 <?php if ( $disabled ) { ?>
464 <p class="cb-general__info__note"><?php esc_html_e( 'Disabled by active setting in Network Settings', 'cookiebot' ); ?></p>
465 <?php } ?>
466 </div>
467 </div>
468 </div>
469
470 <div class="cb-settings__config__item">
471 <div class="cb-settings__config__content">
472 <h3 class="cb-settings__config__subtitle">
473 <?php esc_html_e( 'Ignore scripts in queue from Cookiebot CMP scan:', 'cookiebot' ); ?>
474 </h3>
475 <p class="cb-general__info__text">
476 <?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' ); ?>
477 </p>
478 <p class="cb-general__info__text">
479 <?php esc_html_e( 'This feature only works for scripts loaded via wp_enqueue_script. Manually added scripts must be manually edited.', 'cookiebot' ); ?>
480 </p>
481 </div>
482 <div class="cb-settings__config__data">
483 <div class="cb-settings__config__data__inner">
484 <h3 class="cb-settings__data__subtitle">
485 <?php esc_html_e( 'Script source URL:', 'cookiebot' ); ?>
486 </h3>
487 <textarea
488 name="cookiebot-ignore-scripts"
489 rows="4"
490 cols="50"
491 placeholder="<?php esc_attr_e( 'Add script source URL, one per line', 'cookiebot' ); ?>"
492 ><?php echo esc_html( get_option( 'cookiebot-ignore-scripts', false ) ); ?></textarea>
493 </div>
494 </div>
495 </div>
496
497 </div>
498
499 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'tag-manager' ? 'active-item' : ''; ?>"
500 id="tag-manager">
501 <?php $gtm_settings = new Gtm_Page(); ?>
502 <?php $gtm_settings->display(); ?>
503 </div>
504
505 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'consent-mode' ? 'active-item' : ''; ?>"
506 id="consent-mode">
507 <?php $gcm_settings = new Gcm_Page(); ?>
508 <?php $gcm_settings->display(); ?>
509 </div>
510
511 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'iab' ? 'active-item' : ''; ?>"
512 id="iab">
513 <?php $iab_settings = new Iab_Page(); ?>
514 <?php $iab_settings->display(); ?>
515 </div>
516
517 <div class="cb-settings__tabs__content--item <?php echo $active_tab === 'multiple-configurations' ? 'active-item' : ''; ?>"
518 id="multiple-configurations">
519 <?php $multiple_settings = new Multiple_Page(); ?>
520 <?php $multiple_settings->display(); ?>
521 </div>
522
523 </div>
524 </form>
525 </div>
526 </div>
527 </div>
528