PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / view / templates / gdpr.php
googleanalytics / view / templates Last commit date
sidebar 2 months ago appearance.php 2 months ago date-custom-range-filter.php 2 months ago demo-popup.php 2 months ago demographic-chart.php 2 months ago demographic.php 2 months ago exclusions.php 2 months ago ga4-dashboard.php 2 months ago ga4-demographic-chart.php 2 months ago gdpr-config.php 2 months ago gdpr.php 2 months ago purposes.php 2 months ago
gdpr.php
29 lines
1 <?php
2 /**
3 * GDPR view.
4 *
5 * @package GoogleAnalytics
6 */
7
8 if (!defined('ABSPATH')) exit;
9 ?>
10 <?php if ( true === empty( $gdpr_config ) ) : ?>
11 <tr>
12 <th scope="row"><?php esc_html_e( 'Enable GDPR Consent Management Tool', 'googleanalytics' ); ?>:</th>
13 </tr>
14 <tr>
15 <?php if ( true === Ga_Helper::are_features_enabled() ) : ?>
16 <td>
17 <button class="gdpr-enable"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button>
18 </td>
19 <?php else : ?>
20 <td>
21 <label class="<?php echo esc_attr( false === Ga_Helper::are_features_enabled() ? 'label-grey ga-tooltip' : '' ); ?>">
22 <button class="gdpr-enable" disabled="disabled"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button>
23 <span class="ga-tooltiptext ga-tt-abs"><?php echo esc_html( $tooltip ); ?></span>
24 </label>
25 </td>
26 <?php endif; ?>
27 </tr>
28 <?php endif; ?>
29