Title: Delayed JS is loading third party scripts
Last modified: January 13, 2022

---

# Delayed JS is loading third party scripts

 *  Resolved [bernardoliveira](https://wordpress.org/support/users/bernardoliveira/)
 * (@bernardoliveira)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/delayed-js-is-loading-third-party-scripts/)
 * Hi LiteSpeed team,
 * Thank you for the wonderful work.
 * I’m migrating all from WP Rocket/Nginx to LiteSpeed Cache/OpenLiteSpeed.
 * I noticed that on my website the gtm, gtag, hotjar and connect.facebook.net are
   loaded even with delayed JS. In my case, I don’t need it as it slows the website
   a lot. I supposed that there’s a whitelist for excluding those scripts from the
   delayed JS, but how can I overwrite it?
 * Report Number: APRCOOTN
 * Thank you very much!

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/delayed-js-is-loading-third-party-scripts/#post-15248741)
 * Hi,
 * you mean you don’t want them to be delayed ?
 * in that case, go to Page optm -> tuning -> defer JS exclude
 * Best regards,
 *  Thread Starter [bernardoliveira](https://wordpress.org/support/users/bernardoliveira/)
 * (@bernardoliveira)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/delayed-js-is-loading-third-party-scripts/#post-15248750)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/). I mean that I want them
   delayed.
 * [https://github.com/litespeedtech/lscache_wp/blob/dev/data/js_excludes.txt](https://github.com/litespeedtech/lscache_wp/blob/dev/data/js_excludes.txt)
 * They seem to be excluded automatically, but how can I remove them from the excluded
   list?
 * Thank you.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/delayed-js-is-loading-third-party-scripts/#post-15248939)
 * they were excluded for a reason , suggest not to interfere with it

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

The topic ‘Delayed JS is loading third party scripts’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/delayed-js-is-loading-third-party-scripts/#post-15248939)
 * Status: resolved