PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 2.5.2
ShareThis Dashboard for Google Analytics v2.5.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 / ga_code.php
googleanalytics / view Last commit date
templates 4 years ago ga_accounts_selector.php 9 years ago ga_auth_button.php 9 years ago ga_code.php 7 years ago ga_dashboard_widget.php 9 years ago ga_debug_modal.php 6 years ago ga_googleanalytics_loader.php 7 years ago ga_notice.php 4 years ago ga_oauth_notice.php 9 years ago ga_wp_notice.php 9 years ago page.php 5 years ago statistics.php 6 years ago stats.php 4 years ago trending.php 8 years ago
ga_code.php
25 lines
1 <script>
2 (function() {
3 (function (i, s, o, g, r, a, m) {
4 i['GoogleAnalyticsObject'] = r;
5 i[r] = i[r] || function () {
6 (i[r].q = i[r].q || []).push(arguments)
7 }, i[r].l = 1 * new Date();
8 a = s.createElement(o),
9 m = s.getElementsByTagName(o)[0];
10 a.async = 1;
11 a.src = g;
12 m.parentNode.insertBefore(a, m)
13 })(window, document, 'script', 'https://google-analytics.com/analytics.js', 'ga');
14
15 ga('create', '<?php echo esc_attr( $data[ Ga_Admin::GA_WEB_PROPERTY_ID_OPTION_NAME ] ); ?>', 'auto');
16 <?php if ( 'on' === $data['anonymization'] ) : ?>
17 ga('set', 'anonymizeIp', true);
18 <?php endif; ?>
19 <?php if ( ! empty( $data['optimize'] ) ) : ?>
20 ga('require', '<?php echo esc_html( $data['optimize'] ); ?>' );
21 <?php endif; ?>
22 ga('send', 'pageview');
23 })();
24 </script>
25