- January 29, 2021 at 10:19 pm#122982
This is Tony Zeoli, Booktrib’s webmaster.
We received this from WP Enging after they investigated an unusual server load from the AdRotate plugin. We’re not sure what’s causing this. We didn’t have an unusual spike in traffic on the day in question. Can you check this and let us know.
Hi Meryl & Tony,
I spoke with my technical support team and the high server load is coming from excessive admin ajax calls. I’ve copied down their notes below on which plugin is causing the issues. Let me know if you have any questions for them.
Looking at the server, it looks like a lot of admin-ajax requests are coming from the booktribcom site which appears to be the busiest site:
I enabled admin-ajax logging and captured the adrotate-pro plugin is calling the adrotate_impression action very frequently:
1296 [action] => adrotate_impression 6 [action] => as_async_request_queue_runner
I would recommend taking this information to our customer and asking if they can work with the plugin developers to better optimize this as it does appear to be causing performance issues.
Thank you!”January 29, 2021 at 11:34 pm#122984
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 getting better hosting or moving stats elsewhere.
If you’re considering changing webhosts I make some recommendations here – https://ajdg.solutions/recommended-products/.
If even dealing with 1296 requests is an issue for them you choose the wrong hosting company.
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.February 3, 2021 at 9:59 pm#123294
Surely you can’t say that WP Engine is a problematic hosting company. I’ll speak with them about this and see what they say.
Okay, so I have to look back at “dynamic groups.” The editorial team is setting up the ads, so I’m not sure how that’s happening or even what a dynamic group actually is, but I’ll look at it.
Yes, I saw that you have a Google Analytics integration. Maybe we can move to that and that will help, instead of tracking on the server side.
I’m a non-technical webmaster in the sense that I don’t code, but I have resources to assist me with technical issues.February 3, 2021 at 10:05 pm#123295
Oh, I think we’re using a few groups – one for the header ads. One for the ads in the home page that need to switch mobile to desktop. Sounds like we just have to track stats offsite.February 4, 2021 at 10:14 am#123330
That’s exactly what I’m saying – 9 out of 10 people complaining about admin-ajax being a problem are WPE users. Most $5-10/mo hosting providers have better performance and equal or better hosting features.
Anyway, before buying into their complaint you should figure out your setup. “thinking” you have a bunch of groups is not how you find a problem. Just look at the Manage Groups dashboard to see how many groups you have and how many are set up as a dynamic group.
If there are a lot (Or all) of dynamic groups and you have a lot of visitors on your site you may want to consider switching the groups to default mode. That should work around WPE their shortcomings for admin-ajax.February 5, 2021 at 9:58 am#123406
Moved to ‘installation and setup’. Not a bug.February 10, 2021 at 9:20 pm#123768
Okay, I have two dyanmic groups. One in the header. One in the main part of the page. I’ll switch to default mode. I’ll see if that solves it.February 10, 2021 at 9:27 pm#123769
So, I just checked and we’re only using a single dynamic add. We have three groups, but two are default and one is dynamic.
I talked to WP Engine. I already knew we are on a dedicated server, but they have levels from 0-10. We’re at 0 on their dedicated platform. We could increase a level and that has a cost, but it’s ridiculous to increase a level for one dynamic ad set that is causing the problem. So, it’s not cheap, shared hosting. It’s serious dedicated server.
I can’t turn off dynamic, because then it won’t rotate the ads and only load a different on per page load.
So, I’m left with offloading stats to GA option, which I’ve checked the site tutorial. Because it’s really the stats that’s causing the problem when there are high traffic days.
I’ll report back after offloading to GA if that solves the issue.February 12, 2021 at 10:13 am#123896
Ok, good luck 🥳February 15, 2021 at 8:37 pm#124029
Okay, I’ve gone ahead and disabled Ad Rotate ad tracking.
I did the following:
1. Added the GA tracking code using the Header and Footer Scripts plugin to the Footer.
2. Disabled Ad Tracking in Setting from Ad Rotate to Google Analytics.
3. Set as a Google Global Tag
I’d did this once and do see the stats save in GA, then reverted back, but am now reverting fully to track. Seems like it does work correctly.
You must be logged in to reply to this topic.