Title: is it ok to delay javascript?
Last modified: January 30, 2023

---

# is it ok to delay javascript?

 *  Resolved [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * (@mohammedays)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/is-it-ok-to-delay-javascript/)
 * Hello there, I am using a plugin that helps with preformance, and it delays javascript
   that includes gtag/js, analytics.js, and frontend-gtag.min.js
 * would this negatively affect the plugin performance? the delay is for 2 sec
 * thank you

Viewing 1 replies (of 1 total)

 *  Plugin Support [Michelle D.](https://wordpress.org/support/users/devmich/)
 * (@devmich)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/is-it-ok-to-delay-javascript/#post-16426734)
 * Hi [@mohammedays](https://wordpress.org/support/users/mohammedays/),
 * Thanks for reaching out.
 * If using any optimization or performance plugins, we recommend allowing MonsterInsights
   and Google Analytics scripts to load right away. This helps with keeping your
   analytics data as accurate as possible.
 * If you’re having trouble with that, or have further questions, please reach out
   to our team at [https://www.monsterinsights.com/lite-support/](https://www.monsterinsights.com/lite-support/)
   and we’ll be happy to help.
 * Thanks so much!

Viewing 1 replies (of 1 total)

The topic ‘is it ok to delay javascript?’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michelle D.](https://wordpress.org/support/users/devmich/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/is-it-ok-to-delay-javascript/#post-16426734)
 * Status: resolved