Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Baptiste&Ulrich Posted February 19, 2017 Posted February 19, 2017 Hi, I started profiling a bit my database, and notice that I have lot of query that update the impression for the advertisement space IPS\core\_Advertisement::updateImpressions Update are very expensive request, and I don't need these functions at all. How to disable it ? Thanks,
h2ojunkie Posted February 20, 2017 Posted February 20, 2017 I agree - there should be a setting in the advertisement settings to disable impression tracking/counting. For those of us that are using 3rd party ad server code - this is a non-stop update query running on every ad unit that we will never ever use since our external ad server is doing all the counting for us. We're only using the ads in IPS to lay in the ad server code (or even adsense ad units). It would be nice to have a toggle setting either for the entire adverts module, or even on a per-advert level to shut off this counter and save the server resources.
TSP Posted February 21, 2017 Posted February 21, 2017 I agree, I've personally disabled this by editing the code myself.
TSP Posted February 21, 2017 Posted February 21, 2017 @Ulrich, @h2ojunkie, @crmarks, @Kjell Iver Johansen: Well, I ended up making a really simple plugin. It will be available here when approved:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.