additional-page.php
1 year ago
embeddings-page.php
1 year ago
gcm-page.php
1 year ago
general-page.php
1 year ago
gtm-page.php
1 year ago
gcm-page.php
50 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( 'Integration with Google Consent Mode', 'cookiebot' ); ?> |
| 15 | </h2> |
| 16 | <p class="cb-general__info__text"> |
| 17 | <?php esc_html_e( 'The Usercentrics Cookiebot WordPress Plugin and Google Consent Mode integrate seamlessly, providing plug-and-play privacy compliance and effortless use of all Google services in one solution.', 'cookiebot' ); ?> |
| 18 | </p> |
| 19 | <a class="cb-btn cb-link-btn" target="_blank" rel="noopener" |
| 20 | href="https://support.cookiebot.com/hc/en-us/articles/360016047000-Implementing-Google-consent-mode#h_01J03HKJ8K2WPB1HJZQQ5BDMQQ"> |
| 21 | <?php esc_html_e( 'Learn more', 'cookiebot' ); ?> |
| 22 | </a> |
| 23 | </div> |
| 24 | |
| 25 | <div class="cb-settings__config__item"> |
| 26 | <div class="cb-settings__config__content"> |
| 27 | <h3 class="cb-settings__config__subtitle"> |
| 28 | <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?> |
| 29 | </h3> |
| 30 | <p class="cb-general__info__text"> |
| 31 | <?php esc_html_e( 'Enable Google Consent Mode integration within your Usercentrics Cookiebot WordPress Plugin.', 'cookiebot' ); ?> |
| 32 | </p> |
| 33 | </div> |
| 34 | <div class="cb-settings__config__data"> |
| 35 | <div class="cb-settings__config__data__inner"> |
| 36 | <label class="switch-checkbox" for="gcm"> |
| 37 | <input |
| 38 | type="checkbox" |
| 39 | name="cookiebot-gcm" |
| 40 | id="gcm" |
| 41 | value="1" <?php checked( 1, $gcm_enabled_option ); ?>> |
| 42 | <div class="switcher"></div> |
| 43 | <?php esc_html_e( 'Google Consent Mode', 'cookiebot' ); ?> |
| 44 | <?php echo ( $gcm_enabled_option === '1' ) ? 'enabled' : 'disabled'; ?> |
| 45 | </label> |
| 46 | <input type="hidden" name="cookiebot-gcm-first-run" value="1"> |
| 47 | </div> |
| 48 | </div> |
| 49 | </div> |
| 50 |