PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.13.6
Independent Analytics – WordPress Analytics Plugin v2.13.6
2.15.5 2.15.4 2.15.3 2.15.2 2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / views / real-time.blade.php
independent-analytics / views Last commit date
click-tracking 1 year ago date-picker 1 year ago email 10 months ago examiner 1 year ago icons 9 months ago integrations 1 year ago interrupt 1 year ago notices 1 year ago overview 10 months ago partials 9 months ago settings 10 months ago tables 10 months ago campaign-builder.blade.php 1 year ago chart.blade.php 1 year ago debug.blade.php 1 year ago plugin-group-options.blade.php 1 year ago quick-stat-loading.blade.php 1 year ago quick-stat.blade.php 1 year ago quick-stats.blade.php 1 year ago real-time.blade.php 1 year ago support.blade.php 1 year ago updates.blade.php 10 months ago woocommerce-order-meta-box.blade.php 10 months ago
real-time.blade.php
114 lines
1 <div id="report-title-bar" class="report-title-bar">
2 <div class="primary-report-title-container">
3 <h1 class="report-title"><?php esc_html_e('Real-Time', 'independent-analytics'); ?></h1>
4 </div>
5
6 <div class="buttons">
7 <div>
8 <button id="favorite-report-button"
9 data-controller="set-favorite-report"
10 data-set-favorite-report-type-value="real-time"
11 data-action="set-favorite-report#setFavoriteReport"
12 class="iawp-button favorite <?php echo $env->is_favorite('real-time') ? 'active' : ''; ?>"
13 >
14 <span class="dashicons dashicons-star-filled"></span>
15 <?php esc_html_e('Make default', 'independent-analytics'); ?>
16 </button>
17 </div>
18 </div>
19 </div>
20
21
22 <div id="real-time-dashboard" class="real-time-dashboard refreshed"
23 data-controller="real-time"
24 data-real-time-chart-data-value="<?php echo esc_attr(json_encode($chart_data)) ?>"
25 data-real-time-nonce-value="<?php echo wp_create_nonce('iawp_real_time') ?>"
26 >
27 <div class="iawp-heading">
28 <div class="iawp-title">
29 <div class="iawp-title-inner">
30 <svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1"
31 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
32 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
33 <g>
34 <circle class="recording-icon-outer" fill="#F2998F" cx="16" cy="16"
35 r="16"></circle>
36 <circle class="recording-icon-inner" fill="#D93B29" cx="16" cy="16"
37 r="9.70491803"></circle>
38 </g>
39 </g>
40 </svg>
41 <span data-real-time-target="visitorMessage" data-testid="real-time-title"><?php echo esc_html($visitor_message) ?></span>
42 <a class="learn-more" href="#">
43 <span class="dashicons dashicons-info-outline"></span>
44 <div class="tooltip">
45 <p><?php esc_html_e('Active Visitors is the number of people who have viewed a page within the last 5 minutes.', 'independent-analytics'); ?></p>
46 </div>
47 </a>
48 </div>
49 </div>
50 <div class="iawp-overview"><span
51 data-real-time-target="pageMessage" data-testid="page-count"><?php echo esc_html($page_message) ?></span>
52 &#8226; <span
53 data-real-time-target="referrerMessage" data-testid="referrer-count"><?php echo esc_html($referrer_message); ?></span>
54 &#8226; <span
55 data-real-time-target="countryMessage" data-testid="country-count"><?php echo esc_html($country_message) ?></span>
56 </div>
57 </div>
58
59 <div id="charts" class="charts">
60 <div class="chart-container">
61 <div class="chart-inner">
62 <div class="legend-container">
63 <h2 class="legend-title"><?php esc_html_e('The Last 5 Minutes', 'independent-analytics') ?></h2>
64 <div class="legend"></div>
65 </div>
66 <canvas data-real-time-target="secondChart"
67 width="400"
68 height="200"></canvas>
69 </div>
70 </div>
71 <div class="chart-container">
72 <div class="chart-inner">
73 <div class="legend-container">
74 <h2 class="legend-title"><?php esc_html_e('The Last 30 Minutes', 'independent-analytics') ?></h2>
75 <div class="legend"></div>
76 </div>
77 <canvas data-real-time-target="minuteChart"
78 width="400"
79 height="200"></canvas>
80 </div>
81 </div>
82 </div>
83 <div class="most-popular-container">
84 <?php foreach ($lists as $list_id => $list) : ?>
85 <div class="most-popular-list" data-testid="<?php echo esc_attr(sanitize_title($list['title'])); ?>">
86 <div class="heading">
87 <div class="title-med"><?php echo esc_html($list['title']) ?></div>
88 <div class="views-heading"><?php esc_html_e('Views', 'independent-analytics'); ?></div>
89 </div>
90 <ol data-real-time-target="<?php echo esc_attr($list_id) ?>List">
91 <?php foreach ($list['entries'] as $index => $item): ?>
92 <li data-id="<?php echo esc_attr($item['id']) ?>"
93 data-position="<?php echo esc_attr($index + 1); ?>"
94 >
95 <span class="real-time-position"><?php echo absint($index + 1) ?>.</span>
96 <?php if (!empty($item['flag'])): ?>
97 <?php echo $item['flag'] ?>
98 <?php endif; ?>
99 <span class="real-time-resource">
100 <?php echo esc_html($item['title']) ?>
101
102 <?php if (!empty($item['subtitle'])): ?>
103 <span class="real-time-subtitle"><?php echo esc_html($item['subtitle']); ?></span>
104 <?php endif; ?>
105 </span>
106 <span class="real-time-stat"><?php echo absint($item['views']) ?></span>
107 </li>
108 <?php endforeach; ?>
109 </ol>
110 <p class="most-popular-empty-message <?php echo count($list['entries']) > 0 ? esc_attr('hide') : '' ?>"><?php esc_html_e('No results in the last 5 minutes.', 'independent-analytics') ?></p>
111 </div>
112 <?php endforeach; ?>
113 </div>
114 </div>