sidebar
3 years ago
appearance.php
4 years ago
date-custom-range-filter.php
4 years ago
demo-popup.php
4 years ago
demographic-chart.php
4 years ago
demographic.php
4 years ago
exclusions.php
4 years ago
ga4-dashboard.php
3 years ago
ga4-demographic-chart.php
3 years ago
gdpr-config.php
4 years ago
gdpr.php
4 years ago
purposes.php
4 years ago
gdpr.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * GDPR view. |
| 4 | * |
| 5 | * @package GoogleAnalytics |
| 6 | */ |
| 7 | |
| 8 | ?> |
| 9 | <?php if ( true === empty( $gdpr_config ) ) : ?> |
| 10 | <tr> |
| 11 | <th scope="row"><?php esc_html_e( 'Enable GDPR Consent Management Tool', 'googleanalytics' ); ?>:</th> |
| 12 | </tr> |
| 13 | <tr> |
| 14 | <?php if ( true === Ga_Helper::are_features_enabled() ) : ?> |
| 15 | <td> |
| 16 | <button class="gdpr-enable"><?php esc_html_e( 'Enable' ); ?></button> |
| 17 | </td> |
| 18 | <?php else : ?> |
| 19 | <td> |
| 20 | <label class="<?php echo esc_attr( false === Ga_Helper::are_features_enabled() ? 'label-grey ga-tooltip' : '' ); ?>"> |
| 21 | <button class="gdpr-enable" disabled="disabled"><?php esc_html_e( 'Enable' ); ?></button> |
| 22 | <span class="ga-tooltiptext ga-tt-abs"><?php echo esc_html( $tooltip ); ?></span> |
| 23 | </label> |
| 24 | </td> |
| 25 | <?php endif; ?> |
| 26 | </tr> |
| 27 | <?php endif; ?> |
| 28 |