Version Description
Enjoy this update with the latest tweaks and improvements for AdRotate for WordPress!
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 5.8.13 |
Comparing to | |
See all releases |
Code changes from version 5.8.12 to 5.8.13
- adrotate-output.php +3 -3
- adrotate-statistics.php +29 -25
- adrotate.php +2 -2
- dashboard/publisher/adverts-disabled.php +8 -5
- dashboard/publisher/adverts-error.php +1 -1
- dashboard/publisher/adverts-main.php +10 -5
- dashboard/settings/statistics.php +10 -14
- readme.txt +15 -9
adrotate-output.php
CHANGED
@@ -38,7 +38,7 @@ function adrotate_ad($banner_id, $opt = null) {
|
|
38 |
$output .= adrotate_ad_output($banner->id, 0, $banner->title, $banner->bannercode, $banner->tracker, $image);
|
39 |
$output .= '</div>';
|
40 |
|
41 |
-
if($adrotate_config['stats'] == 1) {
|
42 |
adrotate_count_impression($banner->id, 0, 0);
|
43 |
}
|
44 |
} else {
|
@@ -158,7 +158,7 @@ function adrotate_group($group_ids, $opt = null) {
|
|
158 |
$columns++;
|
159 |
}
|
160 |
|
161 |
-
if($adrotate_config['stats'] == 1){
|
162 |
adrotate_count_impression($selected[$banner_id]->id, $group->id, 0);
|
163 |
}
|
164 |
|
@@ -173,7 +173,7 @@ function adrotate_group($group_ids, $opt = null) {
|
|
173 |
$output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->title, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $image).$after;
|
174 |
$output .= '</div>';
|
175 |
|
176 |
-
if($adrotate_config['stats'] == 1){
|
177 |
adrotate_count_impression($selected[$banner_id]->id, $group->id, 0);
|
178 |
}
|
179 |
}
|
38 |
$output .= adrotate_ad_output($banner->id, 0, $banner->title, $banner->bannercode, $banner->tracker, $image);
|
39 |
$output .= '</div>';
|
40 |
|
41 |
+
if($adrotate_config['stats'] == 1 AND $banner->tracker == "Y") {
|
42 |
adrotate_count_impression($banner->id, 0, 0);
|
43 |
}
|
44 |
} else {
|
158 |
$columns++;
|
159 |
}
|
160 |
|
161 |
+
if($adrotate_config['stats'] == 1 AND $selected[$banner_id]->tracker == "Y") {
|
162 |
adrotate_count_impression($selected[$banner_id]->id, $group->id, 0);
|
163 |
}
|
164 |
|
173 |
$output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->title, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $image).$after;
|
174 |
$output .= '</div>';
|
175 |
|
176 |
+
if($adrotate_config['stats'] == 1 AND $selected[$banner_id]->tracker == "Y") {
|
177 |
adrotate_count_impression($selected[$banner_id]->id, $group->id, 0);
|
178 |
}
|
179 |
}
|
adrotate-statistics.php
CHANGED
@@ -384,32 +384,35 @@ function adrotate_date_start($what) {
|
|
384 |
function adrotate_archive_stats($id) {
|
385 |
global $wpdb;
|
386 |
|
387 |
-
$
|
388 |
-
$
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
$
|
|
|
|
|
|
|
394 |
}
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
|
|
|
|
|
|
406 |
}
|
407 |
-
|
408 |
-
|
409 |
-
$wpdb->query("DELETE FROM `{$wpdb->prefix}adrotate_stats` WHERE `id` IN (".implode(",", $delete).");");
|
410 |
}
|
411 |
-
|
412 |
-
unset($stats, $insert, $delete);
|
413 |
}
|
414 |
|
415 |
/*-------------------------------------------------------------
|
@@ -468,7 +471,9 @@ function adrotate_impression_callback() {
|
|
468 |
$meta = esc_attr($meta);
|
469 |
// Don't use $impression_timer - It's for impressions used in javascript
|
470 |
list($ad, $group, $blog_id, $impression_timer) = explode(",", $meta, 4);
|
471 |
-
|
|
|
|
|
472 |
|
473 |
wp_die();
|
474 |
}
|
@@ -493,7 +498,6 @@ function adrotate_click_callback() {
|
|
493 |
list($ad, $group, $blog_id, $impression_timer) = explode(",", $meta, 4);
|
494 |
|
495 |
if(is_numeric($ad) AND is_numeric($group) AND is_numeric($blog_id)) {
|
496 |
-
|
497 |
if($blog_id > 0 AND adrotate_is_networked()) {
|
498 |
$current_blog = $wpdb->blogid;
|
499 |
switch_to_blog($blog_id);
|
384 |
function adrotate_archive_stats($id) {
|
385 |
global $wpdb;
|
386 |
|
387 |
+
$advert_tracking = $wpdb->get_var("SELECT `tracker` FROM `{$wpdb->prefix}adrotate` WHERE `ad` = {$id} ORDER BY `id` ASC LIMIT 1;");
|
388 |
+
if($advert_tracking == "Y") {
|
389 |
+
$insert = $delete = false;
|
390 |
+
$stats = $wpdb->get_results("SELECT * FROM `{$wpdb->prefix}adrotate_stats` WHERE `ad` = {$id} ORDER BY `id` ASC;");
|
391 |
+
|
392 |
+
foreach($stats as $stat) {
|
393 |
+
if($stat->id > 0) {
|
394 |
+
$insert[] = "(".$stat->ad.", ".$stat->group.", ".$stat->thetime.", ".$stat->clicks.", ".$stat->impressions.")";
|
395 |
+
$delete[] = $stat->id;
|
396 |
+
}
|
397 |
}
|
398 |
+
|
399 |
+
// Insert each chunk to the archive table
|
400 |
+
if(is_array($insert)) {
|
401 |
+
// Split the data into chunks
|
402 |
+
$insert = array_chunk($insert, 30);
|
403 |
+
|
404 |
+
foreach($insert as $chunk) {
|
405 |
+
$wpdb->query("INSERT INTO `{$wpdb->prefix}adrotate_stats_archive` (`ad`, `group`, `thetime`, `clicks`, `impressions`)
|
406 |
+
VALUES ".implode(",", $chunk).";");
|
407 |
+
unset($chunk);
|
408 |
+
}
|
409 |
+
|
410 |
+
// Delete old stats
|
411 |
+
$wpdb->query("DELETE FROM `{$wpdb->prefix}adrotate_stats` WHERE `id` IN (".implode(",", $delete).");");
|
412 |
}
|
413 |
+
|
414 |
+
unset($stats, $insert, $delete);
|
|
|
415 |
}
|
|
|
|
|
416 |
}
|
417 |
|
418 |
/*-------------------------------------------------------------
|
471 |
$meta = esc_attr($meta);
|
472 |
// Don't use $impression_timer - It's for impressions used in javascript
|
473 |
list($ad, $group, $blog_id, $impression_timer) = explode(",", $meta, 4);
|
474 |
+
if(is_numeric($ad) AND is_numeric($group) AND is_numeric($blog_id)) {
|
475 |
+
adrotate_count_impression($ad, $group, $blog_id);
|
476 |
+
}
|
477 |
|
478 |
wp_die();
|
479 |
}
|
498 |
list($ad, $group, $blog_id, $impression_timer) = explode(",", $meta, 4);
|
499 |
|
500 |
if(is_numeric($ad) AND is_numeric($group) AND is_numeric($blog_id)) {
|
|
|
501 |
if($blog_id > 0 AND adrotate_is_networked()) {
|
502 |
$current_blog = $wpdb->blogid;
|
503 |
switch_to_blog($blog_id);
|
adrotate.php
CHANGED
@@ -6,7 +6,7 @@ Author: Arnan de Gans
|
|
6 |
Author URI: https://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
7 |
Description: Monetize your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
-
Version: 5.8.
|
10 |
License: GPLv3
|
11 |
*/
|
12 |
|
@@ -21,7 +21,7 @@ License: GPLv3
|
|
21 |
------------------------------------------------------------------------------------ */
|
22 |
|
23 |
/*--- AdRotate values ---------------------------------------*/
|
24 |
-
define("ADROTATE_DISPLAY", '5.8.
|
25 |
define("ADROTATE_VERSION", 399);
|
26 |
define("ADROTATE_DB_VERSION", 66);
|
27 |
$plugin_folder = plugin_dir_path(__FILE__);
|
6 |
Author URI: https://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
7 |
Description: Monetize your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
+
Version: 5.8.13
|
10 |
License: GPLv3
|
11 |
*/
|
12 |
|
21 |
------------------------------------------------------------------------------------ */
|
22 |
|
23 |
/*--- AdRotate values ---------------------------------------*/
|
24 |
+
define("ADROTATE_DISPLAY", '5.8.13');
|
25 |
define("ADROTATE_VERSION", 399);
|
26 |
define("ADROTATE_DB_VERSION", 66);
|
27 |
$plugin_folder = plugin_dir_path(__FILE__);
|
dashboard/publisher/adverts-disabled.php
CHANGED
@@ -46,24 +46,27 @@
|
|
46 |
<?php
|
47 |
$class = '';
|
48 |
foreach($disabled as $banner) {
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
52 |
|
|
|
53 |
$class = ($class != 'alternate') ? 'alternate' : '';
|
54 |
?>
|
55 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
56 |
<th class="check-column"><input type="checkbox" name="disabledbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
57 |
<td><center><?php echo $banner['id'];?></center></td>
|
58 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
59 |
-
<td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> - <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a
|
|
|
60 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
61 |
-
<?php if($banner['tracker'] == "Y") { ?>
|
62 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
63 |
<td><center><?php echo $ctr; ?> %</center></td>
|
64 |
<?php } else { ?>
|
65 |
<td><center>…</center></td>
|
66 |
<td><center>…</center></td>
|
|
|
67 |
<?php } ?>
|
68 |
</tr>
|
69 |
<?php } ?>
|
46 |
<?php
|
47 |
$class = '';
|
48 |
foreach($disabled as $banner) {
|
49 |
+
if($banner['tracker'] =='Y') {
|
50 |
+
$stats = adrotate_stats($banner['id']);
|
51 |
+
$ctr = adrotate_ctr($stats['clicks'], $stats['impressions']);
|
52 |
+
}
|
53 |
|
54 |
+
$grouplist = adrotate_ad_is_in_groups($banner['id']);
|
55 |
$class = ($class != 'alternate') ? 'alternate' : '';
|
56 |
?>
|
57 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
58 |
<th class="check-column"><input type="checkbox" name="disabledbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
59 |
<td><center><?php echo $banner['id'];?></center></td>
|
60 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
61 |
+
<td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1 AND $banner['tracker'] == 'Y') { ?> - <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></td>
|
62 |
+
<?php if($adrotate_config['stats'] == 1 AND $banner['tracker'] == 'Y') { ?>
|
63 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
|
|
64 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
65 |
<td><center><?php echo $ctr; ?> %</center></td>
|
66 |
<?php } else { ?>
|
67 |
<td><center>…</center></td>
|
68 |
<td><center>…</center></td>
|
69 |
+
<td><center>…</center></td>
|
70 |
<?php } ?>
|
71 |
</tr>
|
72 |
<?php } ?>
|
dashboard/publisher/adverts-error.php
CHANGED
@@ -53,7 +53,7 @@
|
|
53 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
54 |
<th class="check-column"><input type="checkbox" name="errorbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
55 |
<td><center><?php echo $banner['id'];?></center></td>
|
56 |
-
<td><strong><a class="row-title" href="<?php echo admin_url("/admin.php?page=adrotate-ads&view=edit&ad=".$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1 AND $banner['type'] != 'error') { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
|
57 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
58 |
</tr>
|
59 |
<?php } ?>
|
53 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
54 |
<th class="check-column"><input type="checkbox" name="errorbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
55 |
<td><center><?php echo $banner['id'];?></center></td>
|
56 |
+
<td><strong><a class="row-title" href="<?php echo admin_url("/admin.php?page=adrotate-ads&view=edit&ad=".$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1 AND $banner['tracker'] == 'Y' AND $banner['type'] != 'error') { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
|
57 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
58 |
</tr>
|
59 |
<?php } ?>
|
dashboard/publisher/adverts-main.php
CHANGED
@@ -53,21 +53,24 @@
|
|
53 |
if ($active) {
|
54 |
$class = '';
|
55 |
foreach($active as $banner) {
|
56 |
-
$stats
|
57 |
-
|
|
|
|
|
|
|
|
|
58 |
$grouplist = adrotate_ad_is_in_groups($banner['id']);
|
59 |
-
$ctr = adrotate_ctr($stats['clicks'], $stats['impressions']);
|
60 |
$class = ($class != 'alternate') ? 'alternate' : '';
|
61 |
?>
|
62 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
63 |
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
64 |
<td><center><?php echo $banner['id'];?></center></td>
|
65 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
66 |
-
<td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1) { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
|
67 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
|
|
68 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
69 |
<td><center><?php echo $stats_today['impressions']; ?></center></td>
|
70 |
-
<?php if($banner['tracker'] == "Y") { ?>
|
71 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
72 |
<td><center><?php echo $stats_today['clicks']; ?></center></td>
|
73 |
<td><center><?php echo $ctr; ?> %</center></td>
|
@@ -75,6 +78,8 @@
|
|
75 |
<td><center>…</center></td>
|
76 |
<td><center>…</center></td>
|
77 |
<td><center>…</center></td>
|
|
|
|
|
78 |
<?php } ?>
|
79 |
<?php } ?>
|
80 |
</tr>
|
53 |
if ($active) {
|
54 |
$class = '';
|
55 |
foreach($active as $banner) {
|
56 |
+
if($adrotate_config['stats'] == 1 AND $banner['tracker'] == 'Y') {
|
57 |
+
$stats = adrotate_stats($banner['id']);
|
58 |
+
$stats_today = adrotate_stats($banner['id'], false, $today);
|
59 |
+
$ctr = adrotate_ctr($stats['clicks'], $stats['impressions']);
|
60 |
+
}
|
61 |
+
|
62 |
$grouplist = adrotate_ad_is_in_groups($banner['id']);
|
|
|
63 |
$class = ($class != 'alternate') ? 'alternate' : '';
|
64 |
?>
|
65 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
66 |
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
67 |
<td><center><?php echo $banner['id'];?></center></td>
|
68 |
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
|
69 |
+
<td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1 AND $banner['tracker'] == 'Y') { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-statistics&view=advert&id='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
|
70 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
71 |
+
<?php if($banner['tracker'] == "Y") { ?>
|
72 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
73 |
<td><center><?php echo $stats_today['impressions']; ?></center></td>
|
|
|
74 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
75 |
<td><center><?php echo $stats_today['clicks']; ?></center></td>
|
76 |
<td><center><?php echo $ctr; ?> %</center></td>
|
78 |
<td><center>…</center></td>
|
79 |
<td><center>…</center></td>
|
80 |
<td><center>…</center></td>
|
81 |
+
<td><center>…</center></td>
|
82 |
+
<td><center>…</center></td>
|
83 |
<?php } ?>
|
84 |
<?php } ?>
|
85 |
</tr>
|
dashboard/settings/statistics.php
CHANGED
@@ -22,34 +22,30 @@
|
|
22 |
<td>
|
23 |
<select name="adrotate_stats">
|
24 |
<option value="0" <?php if($adrotate_config['stats'] == 0) { echo 'selected'; } ?>><?php _e('Disabled - Do not track stats', 'adrotate'); ?></option>
|
25 |
-
<option value="1" <?php if($adrotate_config['stats'] == 1) { echo 'selected'; } ?>>AdRotate
|
|
|
26 |
<option value="0" disabled>Google Global Tag</option>
|
27 |
<option value="0" disabled>Google Tag Manager (<?php _e('Advanced', 'adrotate'); ?>)</option>
|
28 |
-
<option value="0" disabled>Google Universal Tracker</option>
|
29 |
-
<option value="0" disabled>Piwik/Matomo Analytics (<?php _e('Advanced', 'adrotate'); ?>)</option>
|
30 |
</select><br />
|
31 |
<span class="description">
|
32 |
-
<strong>AdRotate
|
33 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions, Click and impression limits, impression spread for schedules. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
34 |
|
35 |
-
<strong>
|
36 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
37 |
|
38 |
-
<strong>Google Tag
|
39 |
-
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via custom events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
40 |
-
|
41 |
-
<strong>Google Universal Tracker</strong> - <?php _e('Maintained for backwards compatibility, please switch to Google Global Tag or Google Tag Manager.', 'adrotate'); ?>.<br />
|
42 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
43 |
-
|
44 |
-
<strong>
|
45 |
-
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('
|
46 |
</span>
|
47 |
</td>
|
48 |
</tr>
|
49 |
</table>
|
50 |
|
51 |
-
<h3><?php _e('AdRotate
|
52 |
-
<span class="description"><?php _e('The settings below are for the internal tracker and have no effect when using
|
53 |
<table class="form-table">
|
54 |
<tr>
|
55 |
<th valign="top"><?php _e('Logged in impressions', 'adrotate'); ?></th>
|
22 |
<td>
|
23 |
<select name="adrotate_stats">
|
24 |
<option value="0" <?php if($adrotate_config['stats'] == 0) { echo 'selected'; } ?>><?php _e('Disabled - Do not track stats', 'adrotate'); ?></option>
|
25 |
+
<option value="1" <?php if($adrotate_config['stats'] == 1) { echo 'selected'; } ?>>AdRotate Statistics (<?php _e('Default', 'adrotate'); ?>)</option>
|
26 |
+
<option value="0" disabled>Matomo</option>
|
27 |
<option value="0" disabled>Google Global Tag</option>
|
28 |
<option value="0" disabled>Google Tag Manager (<?php _e('Advanced', 'adrotate'); ?>)</option>
|
|
|
|
|
29 |
</select><br />
|
30 |
<span class="description">
|
31 |
+
<strong>AdRotate Statistics</strong> - <?php _e('Tracks impressions and clicks locally', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/adrotate-statistics/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=adrotate_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
32 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions, Click and impression limits, impression spread for schedules. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
33 |
|
34 |
+
<strong>Matomo</strong> - <?php _e('Requires the Matomo tracking code installed in your sites footer. See the manual for details.', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/track-advert-stats-with-matomo/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=matomotracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
35 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
36 |
|
37 |
+
<strong>Google Global Tag</strong> - <?php _e('Requires Google Global Tag tracking code installed in your sites footer!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/track-advert-stats-with-google-analytics/installing-and-using-google-global-site-tag/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=globaltag_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
|
|
|
|
|
|
38 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
39 |
+
|
40 |
+
<strong>Google Tag Manager</strong> - <?php _e('Requires Google Tag Manager installed in your sites head tag and a Google Analytics Account!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/track-advert-stats-with-google-analytics/installing-and-using-google-tag-manager/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=tagmanager_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
41 |
+
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via custom events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
42 |
</span>
|
43 |
</td>
|
44 |
</tr>
|
45 |
</table>
|
46 |
|
47 |
+
<h3><?php _e('AdRotate Statistics', 'adrotate'); ?></h3></td>
|
48 |
+
<span class="description"><?php _e('The settings below are for the internal tracker and have no effect when using Google Analytics or Matomo.', 'adrotate'); ?></span>
|
49 |
<table class="form-table">
|
50 |
<tr>
|
51 |
<th valign="top"><?php _e('Logged in impressions', 'adrotate'); ?></th>
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Donate link: https://ajdg.solutions/go/donate/adrotatefree
|
|
4 |
Tags: adverts, ads, banners, advert manager, ad manager, banner manager, monetise, revenue, place banners, google, adsense, dfp, doubleclick, amazon, affiliate, referral
|
5 |
Requires at least: 5.0
|
6 |
Requires PHP: 5.6
|
7 |
-
Tested up to: 5.
|
8 |
-
Stable tag: 5.8.
|
9 |
License: GPLv3
|
10 |
|
11 |
AdRotate is the only advert manager you'll ever need. Manage all your Google AdSense, Media.net, Amazon banners and more. Manage your ads.txt, widgets and many more powerful features to run successful campaigns.
|
@@ -64,16 +64,22 @@ For more detailed instructions check out the [installation steps](https://ajdg.s
|
|
64 |
|
65 |
For the full changelog check out the [development page](https://ajdg.solutions/support/adrotate-development/?pk_campaign=adrotatefree&pk_keyword=readme).
|
66 |
|
|
|
|
|
|
|
|
|
67 |
= AdRotate 5.8.12 =
|
68 |
* [tweak] Rely more on WordPress time settings
|
69 |
|
70 |
-
= AdRotate Professional 5.8.
|
71 |
-
* [
|
72 |
-
* [
|
73 |
-
* [
|
74 |
-
* [
|
75 |
-
* [
|
76 |
-
* [
|
|
|
|
|
77 |
|
78 |
Be a Pro and get [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme)!
|
79 |
|
4 |
Tags: adverts, ads, banners, advert manager, ad manager, banner manager, monetise, revenue, place banners, google, adsense, dfp, doubleclick, amazon, affiliate, referral
|
5 |
Requires at least: 5.0
|
6 |
Requires PHP: 5.6
|
7 |
+
Tested up to: 5.6
|
8 |
+
Stable tag: 5.8.13
|
9 |
License: GPLv3
|
10 |
|
11 |
AdRotate is the only advert manager you'll ever need. Manage all your Google AdSense, Media.net, Amazon banners and more. Manage your ads.txt, widgets and many more powerful features to run successful campaigns.
|
64 |
|
65 |
For the full changelog check out the [development page](https://ajdg.solutions/support/adrotate-development/?pk_campaign=adrotatefree&pk_keyword=readme).
|
66 |
|
67 |
+
= AdRotate 5.8.13 =
|
68 |
+
* [change] Removed mentions of Google Universal Tracker
|
69 |
+
* [change] Only count impressions if stats are explicitly enabled
|
70 |
+
|
71 |
= AdRotate 5.8.12 =
|
72 |
* [tweak] Rely more on WordPress time settings
|
73 |
|
74 |
+
= AdRotate Professional 5.8.8 =
|
75 |
+
* [new] Geo Targeting server response indicator
|
76 |
+
* [fix] MaxMind response variable incorrectly set
|
77 |
+
* [fix] AdRotate Geo response value for errors correctly read
|
78 |
+
* [change] Removed check update button from Maintenance dashboard
|
79 |
+
* [change] Removed support for Google Universal Tracker
|
80 |
+
* [change] Only count impressions if stats are explicitly enabled
|
81 |
+
* [api] Update API responds with status codes for dashboard
|
82 |
+
* [api] Geo API responds with status codes for dashboard on error
|
83 |
|
84 |
Be a Pro and get [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme)!
|
85 |
|