PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.3.3
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.3.3
3.3.3 3.3.2 3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 158 releases
← All changes | includes/Admin/views/analytics.views.php +48 -0 0.2.5.7 → 3.3.3 View file →
@@ -1,0 +1,48 @@
1 +<?php
2 +if ( ! defined( 'ABSPATH' ) ) {
3 + exit;
4 +}
5 +?>
6 +<div class="nx-analytics-header-counter-wrapper <?php echo esc_attr( $class ); ?>">
7 + <div class="nx-header-analytics-counter-wrapper">
8 + <div>
9 + <div class="nx-header-analytics-counter">
10 + <a href="<?php echo esc_url( $views_link );?> ">
11 + <span class="nx-counter-icon">
12 + <img src="<?php echo esc_url( self::ASSET_URL . 'images/analytics/views-icon.png' ); ?>" alt="<?php esc_html_e( 'Total Views', 'notificationx' ); ?>">
13 + </span>
14 + <div>
15 + <span class="nx-counter-number"><?php echo esc_html( $views ); ?></span>
16 + <span class="nx-counter-label"><?php esc_html_e( 'Total Views', 'notificationx' ); ?></span>
17 + </div>
18 + </a>
19 + </div>
20 + </div>
21 + <div>
22 + <div class="nx-header-analytics-counter">
23 + <a href="<?php echo esc_url( $clicks_link );?> ">
24 + <span class="nx-counter-icon">
25 + <img src="<?php echo esc_url( self::ASSET_URL . 'images/analytics/clicks-icon.png' ); ?>" alt="<?php esc_html_e( 'Total Clicks', 'notificationx' ); ?>">
26 + </span>
27 + <div>
28 + <span class="nx-counter-number"><?php echo esc_html( $clicks ); ?></span>
29 + <span class="nx-counter-label"><?php esc_html_e( 'Total Clicks', 'notificationx' ); ?></span>
30 + </div>
31 + </a>
32 + </div>
33 + </div>
34 + <div>
35 + <div class="nx-header-analytics-counter">
36 + <a href="<?php echo esc_url( $ctr_link );?> ">
37 + <span class="nx-counter-icon">
38 + <img src="<?php echo esc_url( self::ASSET_URL . 'images/analytics/ctr-icon.png' ); ?>" alt="<?php esc_html_e( 'Click-Through-Rate', 'notificationx' ); ?>">
39 + </span>
40 + <div>
41 + <span class="nx-counter-number"><?php echo esc_html( round( $ctr, 2 ) ); ?>%</span>
42 + <span class="nx-counter-label"><?php esc_html_e( 'Click-Through-Rate', 'notificationx' ); ?></span>
43 + </div>
44 + </a>
45 + </div>
46 + </div>
47 + </div>
48 +</div>