• Hi,

    i came across on your plugin in one of my client’s websites.

    I was doing a speed optimization of the website and needed to remove render-blocking JavaScript and CSS in above-the-fold content, and as you know that requires to move all scripts to footer, but your script is staying at top, and jquery is loaded below, so it’s triggering a error.

    I fixed this by changing this file: class/Ga_Frontend.php:23 from:

    add_action( ‘wp_footer’, ‘Ga_Frontend::insert_ga_script’);

    to:

    add_action( ‘wp_footer’, ‘Ga_Frontend::insert_ga_script’, 99 );

    that basicaly moved it at the end, and the error is fixed.

  • The topic ‘Improvement suggestion’ is closed to new replies.