PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.11
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.11
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 / gcm-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 3 years ago gtm-page.php 3 years ago iab-page.php 3 years ago legislations-page.php 3 years ago network-settings-page.php 3 years ago settings-page.php 3 years ago support-page.php 3 years ago
gcm-page.php
86 lines
1 <?php
2 /**
3 * @var string $cookie_categories_disabled
4 * @var string $gcm_enabled_option
5 * @var string $gcm_url_passthrough_option
6 * @var string $auto_disabled
7 * @var bool $is_preferences
8 * @var bool $is_statistics
9 * @var bool $is_marketing
10 */
11 ?>
12 <div class="cb-general__consent__mode">
13 <h2 class="cb-general__info__title">
14 <?php esc_html_e( 'What is Google Consent Mode and why should you enable it?', 'cookiebot' ); ?>
15 </h2>
16 <p class="cb-general__info__text">
17 <?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' ); ?>
18 </p>
19 <p class="cb-general__info__text">
20 <?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' ); ?>
21 </p>
22 <a class="cb-btn cb-link-btn" target="_blank" rel="noopener"
23 href="https://support.cookiebot.com/hc/en-us/articles/360016047000-Cookiebot-and-Google-Consent-Mode">
24 <?php esc_html_e( 'Read more about Cookiebot CMP and Google Consent Mode', 'cookiebot' ); ?>
25 </a>
26 </div>
27
28 <div class="cb-settings__config__item">
29 <div class="cb-settings__config__content">
30 <h3 class="cb-settings__config__subtitle">
31 <?php esc_html_e( 'Google Consent Mode:', 'cookiebot' ); ?>
32 </h3>
33 <p class="cb-general__info__text">
34 <?php esc_html_e( 'Enable Google Consent Mode with default settings on your WordPress page.', 'cookiebot' ); ?>
35 </p>
36 <a class="cb-btn cb-link-btn" target="_blank" rel="noopener"
37 href="https://support.cookiebot.com/hc/en-us/articles/360016047000-Cookiebot-and-Google-Consent-Mode">
38 <?php esc_html_e( 'Read more', 'cookiebot' ); ?>
39 </a>
40 </div>
41 <div class="cb-settings__config__data">
42 <div class="cb-settings__config__data__inner">
43 <label class="switch-checkbox" for="gcm">
44 <input
45 type="checkbox"
46 name="cookiebot-gcm"
47 id="gcm"
48 value="1" <?php checked( 1, $gcm_enabled_option ); ?>>
49 <div class="switcher"></div>
50 <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?>
51 <?php echo ( $gcm_enabled_option === '1' ) ? 'enabled' : 'disabled'; ?>
52 </label>
53 <input type="hidden" name="cookiebot-gcm-first-run" value="1">
54 </div>
55 </div>
56 </div>
57
58 <div class="cb-settings__config__item"<?php echo ( $gcm_enabled_option === '1' ) ? '' : ' style="display: none"'; ?>>
59 <div class="cb-settings__config__content">
60 <h3 class="cb-settings__config__subtitle">
61 <?php esc_html_e( 'URL passthrough:', 'cookiebot' ); ?>
62 </h3>
63 <p class="cb-general__info__text">
64 <?php esc_html_e( 'This feature will allow you to pass data between pages when not able to use cookies without/prior consent.', 'cookiebot' ); ?>
65 </p>
66 <a class="cb-btn cb-link-btn" target="_blank" rel="noopener"
67 href="https://developers.google.com/tag-platform/devguides/consent#passing_ad_click_client_id_and_session_id_information_in_urls">
68 <?php esc_html_e( 'Read more', 'cookiebot' ); ?>
69 </a>
70 </div>
71 <div class="cb-settings__config__data">
72 <div class="cb-settings__config__data__inner">
73 <label class="switch-checkbox" for="gcm-url-pasthrough">
74 <input
75 type="checkbox"
76 name="cookiebot-gcm-url-passthrough"
77 id="gcm-url-pasthrough"
78 value="1" <?php checked( 1, $gcm_url_passthrough_option ); ?>>
79 <div class="switcher"></div>
80 <?php esc_html_e( 'URL passthrough', 'cookiebot' ); ?>
81 <?php echo ( $gcm_url_passthrough_option === '1' ) ? 'enabled' : 'disabled'; ?>
82 </label>
83 </div>
84 </div>
85 </div>
86