The ClickGUARD website tracking code has no impact on page load times due to the following:
- It is loaded asynchronously, ensuring it does not delay the loading of the main page content.
- It does not alter the visual layout of the page, except when a popup warning is shown to offenders, which only occurs after the page has fully loaded.
How is the code loaded asynchronously?
By making the script asynchronous, ClickGUARD instructs the browser not to wait for the script to load before continuing with other tasks. This approach, recommended by Google's speed optimization guidelines, involves adding the async
attribute to the script tag. This tells the browser not to block the construction of the Document Object Model (DOM) while waiting for the script, which improves page performance.
The modern industry standard for optimizing speed is to load JavaScript tags asynchronously. This allows the JavaScript to run in parallel with the rest of the page content, meaning that even if the tracking script is slow to load or respond, it will not affect the overall loading speed of the page.
Comments
0 comments
Please sign in to leave a comment.