Support » Plugin: Complete Analytics Optimization Suite (CAOS) - GDPR Compliant! » ** PLEASE POST YOUR FEATURE REQUESTS HERE **

  • Plugin Author Dan0sz



    The author here.

    Some of you want some stuff added to the plug-in, which I think is really cool. So, please add your feature requests here! So it’s easy for me to prioritize them.

    Looking forward to your suggestions!

    Currently on my list:
    – Anonymize IP
    – Fix Bounce Rate
    – Don’t log WordPress Admin
    – …

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Dan0sz


    Anonymize IP is added.
    Bounce rate is fixed.
    Next stop: Don’t log WordPress Admin.

    Any other suggestions? Let me know! This plug-in is turning into a Google Analytics Optimization Suite (Oeh: GAOS, sounds like CHAOS!)

    Mohd Mad


    Feature request: Load the analytics.js script using wp_enqueue_scripts, so it can be combined and minified with other scripts using W3 Total Cache or other plugins.

    Feature request: Support for adsbygoogle.js and other common third-party scripts.

    Fix request: Bounce rate issue is not completely fixed.

    Plugin Author Dan0sz


    Thanks for the feature requests, Mohd Mad!

    As for the Bounce rate fix request: Please update to the latest version (1.41) of the plugin and check again. If it doesn’t work, please open a support ticket and expand on the issue.

    Plugin Author Dan0sz


    Current feature requests:
    – Support for adsbygoogle.js and other common third-party scripts (not yet confirmed)
    – Load the analytics.js script using wp_enqueue_scripts (confirmed – awesome idea! But as it might cause some serious compatibility issues, I’ll have to read into this some more)
    – Adjust the update schedule for ga-local.js (confirmed)
    – Choose between wp-cron or regular cron job (confirmed)

    Recently Added Features:
    – Don’t log WordPress Admin

    not confirmed: I’ll yet have to study this feature request to see if it actually adds value to the plugin
    confirmed: I will add it. No ETA, though.

    Plugin Author Dan0sz


    Just received confirmation from Mohd Mad that the Bounce Rate issue he was having is resolved.

    Would like to see the facebook version too.

    Plugin Author Dan0sz


    Actually you can cache any script using the included update script (located in: includes/update_local_ga.php) by duplicating it to your root folder and adding it to your crontab.

    All you have to do is remove the first lines required by WordPress (ABSPATH, etc.) and adjust the paths to the js and cache file.

    Just remember, that not all scripts allow cached versions to execute the functionalities. So proceed with caution.

    I’d also love to see analytics.js loaded using wp_enqueue_scripts, so it can be combined and minified. Awesome plugin by the way!

    • This reply was modified 1 year, 10 months ago by  van24.
    Plugin Author Dan0sz


    I’m currently testing it, but thanks for the suggestion, van24! It’s nice to see that CAOS is slowly taking over the world! 😉



    Hey Daan,

    Thanks for being so awesome. I came to know about this plugin through and it’s so cool. 🙂

    I want this plugin to be “ALL IN ONE SOLUTION” for setting “Leverage browser caching” for all external .js files. I have already set expire header for all my local .js files and hence under Google Pagespeed score, I am only getting warning for external .js files. Here is the screensht :

    These .js files are from Google Tag Manager, Google Analytics, Facebook events, Facebook login, OneSignal push notification, Good ads, Google API, Google sindication.

    Does our current plugin capable to capable enough to handle all these external .js files. How can I local host all these .js file internally to speed up my website?

    Thank you very much 🙂

    Plugin Author Dan0sz


    Haha, you made me laugh, @themophiles

    Anyway, I’ve checked your screenshot and it occurred to me that you’re loading analytics TWICE (!) from two other sources (ga.js and analytics.js)

    Whatever plugin is causing this, you can disable them, because my plugin takes care of that for you. This is just extra, unnecesary load!

    As for caching the other files:
    The script that comes with the plugin (located in the ‘includes’-folder) can be copied, adjusted and re-used according to your needs. Although I can’t guarantee that the mentioned scripts keep working when cached!

    Try the following:

    1. Copy update_local_ga.php to the root directory of your website and rename it to e.g. update_local_tag_manager.php
    2. Remove the following lines on lines 8 and 9
      // Exit if accessed directly
      if (!defined('ABSPATH')) exit;
    3. Replace the string after $remoteFile = with the URL of the file you want to cache e.g. [make sure you leave the ” around the string!]
    4. Change the end of the string after $localfile = to something suitable, e.g. instead of local-ga.js change it to local-gtm.js
    5. Create a cronjob for the php-file you’ve just edited and allow the script to run.
    6. After your script has run (depending on your server’s settings) a cache-folder should’ve been created with a file in it. [The file should have the filename you chose two steps ago, e.g. local-gtm.js]
    7. Change the path in the tracking code to e.g. http(s)://(www.)
    8. Check if your script is still functioning as desired.
    9. If so, repeat these steps for every script you want to cache locally. If not, too bad. Revert your changes and leave as is.

    Hope that helps! Good Luck!

    • This reply was modified 1 year, 10 months ago by  Dan0sz. Reason: Added some code tags for readability
    • This reply was modified 1 year, 10 months ago by  Dan0sz.
    • This reply was modified 1 year, 10 months ago by  Dan0sz.
    • This reply was modified 1 year, 10 months ago by  Dan0sz.


    Hey, Thank you for the detailed reply 🙂
    Yes, I figured that I was adding GA codes using GTM as well as Cloudflare app options both.I have removed codes from both the places now and depending upon this plugin for GA codes.

    Is this plugin in any possible way add even nano-seconds of load on my website ( backend or front end) ? I mean I am already using 27 plugins 🙂 that’s why I am little concern about adding new plugins.

    How will I be able to say that the local GA is working properly? Any way to check it through view source of my website codes?

    I have successfully followed steps up to step-4 : Here is what I changed:

    // To run the script in crontab, remove the code on lines 8 and 9.
    // Remote file to download
    $remoteFile = '';
    $localfile = dirname(dirname(__FILE__)) . '/cache/local-gtm.js';
    // Connection time out
    $connTimeout = 10;

    I have placed in the root folder ( not under your plugin where update_local_ga.php was already there ) I don’t how to create cronjob task. Is it something for which I need programming skills ( Sadly, I am not a programmer but just a WordPress enthusiast 🙁 ) Where should I expect the “new cache” folder with the local-gtm.js file? Under the root of my website where I placed update_local_tag_manager.php or under the already created “cache” under your plugin where local_ga.js is already there?

    under stelp-7, where do I need to change the path in the tracking code. Tracking code means the new local_gtm.js that will automatically be created if cronjob runs. Right? but where should I expect this file? under “Cache” ? or may be I will understand step-7 once I successfully create the local_gtm.js file.

    By repeating the whole steps for different .js files mean by creating the new .php folder again and place it in the root folder and so on… right?

    Please help me to understand these issues.

    Thank you very much 🙂



    Few more thing about your amazing plugin: There is no tutorial for various options under the plugin setting. Neither on WordPress nor on your own website.
    I mean like when and why to “adjusted bounce rate” what should be it’s value and what’s good value for a dynamic news website for good SEO?
    Why to “Change enqueue order”? Again what should be it’s value for good SEO. Why to “Disable all display features functionality” ? Will it have any impact on any analytics reports that I am getting right now ( like geolocation, age, gender etc)

    When we check “Track logged in Administrators” does it mean it will also count my post/website views on Google analytics. Right? Is there any way to disable it for my authors, editors, and administrator all. If not here then in the GA?

    What will happen if I remove this script from wp-cron? Should I check it if I want to disable or remove this plugin? Will my plugin work if I check it?

    at some places you mentioned, one can disable wp-cron and make there any cron functions. Is it recommended? why not to use default cron function?

    I know I have asked too many questions.. but one-liner answer with any appropriate tutorial link will work great for me .
    ( I am sorry if I posted this question under wrong thread 🙁 )

    Thank you.

    Plugin Author Dan0sz


    @themophiles. I’m working on an extensive FAQ on my own website. I’ll post a link here as soon as it’s live. Also, checkout the other support queries, because some of your questions are already answered. As for creating cronjobs: Google is your friend 🙂

    • Is this plugin in any possible way add even nano-seconds of load on my website ( backend or front end)?
    • It saves you load compared to regular Google Analytics implementations.
    • How will I be able to say that the local GA is working properly?
    • If ‘Track administrators?’ is checked, you can view source while viewing source of any page in your frontend and while logged in. If ‘Track administrators?’ is not checked, you need to open a private session in your browser and view source of any page.
    • Is there any way to disable it for my authors, editors, and administrator all. If not here then in the GA?
    • This is currently not supported by my plugin. But it’s an interesting suggestion, though. I’ll add it to my list.
    • one can disable wp-cron and make there any cron functions. Is it recommended?
    • This is for people who have the wp-cron() disabled. They can check this option, and add the update_local_ga.php-script to their crontab.
    • This reply was modified 1 year, 10 months ago by  Dan0sz.


    Hey DaanvandenBergh,

    Thanks again for the detailed reply. In fact, before asking you about the ways to create Cron jobs, I had already tried my best friend Google about this but he was kind of rude and ignorant and was repeatedly questioning my ability to make these modifications 🙂

    I mean I didn’t get the whole thing. None of the posts on the internet has written a WordPress focused article in an instructional way for a non-programmer like me. Most are also talking that it has something to do from hosting server side. I am on managed WordPress hosting and probably they won’t entertain any modifications from their side.

    Though I understand one thing for sure that even your local-ga.js must have added some cron job automatically to my wp-cron.php automatically. Can’t I simply copy the same process with new .php file that I created? I mean, if you can send us the snapshot of added coded under modified file to make it work on WordpPress.

    Try if it’s possible. Else I will have to wait for the day when you will add these featured in this plugin. )

    Thank you very much.

    • This reply was modified 1 year, 10 months ago by  Hello. Reason: forgot to check notify using email
Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘** PLEASE POST YOUR FEATURE REQUESTS HERE **’ is closed to new replies.