Sutrion

Statistics

cdnjs vs Google Hosted Libraries: usage statistics 2026

Last updated:

In short

According to Sutrion's Shop Index (November 2026), cdnjs is detected on 229,287 online shops compared to 178,354 for Google Hosted Libraries, making cdnjs 1.3 times as common.

Key figures

  • cdnjs is detected on 229,287 online shops in 2026 and Google Hosted Libraries on 178,354, according to Sutrion's Shop Index (November 2026).

  • cdnjs is used by 1.3 times as many online shops as Google Hosted Libraries in 2026, according to Sutrion's Shop Index (November 2026).

Online shops using cdnjs and Google Hosted Libraries, by country (November 2026): cdnjs share

The same figures are in the table below. Download this chart (SVG), free to use with a link to this page.

What stands out

Although cdnjs beats Google Hosted Libraries overall by 229,287 shops to 178,354, Google actually takes the lead on Shopify (16.4% to 14.8%) and on Squarespace, where its 7.6% share is more than double cdnjs's 3.2%. On WooCommerce, the story reverses completely: cdnjs is on 8.2% of stores while Google Hosted Libraries sits at just 2.8%. We also see cdnjs pulling further ahead among the top 10,000 shops (12.1% vs 7.7%). My read is that Squarespace and Shopify template builders have long copy-pasted standard Google snippets for basic effects, while custom and top-tier shops lean on the wider catalog on cdnjs. It is worth checking your site's waterfall chart to see if an old template snippet is still fetching scripts from either service that your current design never uses.

What these figures can't tell you: Presence in our index means a shop's home page links to the service, which tells us where a script is hosted but not whether the script actually helps the shop sell anything.

Written by Muneb Momin with an AI writing assistant, from this page's figures only; every number in it is checked against the page.

cdnjs vs Google Hosted Libraries by country

Online shops using cdnjs and Google Hosted Libraries, by country (November 2026)
Countrycdnjs shopscdnjs shareGoogle Hosted Libraries shopsGoogle Hosted Libraries share
The United States81,89610.8%71,3999.4%
The United Kingdom21,95611.1%17,3458.8%
Canada13,58711.5%11,90810%
France13,4818.4%8,4535.3%
Australia12,49212%11,44311%
Italy10,4298.4%6,9525.6%
Spain10,3977.8%7,0805.3%
Germany8,5935.9%5,9884.1%
The Netherlands8,23910.9%5,4197.2%
Poland5,3977.2%3,0894.1%
Czechia3,70110.8%2,5817.5%

cdnjs vs Google Hosted Libraries by e-commerce platform

Shops on each platform using cdnjs and Google Hosted Libraries (November 2026)
Platformcdnjs shareGoogle Hosted Libraries share
Other or own-built platforms11.4%7.2%
Shopify14.8%16.4%
WooCommerce8.2%2.8%
Squarespace3.2%7.6%
PrestaShop6.5%5.7%
BigCommerce18.4%28.5%
Wix1.5%0.7%

cdnjs vs Google Hosted Libraries by shop size

Shops of each size using cdnjs and Google Hosted Libraries (November 2026)
Traffic rankcdnjs shareGoogle Hosted Libraries share
Top 10,00012.1%7.7%
Top 100,00010.9%8%
Top 500,00010%7.4%
Top 1 million9.2%7.2%
Beyond the top 1 million8.6%7.8%

How technologies are counted

  • Technologies are detected by HTTP Archive from each shop's home page, using the open Wappalyzer rules. A tool loaded only on other pages, or only after a visitor clicks, may not be counted, so every count is a lower bound.
  • Shares are of all online shops in the group named (a country, a platform or a size band) in Sutrion's Shop Index for November 2026. A technology gets a page for a country when at least 300 shops there use it.

How these statistics were measured

  • Sutrion's Shop Index joins two public datasets by web address: HTTP Archive's October 2026 crawl, which records what each website is built with and its home page code, and the Chrome UX Report for October 2026, which records speed as real Chrome users experienced it.
  • The Shop Index holds 2,346,411 online shops in November 2026: every website on which HTTP Archive detected e-commerce software and which also appears in the Chrome UX Report.
  • Speed figures cover the 1,057,862 shops with enough real visitors for Chrome to report all the measures; smaller shops have no speed figure and are left out of speed shares.
  • Accessibility figures describe each shop's home page only, as HTTP Archive's crawler loaded it. They count code problems a machine can see, not everything a disabled customer may meet.
  • A figure for a platform or a country is shown only when at least 1,000 shops stand behind it. Every figure is a count of shops in the Shop Index; none is an estimate of all shops on the web.
  • A shop's country is the country where most of its Chrome visitors are. The figures were last updated on 12 November 2026. You may quote any figure with a link to this page.

Related

More statistics

Cite or share these figures

You are welcome to quote these figures with a link to this page:

Sutrion (November 2026). cdnjs vs Google Hosted Libraries: usage statistics 2026. Sutrion Shop Index. https://www.sutrion.tech/statistics/cdnjs-vs-google-hosted-libraries

Share on LinkedIn · Share on X

Get the list of these shops

The online shops behind these figures, in a spreadsheet: website, platform, traffic band, technologies, speed and accessibility results. See how many there are for free.

See the shops

Download the data

The figures behind these pages as spreadsheets (CSV): platforms, countries, and how many shops use each technology, by country and by platform. Free. We email you the links.

We use your answers to decide what to send you. See our privacy notice.

Check one shop

These figures are averages. To see what your own shop gets wrong, run the free check: it takes about 30 seconds.

Check my shop