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