Core Web Vitals: How to Audit and Tame Third-Party Scripts
Discover how to fix INP issues in Core Web Vitals by auditing third-party scripts instead of upgrading hosting servers.

Stock photo for illustration only, not from the actual event
- Poor INP scores are rarely caused by server issues but rather by third-party scripts.
- Ads and third-party content account for a massive share of browser JavaScript load.
- Migrating hosting does not fix INP as long as the main thread remains blocked.
- Optimizing third-party scripts can be achieved within a single sprint without server migration.
Whenever Core Web Vitals scores turn red, boardroom conversations invariably pivot toward upgrading hosting, increasing RAM, or shifting to a VPS. Yet, after migration is complete and hosting bills double, INP figures in Search Console remain in the red. This pattern repeats across interior design, construction, and local service projects. A step-by-step audit guide published by Search Engine Journal confirms that the culprit is rarely the server, but rather the code executing inside visitors' browsers.
According to adPerf research dissecting the performance cost of third-party content, ads account for over 15% of page load overhead in browsers, with roughly 88% of that overhead consumed by JavaScript. This metric is crucial because JavaScript is the sole element that actively blocks the main thread where INP is calculated. Many business owners invest heavily in infrastructure that functions adequately, while three complimentary marketing tags quietly consume their entire responsiveness budget.
The most encouraging aspect is that the issue can be resolved within a single sprint, without moving a single byte to a new server. INP measures how swiftly a page responds to interactions, not how fast the server delivers HTML. As long as tag managers, chat widgets, ad pixels, and video embeds continue to commandeer the main thread, infrastructure upgrades merely relocate the bottleneck rather than eliminating it.

Stock photo for illustration only, not from the actual event
A common misconception regarding Core Web Vitals is assuming all three metrics measure identical aspects. In reality, LCP and INP exist in different domains. LCP is primarily a network and asset concern, whereas INP is almost entirely an issue of JavaScript architecture. A faster server delivers HTML earlier, but it does not prevent the main thread from remaining busy, which is where third-party script issues become apparent.
"The culprit is rarely the server, but rather the code executing inside visitors' browsers."
Search Engine Journal
The auditing process begins with field data from Search Console under Core Web Vitals, navigating to the INP report and drilling down to specific URLs with data, such as contact pages, filtered catalog pages, and checkout pages where interactions frequently occur. Developers can then utilize DevTools to isolate third-party scripts from internal site code.
Deeper analysis reveals that third-party scripts are frequently introduced through marketing meetings without performance impact reviews. Understanding the difference between simulated Lighthouse data and real-world CrUX data empowers development teams to target fixes accurately, avoiding wasted time on server adjustments that fail to address the root cause.
Source: Dev.to
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment