Title: Bloated Javascript Loading on every page &#8212; Sloppy Developer Enqueues
Last modified: September 30, 2025

---

# Bloated Javascript Loading on every page — Sloppy Developer Enqueues

 *  Resolved [tripflex](https://wordpress.org/support/users/tripflex/)
 * (@tripflex)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/bloated-javascript-loading-on-every-page-sloppy-developer-enqueues/)
 * You are enqueueing this file (and probably others), on every single page of someone’s
   WordPress site:
   wp-content/plugins/google-analytics-for-wordpress/lite/assets/
   vue/js/chunks/vendor-0853f02f.min.jsWhich appears to be a dynamic import from
   your frontend js file:google-analytics-for-wordpress/lite/assets/vue/js/frontend.
   min.jsEither way, you’re causing a conflict with my plugin that loads Flatpickr(
   ONLY ON THE PAGES NEEDED), and because you are not including the translation 
   files, users are now having the issue where it’s only showing the English version
   because your bundled version of flatpickr does not include all the translations.
   If you are attempting to use dynamic imports, I suggest that you review how you
   have this setup for your dynamic imports for libraries like this (if you want
   to use the global namespace for them) should be done only when your component
   loads that NEEDS the date or time picker, not just ALWAYS loading it regardless.
   Even if the user does not click on the admin menu to show your insights panel,
   you’re still loading everything regardless.This adds extra bloat to user’s sites
   causing it to load this unnecessary javascript on every page. For now i’m having
   to manually dequeue or tell clients to just remove your plugin as you have everything
   bundled and dynamically imported (incorrectly) so there’s no easy way for me 
   to work around this. Please fix.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Tim H](https://wordpress.org/support/users/tharg3/)
 * (@tharg3)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/bloated-javascript-loading-on-every-page-sloppy-developer-enqueues/#post-18664343)
 * Hi [@tripflex](https://wordpress.org/support/users/tripflex/)
 * Thank you for reaching out. I am truly sorry for the frustration and performance
   issues you’re experiencing with your site. I can absolutely understand your anger
   when a component seems to be impacting your site’s speed, and I want to personally
   address your concerns.
 * I’ve carefully read your suggestion about loading the admin bar assets only on
   click. From a performance standpoint, that is a very logical approach, and I 
   appreciate you detailing it for us. The challenge we face is a technical limitation
   within WordPress itself—the Admin Bar is not built to support loading assets 
   dynamically “on click.” It requires them to be available on page load in case
   a user interacts with it.
 * **However, if you are not using the feature its scripts should not be loading
   at all.** The good news is that you have full control to disable this and immediately
   resolve the issue. We have a built-in setting for this exact purpose.
 * Here’s how you can disable it and prevent those assets from loading:
    1. In your WordPress dashboard, navigate to **Insights > Settings**.
    2. Click on the **Advanced** tab.
    3. Scroll down to the **Reports** section.
    4. Toggle on the option that says **“Hide Admin bar reports”**.
 * Here’s a direct screenshot to show you exactly where that setting is: [Visual Guide to Hiding Admin Bar Reports](https://a.supportally.com/i/oVHHe4).
 * I know this doesn’t change the frustration you’ve already experienced, and for
   that, I am again very sorry. Please let me know if disabling this feature resolves
   the performance issue you were seeing. I’m here to ensure we get this sorted 
   out for you.
 * Best regards,
   Tim

Viewing 1 replies (of 1 total)

The topic ‘Bloated Javascript Loading on every page — Sloppy Developer Enqueues’
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: [Tim H](https://wordpress.org/support/users/tharg3/)
 * Last activity: [6 months, 3 weeks ago](https://wordpress.org/support/topic/bloated-javascript-loading-on-every-page-sloppy-developer-enqueues/#post-18664343)
 * Status: resolved