No current owner or clear feature
- Good next step
- Remove it after checking with the team that owns analytics, ads, or product behavior.
- Check
- Important reporting and site functionality still work.
Measure which external scripts add load time, test their impact, and remove, defer, or lazy-load them without breaking essential features.
Third-party scripts can add requests, download bytes, parse and execute JavaScript, and delay rendering when they run in the critical path. Measure their cost with DevTools, PageSpeed Insights, or WebPageTest, then block one request in a test to compare behavior. Remove redundant tags, defer noncritical scripts, and keep essential functionality working before shipping the change.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
The test should answer two separate questions: what cost does this code add, and what user or business task depends on it? A tag can be expensive but necessary on checkout, while a second analytics tool may duplicate an existing measurement without a clear benefit.
Open Chrome DevTools before reloading the page. In Network, show the Domain column and filter to JS. Note each origin, request time, transfer size, and initiator. Use CPU and network throttling to approximate slower devices and connections.
Record a Performance trace and group the Bottom-up view by product to identify the longest third-party work. PageSpeed Insights and Lighthouse can highlight expensive JavaScript execution and large network payloads.
In the Network panel, right-click the vendor request and choose Block request. The Request conditions drawer opens with that pattern enabled (from the Command Menu, run Show Request conditions). Reload and compare the page with and without that one resource. Closing DevTools disables blocking. Measure at least three times, because some third-party scripts fetch different resources on each load.
For each origin, record the business owner, page types where it runs, and the feature it provides. Confirm whether another tag already measures the same event or provides the same widget.
defer, after user interaction, or when the content nears the viewport.loading="lazy" to an offscreen embed <iframe>.async and defer both let the browser continue parsing HTML while the script downloads, but they have different execution timing. With async, parsing is blocked while the script executes after it downloads; defer waits until document parsing is complete. web.dev suggests async when a script must run early, such as some analytics scripts, and defer for less critical resources. It does not recommend async for essential libraries such as jQuery. Some scripts do not work loaded asynchronously, so check vendor documentation and test the page.
Record the purpose, page coverage, payload, and main-thread cost when someone requests a new tag. Recheck it after vendor updates.
A video or social widget can use a preview that downloads the full player only after the user asks for it. web.dev advises using these techniques only for offscreen or non-primary content, so that critical content gets indexed.
Several third-party embeds can pull the same frameworks and libraries in more than once; confirm there is a real requirement before keeping overlapping tools.
Simulate a slow or blocked vendor and confirm the page's navigation, forms, and core content still work.
It can give you control over loading and cache headers, but self-hosted scripts do not get automatic updates for API changes or security fixes.
For ecommerce, test payment, cart, and consent behavior before delaying checkout scripts. For publishers, load ad and video resources only where they are actually used. For SaaS landing pages, confirm analytics and chat tags do not block the form or primary call to action. Use a separate template or trigger when a vendor is only needed on a subset of routes.
If a vendor script loads over HTTP on an HTTPS site, review mixed content. Third-party work and server response delay can coexist, but removing a vendor script will not fix a slow origin server.
2 questions people ask next, answered from the sources on this page.
No. web.dev recommends async or defer unless a script is required for the critical rendering path, and notes that some scripts depend on execution order or do not work asynchronously. Test the script's function and loading requirements.
Not by definition. Measure whether it delays content, increases work, or harms user experience on your pages. web.dev's guidance is to identify which scripts take the most time, find out what each does, and remove or defer the ones the site does not need.
Run the free audit, then approve the fixes. Every change can be undone.