My website has some third-party scrips that affect badly on website's LCP score (Marked as "Reduce unused JavaScript").
The main one is Hotjar.
My target is to load this script after Lighthouse / Page Speed Insights finishes it's scan (I don't mind to loose some seconds when the script doesn't work).
I tried to use tricks like defer, load event, etc... Nothing seems to be work.
Has someone faced this issue? How can I handle it without using hard-coded settimout?
Thanks :)
Load third-party scripts after Lighthouse / Page Speed Insights scan finishes
526 Views Asked by Askish At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in LIGHTHOUSE
- Why does Dynamic and Suspense Make Lighthouse Scores Worse?
- Why is TBT on PSI so different from my local machine?
- Lighthouse performance Largest Contentful Paint element
- React.lazy doesn't improve lighthouse or PageSpeed Insights score. Is it a problem actually?
- What information does 'timing.entries' section gives in Lighthouse report?
- Is there any alternative to cleanup function of useEffect?
- Nuxt Speedkit breaks Lighthouse Chrome extension
- how can i fix Largest contentful paint (lcp) issue for mobile
- How to further mitigate bad web vitals LCP results?
- Element hide and show causing the Largest Contentful Paint 8000ms
- Lighthouse reduce unused javaScript
- Dzava Lighthouse index.js: not found using laravel
- Lighthouse PHP : Return type depending on guard
- Lighthouse playwrite :: TypeError: Failed to fetch browser webSocket URL from http://127.0.0.1:9222/json/version: fetch failed
- lighthouse Playwright- Instead change the require of index.js, to a dynamic import() which is available in all CommonJS modules
Related Questions in HOTJAR
- Using Hotjar with Google Dialogflow
- Why is hotjar 'verify installation' failing?
- How to disable Hotjar recording when consent changes?
- hotjar is unable to collect data due to csp issue
- Trouble Validating Hotjar Installation for Shopify app
- How to create popover survey like Hotjar using javascript on client website?
- Implement Hotjar's feedback component in a React app?
- Issues when initialising hotjar with Next.js and Typescript
- Heap session recording is not working with electron js based application
- Heatmap with rrweb package
- HotJar Cookies with HttpOnly attribute
- element.nextSibling returns first sibling
- Fix warning Hotjar not launching due to suspicious userAgent
- Serve static assets with an efficient cache policy - External links
- How to turn on/off Hotjar dynamically without page reloading
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?