- May 18, 2021 at 2:52 am #130572
Our server does about 150k page hits per day. (roughly 4 million per month).
After enabling AdRotate Pro I see an explosion of load on the server, leading to a tsunami of Server Errors and pages not being served.
The problem seems to be 2 requests to wp-admin/ajax per page request.
adrotate_impressions is sending the ajax request.
Is there a way to disable these ajax requests? It would be much better to request a pixel or so, but these ajax requests are way too many and they’re killing the server.May 18, 2021 at 3:20 am #130575
So I tested by DISABLING the dynamic modus in group settings. As far as I can see there are no ajax requests anymore. I assume the dynamic mode is only suitable for non high traffic sites, unless you have ‘unlimited’ resources.
So, it’s important to know that the dynamic mode will put a higher load on your server.May 18, 2021 at 10:20 am #130615
Arnan de GansBadges:
150k per day is excessive 🙃
If your hosting can’t keep up with stats collection, mainly in dynamic groups (which is where admin-ajax is used in AdRotate).
Try to use less Dynamic groups.
Or, if that doesn’t help – Consider moving stats elsewhere.
You can also track your stats in Matomo or Google Analytics:
Personally I prefer Matomo over Google, it’s more private and it has a much easier dashboard.May 18, 2021 at 11:03 am #130624
It’s a news website and it attracts lots of people. If you’re interested where your plugin runs: http://www.ninefornews.nl.
Currently running only 1 ad group in the header. More will follow soon.
I checked out Matomo, but their pricing is too high. With our traffic, we will need to pay 1190 EURO per month, just for tracking ads. There’s absolutely nothing wrong with making money, but I think this is over the top. So we’re not going to use Matomo.
On the other hand, we are already using Google Analytics. So maybe we can offload the server and move the ad tracking to GA as well.
For now I have disabled all dynamic groups. So let’s see how this performs, otherwise we’ll move to GA for ad tracking.
Thanks for the suggestions.May 18, 2021 at 11:07 am #130625
And when we start using Google Analytics for ad tracking, does a dynamic group still use admin-ajax?May 18, 2021 at 2:32 pm #130631
Arnan de GansBadges:
Naaah, just host your own Matomo setup, it’s free – https://matomo.org/matomo-on-premise/ 🙂
Their pricing, and that of similar software is insane.
I even have a plugin to set up their tracker (also free) – https://ajdg.solutions/product/matomo-analytics-for-wordpress/
But Google Analytics will work fine too, you just don’t have control or ownership over the collected data.
Anyway, no, admin-ajax is only used for local tracking. Any scripts and gimmicks required to use Google or Matomo are on their/it’s end using their standard event tracker API so you should not notice that.
For instance; I use Matomo on a separate VPS without performance impact on my sites and I track about 1-2 million requests per month with it on a basic(ish) set up.
You must be logged in to reply to this topic.