PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.3
ShareThis Dashboard for Google Analytics v3.2.3
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 / statistics.php
googleanalytics / view Last commit date
templates 3 years ago ga-accounts-selector.php 4 years ago ga-auth-button.php 3 years ago ga-code.php 4 years ago ga-dashboard-widget.php 4 years ago ga-debug-modal.php 2 years ago ga-ga4-settings.php 3 years ago ga-googleanalytics-loader.php 4 years ago ga-notice.php 3 years ago ga-oauth-notice.php 4 years ago ga-wp-notice.php 4 years ago old-page.php 3 years ago page.php 3 years ago statistics.php 3 years ago stats.php 2 years ago trending.php 4 years ago
statistics.php
89 lines
1 <?php
2 /**
3 * Statistics view.
4 *
5 * @package GoogleAnalytics
6 */
7
8 $data = isset( $data ) ? $data : '';
9 ?>
10 <div class="wrap ga-wrap">
11 <h2>Google Analytics - <?php echo esc_html__( 'Dashboard', 'googleanalytics' ); ?></h2>
12 <div class="ga_container" id="exTab2" style="width: 100%;">
13 <?php
14 echo wp_kses(
15 $data,
16 array(
17 'a' => array(
18 'class' => array(),
19 'href' => array(),
20 ),
21 'button' => array(
22 'class' => array(),
23 'id' => array(),
24 'onclick' => array(),
25 ),
26 'div' => array(
27 'class' => array(),
28 'id' => array(),
29 'data-scroll' => array(),
30 'style' => array(),
31 ),
32 'form' => array(
33 'action' => array(),
34 'method' => array(),
35 ),
36 'input' => array(
37 'name' => array(),
38 'type' => array(),
39 'value' => array(),
40 ),
41 'img' => array(
42 'src' => array(),
43 ),
44 'label' => array(
45 'for' => array(),
46 ),
47 'p' => array(),
48 'script' => array(),
49 'strong' => array(),
50 'table' => array(
51 'class' => array(),
52 ),
53 'td' => array(
54 'class' => array(),
55 'colspan' => array(),
56 'style' => array(),
57 ),
58 'th' => array(
59 'style' => array(),
60 ),
61 'tr' => array(),
62 )
63 );
64 ?>
65 </div>
66
67 <?php if ( true === empty( get_option( 'googleanalytics-hide-review' ) ) ) : ?>
68 <div class="ga-review-us">
69 <h3>
70 <?php esc_html_e( 'Love this plugin?', 'googleanalytics' ); ?>
71 <br>
72 <a href="https://wordpress.org/support/plugin/googleanalytics/reviews/#new-post">
73 <?php
74 esc_html_e(
75 'Please spread the word by leaving us a 5 star review!',
76 'googleanalytics'
77 );
78 ?>
79 </a>
80 <p><div id="close-review-us"><?php esc_html_e( 'close' ); ?></div></p>
81 </h3>
82 </div>
83 <?php endif; ?>
84 </div>
85 <script type="text/javascript">
86 const GA_NONCE = '<?php echo esc_js( wp_create_nonce( 'ga_ajax_data_change' ) ); ?>';
87 const GA_NONCE_FIELD = '<?php echo esc_js( Ga_Admin_Controller::GA_NONCE_FIELD_NAME ); ?>';
88 </script>
89