Every embedded script is code you did not write, fetched from a server you do not control, executing while your page is still trying to finish. A typical small business site carries between five and fifteen of them, several installed years ago for something that is no longer running, and each one is paid for by every visitor on every first visit.
What a script actually does to a page load
When a browser meets a third-party script it has to look up that domain, open a connection, negotiate security, download the file, and run it. That sequence takes place before the page is finished, and on a phone over mobile data each step costs meaningfully more than it does on a desk.
Running the script is frequently the more expensive half. Downloading a hundred kilobytes of code is quick. Parsing and executing it on a mid-range phone is not, and while that happens the page is unresponsive: taps do nothing, scrolling stutters. The visitor reads this as a slow site without knowing why.
The usual inventory
- Analytics, generally one and often two or three after a change of tools where the old one was never removed.
- A tag manager, which is one script that loads an unknown number of others.
- A chat widget, among the heaviest items commonly installed, and frequently no longer monitored.
- A review or testimonial widget pulling content from a platform, when the same testimonials could sit in the page as text.
- An embedded map, which is one of the largest single additions a page can carry.
- Social embeds and share buttons, each loading its own framework.
- Heatmap or session recording tools, installed for a two-week study three years ago.
- Advertising and remarketing tags from campaigns that ended.
Eight items, none of which felt significant when it was added. Together they can outweigh everything the business actually wrote.
The compounding problem
A tag manager is the clearest example. It is a small file, and its purpose is to load other scripts based on rules configured elsewhere.
That means the true cost is not the tag manager. It is whatever has accumulated inside it, added by different people over several years, none of it visible in the site's own code. Businesses regularly discover tags for tools they stopped using, campaigns long finished, and vendors they no longer work with, all still firing on every page view.
The same applies to widgets that load their own dependencies. One line of embed code can pull in a framework, a stylesheet, a font, and several further requests. The line in your page is one line. What arrives is not.
The failure nobody plans for
A third-party script is a dependency on somebody else's infrastructure. When their server is slow, your page is slow. When their server is unreachable, a script loaded the wrong way can leave your page hanging with nothing rendered while the browser waits.
This is the scenario worth understanding, because it produces an outage on your site caused entirely by a company you have no relationship with beyond a line of embed code. Loading scripts so they cannot block rendering is the difference between a degraded page and a blank one.
Consent, briefly
Scripts that set cookies or collect information about visitors are also a compliance consideration rather than only a performance one. Anything doing that should be disclosed in your privacy policy, and what a Canadian business needs to state is covered in what a privacy policy needs to say. A script nobody remembers installing is still collecting on your behalf, which is a second reason the audit is worth doing.
The audit, and the order to work in
- List every third-party request the site makes. Browser developer tools show this directly, and the list is usually longer than expected.
- Remove what is not being used. Free, immediate, and no trade-off to weigh. This alone resolves most of the problem on most sites.
- Open the tag manager and audit what is inside it, which is where the forgotten items hide.
- Replace heavy embeds with lighter equivalents. A static map image linking to directions instead of a full interactive map. Testimonials as text instead of a platform widget.
- Defer what remains so nothing third-party blocks the page from rendering.
- Load on interaction where possible. A chat widget that loads when someone clicks a lightweight button rather than on every page view costs nothing to the visitors who never use it, which is nearly all of them.
Third-party weight is one of the four recurring causes of slow small business sites, alongside images, and it is the one where the fix is most often simply deletion. It is also worth revisiting annually, because scripts accumulate quietly and nobody notices the page getting heavier a little at a time.
Frequently asked questions
How many third-party scripts is too many?
There is no fixed number, but a small business site rarely needs more than two or three. The useful test is whether each one is still being used by someone, since most sites carry several nobody has looked at in years.
Do chat widgets slow down a website?
They are among the heaviest common additions, and they load for every visitor whether or not anyone uses them. Loading the widget only when someone clicks a lightweight button removes that cost for the large majority who never open it.
Is Google Tag Manager bad for performance?
The container itself is small. The cost is whatever has been added inside it over the years, which is invisible in the site's own code. Auditing the contents usually finds tags for tools and campaigns that ended long ago.
Can a third-party script take my site down?
Yes. If a script is loaded in a way that blocks rendering and the provider's server is unreachable, the browser can sit waiting with nothing displayed. Loading third-party code so it cannot block rendering prevents this.
How do I find every script running on my site?
The network panel in your browser's developer tools lists every request and the domain it came from. Sort by domain and anything not from your own site is third-party.
Should I remove analytics to make the site faster?
Measurement is worth keeping, since without it you are guessing. What is worth removing is duplication, meaning old analytics left in place after a change of tools, and anything installed for a project that has finished.
West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.
Not sure what is running on your site?
We audit every third-party request, remove what nobody is using, and load the rest so it cannot hold up the page.
Start a Conversation