PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.3
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.3
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / views / admin / keywords-stats.php

keywords-stats.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.3, at views/admin/keywords-stats.php

49 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * View of Keyword Statistics
5 */
6
7 function pa_include_keywords( $current, $keyword_stats) {
8 ?>
9
10 <div class="data_boxes">
11 <div class="data_boxes_title"><?php echo _e( 'How people are finding you (keywords)', 'wp-analytify'); ?><div class="arrow_btn"></div></div>
12 <div class="data_container">
13 <?php
14 if (!empty($keyword_stats["rows"])):
15 ?>
16 <div class="names_grids">
17 <div id="tagcloud">
18 <?php foreach ($keyword_stats["rows"] as $k_stats):
19 $keywords=$k_stats[1];
20 if ($keywords < 20):
21 $class = 'smallest';
22 elseif ($keywords >= 20 && $keywords < 40):
23 $class = 'small';
24 elseif ($keywords >= 40 && $keywords < 60):
25 $class = 'medium';
26 elseif ($keywords >= 60 && $keywords < 80):
27 $class = 'large';
28 else:
29 $class = 'largest';
30 endif;
31 ?>
32 <div class="<?php echo $class; ?> keywordscont">
33 <span class="visits_by_keyword"><?php echo $current->wpa_number_format( $k_stats[1] ); ?></span> Visits <br />
34 <i><?php echo $k_stats[0]; ?></i>
35 </div>
36 <?php endforeach; ?>
37 </div>
38
39 </div>
40 <?php endif; ?>
41 </div>
42 <div class="data_boxes_footer">
43 <span class="blk">
44 <span class="dot"></span>
45 <span class="line"></span>
46 </span>
47 <span class="information-txt"><?php echo _e('See which keywords are matching what users search.', 'wp-analytify')?></span></div>
48 </div>
49 <?php } ?>