Title: Empty jQuery functions
Last modified: June 12, 2017

---

# Empty jQuery functions

 *  Resolved [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/empty-jquery-functions/)
 * The plugin adds this code, which is useless and causes an error when jQuery is
   not being used:
 *     ```
       jQuery(document).ready(function () {
           jQuery(window).on('load',function () {
           });
       });
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/empty-jquery-functions/#post-9221121)
 * The file that needs to be edited is admin/tracking.php, starting at line 113.
 * 1.
    Please do not require jQuery for this tiny bit of code.
 * 2.
    Please do not output any unnecessary code, like empty functions.
 *  [WD Support](https://wordpress.org/support/users/wdsupport/)
 * (@wdsupport)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/empty-jquery-functions/#post-9224035)
 * Hello, [@swinggraphics](https://wordpress.org/support/users/swinggraphics/)!
 * Thank you so much for reporting this problem!
 * I have forwarded your suggestions to our development team. They will investigate
   this further and remove empty Javascript functions in one of the next few updates
   of Google Analytics WD.
 * We greatly appreciate your comments on the improvement of the plugin!
    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Empty jQuery functions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wd-google-analytics.svg)
 * [10WebAnalytics](https://wordpress.org/plugins/wd-google-analytics/)
 * [Support Threads](https://wordpress.org/support/plugin/wd-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/wd-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wd-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wd-google-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WD Support](https://wordpress.org/support/users/wdsupport/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/empty-jquery-functions/#post-9224035)
 * Status: resolved