PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 2.5.0
ShareThis Dashboard for Google Analytics v2.5.0
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 / demographic-chart.php
googleanalytics / view / templates Last commit date
sidebar 5 years ago appearance.php 5 years ago demo-popup.php 5 years ago demographic-chart.php 5 years ago demographic.php 5 years ago exclusions.php 5 years ago gdpr-config.php 5 years ago gdpr.php 5 years ago purposes.php 5 years ago
demographic-chart.php
62 lines
1 <?php if(!$demo_enabled) : ?>
2 <div class="demo-ad ga-panel ga-panel-default">
3 <div class="ga-panel-heading">
4 <strong>
5 <?php esc_html_e('Get Demographic Data!'); ?>
6 <button id="demographic-popup">
7 <?php esc_html_e('Click Here To Enable', 'googleanalytics'); ?>
8 </button>
9 </strong>
10 </div>
11 <img src="<?php echo trailingslashit(get_home_url()) . 'wp-content/plugins/googleanalytics/assets/images/demo-ad.png'; ?>" />
12 </div>
13 <?php elseif ($need_account_demo_enable) : ?>
14 <div class="demo-ad ga-panel ga-panel-default">
15 <div class="ga-panel-heading">
16 <strong>
17 <?php esc_html_e('If no demographics data is shown, you\'ll most likely need to enable "Demographics" within Google Analytics or there\'s insufficient Demographic data to display.
18 We recommend viewing your Google Analytics account to determine best solution:'); ?>
19 <br>
20 <a href="<?php echo esc_url( $demographic_page_url ); ?>/" class="view-report" target="_blank">
21 <?php echo esc_html__('Go to my account' ); ?>
22 </a>
23 </strong>
24 </div>
25 </div>
26 <?php else: ?>
27 <div class="filter-choices">
28 <a href="<?php echo get_admin_url('', $seven_url ); ?>" class="<?php echo esc_attr( $selected7 ); ?>">
29 7 days
30 </a>
31 <a href="<?php echo get_admin_url('', $thirty_url ); ?>" class="<?php echo esc_attr( $selected30 ); ?>">
32 30 days
33 </a>
34 </div>
35 <div class="demo-ad ga-panel ga-panel-default">
36 <div class="ga-panel-heading">
37 <strong>
38 <?php esc_html_e('Demographic by sessions'); ?>
39 </strong>
40 </div>
41 <div class="ga-demo-chart">
42 <div class="ga-panel-body ga-chart gender">
43 <div id="demo_chart_gender_div" style="width: 100%;"></div>
44 <div class="ga-loader-wrapper stats-page">
45 <div class="ga-loader stats-page-loader"></div>
46 </div>
47 </div>
48 <div class="ga-panel-body ga-chart gender">
49 <div id="demo_chart_age_div" style="width: 100%;"></div>
50 <div class="ga-loader-wrapper stats-page">
51 <div class="ga-loader stats-page-loader"></div>
52 </div>
53 </div>
54 </div>
55 </div>
56 <a href="<?php echo esc_url( $demographic_page_url ); ?>/" class="view-report" target="_blank">
57 <?php echo esc_html__('View Full Report' ); ?>
58 </a>
59 <hr>
60 <?php
61 endif;
62