PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.9
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.9
7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / settings / tab-metrics.php
wordpress-popup / views / admin / settings Last commit date
analytics 3 years ago data 3 years ago dialogs 9 months ago general 9 months ago permissions 5 years ago privacy 5 years ago recaptcha 6 years ago unsubscribe 9 months ago tab-accessibility.php 6 years ago tab-analytics.php 3 years ago tab-data.php 4 years ago tab-general.php 3 years ago tab-metrics.php 3 years ago tab-palettes.php 3 years ago tab-permissions.php 3 years ago tab-privacy.php 6 years ago tab-recaptcha.php 6 years ago tab-unsubscribe.php 6 years ago
tab-metrics.php
154 lines
1 <?php
2 /**
3 * Metrics tab.
4 *
5 * @package Hustle
6 * @since 4.0.0
7 */
8
9 ?>
10 <div id="top-metrics-box" class="sui-box" data-tab="metrics" <?php echo 'metrics' !== $section ? 'style="display: none;"' : ''; ?>>
11
12 <div class="sui-box-header">
13 <h2 class="sui-box-title"><?php esc_html_e( 'Top Metrics', 'hustle' ); ?></h2>
14 </div>
15
16 <form id="hustle-top-metrics-settings-form" class="sui-box-body">
17
18 <p><?php /* translators: Plugin name */ echo esc_html( sprintf( __( 'Choose the top metrics which are most relevant to your goals. These metrics will be visible on the %s’s main dashboard area.', 'hustle' ), Opt_In_Utils::get_plugin_name() ) ); ?></p>
19
20 <?php if ( Hustle_Settings_Admin::global_tracking() ) { ?>
21
22 <div class="sui-form-field">
23 <label for="hustle-metrics-rate" class="sui-checkbox">
24 <input type="checkbox"
25 name="metrics[]"
26 value="average_conversion_rate"
27 id="hustle-metrics-rate"
28 <?php checked( in_array( 'average_conversion_rate', $stored_metrics, true ) ); ?> />
29 <span aria-hidden="true"
30 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
31 <span><?php esc_html_e( 'Average Conversion Rate', 'hustle' ); ?></span>
32 </label>
33 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The average conversion rate is the total number of conversions divided by the total number of views on all the modules.', 'hustle' ); ?></span>
34 </div>
35
36 <div class="sui-form-field">
37 <label for="hustle-metrics-today" class="sui-checkbox">
38 <input type="checkbox"
39 name="metrics[]"
40 value="today_conversions"
41 id="hustle-metrics-today"
42 <?php checked( in_array( 'today_conversions', $stored_metrics, true ) ); ?> />
43 <span aria-hidden="true"
44 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
45 <span><?php esc_html_e( "Today's Conversion", 'hustle' ); ?></span>
46 </label>
47 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The total number of conversions that happened today from each module.', 'hustle' ); ?></span>
48 </div>
49
50 <div class="sui-form-field">
51 <label for="hustle-metrics-week" class="sui-checkbox">
52 <input type="checkbox"
53 name="metrics[]"
54 value="last_week_conversions"
55 id="hustle-metrics-week"
56 <?php checked( in_array( 'last_week_conversions', $stored_metrics, true ) ); ?> />
57 <span aria-hidden="true"
58 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
59 <span><?php esc_html_e( "Last 7 Day's Conversion", 'hustle' ); ?></span>
60 </label>
61 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The total number of conversions that happened in the last 7 days from each module.', 'hustle' ); ?></span>
62 </div>
63
64 <div class="sui-form-field">
65 <label for="hustle-metrics-month" class="sui-checkbox">
66 <input type="checkbox"
67 name="metrics[]"
68 value="last_month_conversions"
69 id="hustle-metrics-month"
70 <?php checked( in_array( 'last_month_conversions', $stored_metrics, true ) ); ?> />
71 <span aria-hidden="true"
72 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
73 <span><?php esc_html_e( "Last 1 Month's conversion", 'hustle' ); ?></span>
74 </label>
75 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The total number of conversions that happened in the last month from each module.', 'hustle' ); ?></span>
76 </div>
77
78 <div class="sui-form-field">
79 <label for="hustle-metrics-total" class="sui-checkbox">
80 <input type="checkbox"
81 name="metrics[]"
82 value="total_conversions"
83 id="hustle-metrics-total"
84 <?php checked( in_array( 'total_conversions', $stored_metrics, true ) ); ?> />
85 <span aria-hidden="true"
86 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
87 <span><?php esc_html_e( 'Total Conversions', 'hustle' ); ?></span>
88 </label>
89 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The sum of all the conversions that happened up to today from each module.', 'hustle' ); ?></span>
90 </div>
91
92 <div class="sui-form-field">
93 <label for="hustle-metrics-most" class="sui-checkbox">
94 <input type="checkbox"
95 name="metrics[]"
96 value="most_conversions"
97 id="hustle-metrics-most"
98 <?php checked( in_array( 'most_conversions', $stored_metrics, true ) ); ?> />
99 <span aria-hidden="true"
100 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
101 <span><?php esc_html_e( 'Most Conversions', 'hustle' ); ?></span>
102 </label>
103 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The module which has the highest number of conversions.', 'hustle' ); ?></span>
104 </div>
105
106 <?php } ?>
107
108 <div class="sui-form-field">
109 <label for="hustle-metrics-inactive-modules" class="sui-checkbox">
110 <input type="checkbox"
111 name="metrics[]"
112 value="inactive_modules_count"
113 id="hustle-metrics-inactive-modules"
114 <?php checked( in_array( 'inactive_modules_count', $stored_metrics, true ) ); ?> />
115 <span aria-hidden="true"
116 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
117 <span><?php esc_html_e( 'Inactive Modules', 'hustle' ); ?></span>
118 </label>
119 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The total number of modules which are currently inactive. This will include all the drafts and unpublished modules.', 'hustle' ); ?></span>
120 </div>
121
122 <div class="sui-form-field">
123 <label for="hustle-metrics-total-modules" class="sui-checkbox">
124 <input type="checkbox"
125 name="metrics[]"
126 value="total_modules_count"
127 id="hustle-metrics-total-modules"
128 <?php checked( in_array( 'total_modules_count', $stored_metrics, true ) ); ?> />
129 <span aria-hidden="true"
130 data-tooltip="<?php esc_html_e( 'You can only select up to 3 metrics', 'hustle' ); ?>"></span>
131 <span><?php esc_html_e( 'Total Modules', 'hustle' ); ?></span>
132 </label>
133 <span class="sui-description sui-checkbox-description"><?php esc_html_e( 'The total number of modules regardless of their status.', 'hustle' ); ?></span>
134 </div>
135
136 </form>
137
138 <div class="sui-box-footer">
139 <div class="sui-actions-right">
140 <div class="sui-tooltip-top-right" data-tooltip="<?php esc_html_e( 'Please select 3 metrics to save settings.', 'hustle' ); ?>">
141 <button
142 class="sui-button sui-button-blue hustle-settings-save"
143 data-form-id="hustle-top-metrics-settings-form"
144 data-target="top_metrics"
145 >
146 <span class="sui-loading-text"><?php esc_html_e( 'Save Settings', 'hustle' ); ?></span>
147 <span class="sui-icon-loader sui-loading" aria-hidden="true"></span>
148 </button>
149 </div>
150 </div>
151 </div>
152
153 </div>
154