• Resolved sim009

    (@sim009)


    We have been using ad rotate manager for quite a while and the impressions stats for ads in our header block and sidebar have always been consistent. But now the header block stats have really dropped off. We use the ad rotate widget in the sidebar and custom ad code with the shortcode in the header block.

    Our google analytics show the traffic has been consistent over a period of time and can’t work out the inconsistency between the two figures.

    I’ve attached a screen shot of 3 ads uploaded on the same date and you can see the difference in views.

    Any help would be much appreciated.

Viewing 6 replies - 16 through 21 (of 21 total)
  • 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.

Viewing 6 replies - 16 through 21 (of 21 total)

You must be logged in to reply to this topic.