PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.3.2
ShareThis Dashboard for Google Analytics v3.3.2
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 / sidebar / demo-ad.php
googleanalytics / view / templates / sidebar Last commit date
demo-ad.php 2 months ago gdpr-ad.php 2 months ago
demo-ad.php
74 lines
1 <?php
2 /**
3 * Template for GDPR side bar ad in settings page.
4 *
5 * @package GoogleAnalytics
6 */
7
8 if (!defined('ABSPATH')) exit;
9 ?>
10 <div class="sidebar-ad">
11 <div id="demo-ad">
12 <h2 style="text-decoration: underline;">
13 <?php esc_html_e( 'Demographics data now available!', 'googleanalytics' ); ?>
14 </h2>
15 <div class="row">
16 <div class="col-md-12">
17 <img width="600px" src="<?php echo esc_url( $plugin_uri . 'assets/images/demographics-ex.png' ); ?>"/>
18 </div>
19 <div class="col-md-6">
20 <p>
21 <?php esc_html_e( 'Find out more about your target audience by enabling the demographics feature!', 'googleanalytics' ); ?>
22 </p>
23 <h3><?php esc_html_e( 'Why Collect Demographics and Interests Data?', 'googleanalytics' ); ?></h3>
24 <p>
25 <?php
26 esc_html_e(
27 'By viewing demographics data, you will learn more details about your visitors so you can deliver content/create products that address their needs!',
28 'googleanalytics'
29 );
30 ?>
31 </p>
32 </div>
33 <div class="col-md-6">
34 <h3><?php esc_html_e( 'Gender', 'googleanalytics' ); ?></h3>
35 <p>
36 <?php
37 esc_html_e(
38 'Understanding exactly which gender visits different areas of your website, could allow you to optimise those areas accordingly.',
39 'googleanalytics'
40 );
41 ?>
42 </p>
43 </div>
44 </div>
45 <div class="row">
46 <div class="col-md-6">
47 <h3><?php esc_html_e( 'Age', 'googleanalytics' ); ?></h3>
48 <p>
49 <?php
50 esc_html_e(
51 'Determine your site\'s age demographic and make the site more friendly to use for that group.',
52 'googleanalytics'
53 );
54 ?>
55 </p>
56 </div>
57 </div>
58 <div class="row register-section">
59 <?php if ( true === Ga_Helper::are_features_enabled() ) : ?>
60 <td>
61 <button id="demographic-popup"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button>
62 </td>
63 <?php else : ?>
64 <td>
65 <label class="<?php echo esc_attr( false === Ga_Helper::are_features_enabled() ? 'label-grey ga-tooltip' : '' ); ?>">
66 <button class="gdpr-enable" disabled="disabled"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button>
67 <span class="ga-tooltiptext ga-tt-abs"><?php echo esc_html( $tooltip ); ?></span>
68 </label>
69 </td>
70 <?php endif; ?>
71 </div>
72 </div>
73 </div>
74