Plugin Author
Arnan
(@adegans)
If it’s not your theme, those new templates you mentioned, then it sounds like something with caching to me, same as 2 months ago.
AdRotate has support for Borlabs Cache and W3 Total Cache.
Check out this manual to see how to set up the plugins for that to work; https://support.ajdg.net/knowledgebase.php?article=46
Personally I prefer Borlabs cache (https://borlabs.io) as it’s much easier to set up.
Thread Starter
sim009
(@sim009)
I did set the headers back to how they were before and we do use WP super cache on the site.
I will deactivate it and try the borlabs plugin see if that changes anything.
All things being equal should the impressions from all the ads in a group be similar to a single ad impression total?
Plugin Author
Arnan
(@adegans)
Sounds good 🙂
Group stats are simply the stats from all adverts in that group summed up.
It’s a good indicator for the group at the time, but if you remove an advert from the group the numbers will change since the stats from that advert are no longer included in it.
Similar issue with my ads impressions stats dropped dramatically. Maybe my finding (see my latest full post) is related to your issue.
In the AdRotate JS library file (jquery.groups.js), the gslider function attempts to access a 4th value to calculate the impression timer:
Line 65:
var expired = now - admeta[3];
Because admeta[3] is undefined (since the array only goes up to index 2), causing the script to completely bypass the $.post AJAX call to track the impression.
I think you can change the line to var expired = now - admeta[2]; while waiting for a fix. It worked for my – impressions stats are back!
Plugin Author
Arnan
(@adegans)
That looks like a bug yes, AdRotate Pro uses the correct indexing.
I’ll do some tests. If it now works for you, please let me know as well.
Thanks for the reply.
Yes, this updated line 65 works for me:
var expired = now - admeta[2];
My impressions stats are now counting like before.