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
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in LIGHTHOUSE
- 401 error when try to connect to Lighthouse API
- Lighthouse report says my start_url isnt cached
- Hello World Angular CLI as Measured by Lighthouse(Why slow and enormous?)
- Lighthouse incorrectly states I have not registered a Service Worker
- Generating HTML report in gulp using lighthouse
- What is the scoring formula for Lighthouse accessibility audit?
- How to correct "preload key requests" performance problem on lighthouse with vue-cli and vue.config.js
- Accessibility error with transparent text before scrolling
- Lighthouse "Ensure text remains visible during webfont load " for local files
- Can I rely on Google Lighthouse reports (especially for mobile sites)?
- Google Developers Network tab purple line
- Lighthouse & pagespeed insights performance score is inconsistent
- Increase in third party libraries
- Is 80 a strict Lighthouse scores for publishing TWA apps?
- How to access Lighthouse Panel data in Chrome Dev-Tools?
Related Questions in HOTJAR
- Hotjar on site that uses turbolinks?
- Trouble Validating Hotjar Installation for Shopify app
- hotjar is unable to collect data due to csp issue
- Why is my Content Security Policy not being adhered to?
- How to install Hotjar on a Single Page Application website (for example React website) and how to install snippet for User Attributes?
- How to use hotjar with ember ?
- How to create Hotjar like application?
- How to disable hotjar on localhost rails?
- Ruby on rails WebSocket connection to 'wss://ws15.hotjar.com/api/v2/client/ws' failed: WebSocket is closed due to suspension
- HotJar abruptly ends after user is directed to another section of the website via JavaScript
- Fix warning Hotjar not launching due to suspicious userAgent
- How to remove hotjar scripts in wordpress
- Integrating a React SPA with hotjar heatmap tracking
- Load third-party scripts after Lighthouse / Page Speed Insights scan finishes
- Does the Hotjar support PWA?
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 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?