What AuditX checks
The scan does not open a new browser for this. It reads the list of network requests from the Lighthouse load of the page you scanned. That is one fresh load with no scrolling, waiting or clicking. A third party is any host whose registered domain differs from the domain of the page, so your own subdomains are not counted. The scan lists up to the 60 heaviest hosts, with the true total. It groups them by kind: analytics, advertising, social embeds, fonts, maps, chat widgets, tag managers, CDNs, consent management, payment, and error or performance monitoring. Hosts it does not know are listed as unrecognised. For each group it shows up to 4 names, the size in KB and the number of requests. When it can tell which frame made each request, it also says how many of the domains served JavaScript into the page itself, naming up to 5, or that none did. The result is always an info note, which does not lower the score and never counts as unmeasured. The note says so when the page made no third-party connections, and when the connections could not be measured. A script that loads only after a scroll, a delay or a click, or only after consent, does not appear. The scan does not judge any vendor and does not check consent. A separate check does that.
Why it matters
The OWASP Third Party JavaScript Management Cheat Sheet explains that third-party JavaScript is rarely reviewed before it is added and, once it runs, gets the exact same privileges as the user on your page.
web.dev explains that third-party JavaScript, meaning scripts you did not write and that come from other servers, can affect performance.
How to fix it
- Read the list and write down what each tool is for. Ask who in your team uses it.
- Remove analytics, advertising and marketing tools that nobody uses any more, and delete the tag from your tag manager as well.
- Load chat widgets, maps and video embeds only after a visitor asks for them, for example by clicking a button.
- For the tools you keep, check the vendor and keep a list of them, so that a new tool is added on purpose.
<button type="button" id="show-map">Show the map</button>
<div id="map"></div>
<script>
document.getElementById("show-map").addEventListener("click", function () {
var f = document.createElement("iframe");
f.src = "https://maps.example.com/embed";
document.getElementById("map").appendChild(f);
});
</script>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site