As of November 16, 2026, webatla counts 20,171,372 websites running Google Analytics, 6.19% of the 325.8 million websites it tracks. Put another way, Google Analytics market share across all tracked websites comes to roughly one site in 16.
All the Google Analytics usage statistics below come from webatla's technology pages as of that date, and the live figure sits on the Google Analytics technology page. The rest of this post covers what a scanner matches in a page, how to check one site with curl and DevTools, how many sites still ship the retired UA tag, and where the snippet tends to live in a codebase. Rivals, countries and the long growth curve are in webatla's Google Analytics statistics article.
Each square is 0.25% of the websites in webatla's scan. The green ones carry a Google Analytics tag.What a scanner records when it finds the tag
A detection is a narrow fact. It means the Google Analytics tag turned up in the code of a page during its most recent scan. It says nothing about traffic, about whether anyone opens the reports, or about who owns the account.
What makes this tag useful to a crawler is that it carries identifiers. The sample rows on the technology page list the measurement IDs found on each domain, the strings that begin with G- or UA-. Those prefixes map onto the two generations most developers have worked with, plus one lookalike.
-
G-XXXXXXXXXXis a GA4 measurement ID. -
UA-XXXXXXX-Yis a Universal Analytics property ID, the previous generation. -
GTM-XXXXXXXis a Google Tag Manager container. It may load Analytics inside it, or it may not.
The same page notes that domains sharing one measurement ID are almost always operated by the same team. It also warns that a shared ID is evidence of shared administration and not proof of shared ownership, because agencies and hosting companies often roll out their own accounts across client sites.
There is a practical use for that on your own projects. If a staging or preview deployment ships the production G- ID, its page views land in the same property as the real site and quietly pollute the reports. Checking which hostnames send hits to your property (GA4 has a hostname dimension for this) is a cheap way to catch that kind of leak.
Checking a page yourself, raw HTML first
You do not need a crawler to see roughly what a scanner sees on one site. The quickest signal is the HTML the server sends back. This pulls Google tag IDs and loader URLs out of a single response:
url="https://example.com/" curl -sL "$url" \ | grep -oE 'gtag/js\?id=[A-Za-z0-9-]+|UA-[0-9]+-[0-9]+|GTM-[A-Z0-9]+|google-analytics\.com/(analytics|ga)\.js' \ | sort -u If the only match is a GTM- ID, Analytics may still be installed. It can load from inside the container, and then the G- ID appears only at runtime.
No match at all does not prove the site has no Google Analytics either. The usual reasons for a miss are these.
- The page is rendered in the browser and a script injects the snippet after load.
- The site waits for consent and loads nothing until the visitor accepts the banner.
- The server answers
curldifferently from a browser.
For those cases, open the page in a real browser, accept the banner if there is one, and list the Google scripts that actually made it into the DOM:
// DevTools console, after the page has finished loading [...document.scripts] .map(s => s.src) .filter(src => /googletagmanager\.com|google-analytics\.com/.test(src)) The Network panel gives a third view. Filter it by collect and reload. Requests with /g/collect in the path are GA4 hits leaving the browser. If the scripts load but no hit ever goes out, look at the consent setup before you blame the tag.
| What you find | What it tells you |
|---|---|
gtag/js?id=G-... | gtag.js loading a GA4 property |
gtag/js?id=UA-... | gtag.js loading a Universal Analytics property |
analytics.js with ga('create', ...) | the Universal Analytics library |
ga.js with _gaq | the older classic library that came before Universal Analytics |
gtm.js?id=GTM-... | a Tag Manager container, whose tags are not in the HTML |
requests to /g/collect | GA4 hits on their way out |
One blind spot covers every method above. webatla's page for Google Analytics Enhanced Ecommerce notes that implementations routed entirely through server-side tagging are missed, since the tracking no longer shows in the delivered page. A curl check runs into the same wall.
The UA tags still in production
webatla's page splits Google Analytics rows by tag type where the type is known.
- GA4 on 7,303,024 sites, 71.1% of the rows with a known type.
- UA on 2,974,610 sites, 28.9%.
Together that is 10,277,634, about half of the 20.17 million total. No type is recorded for the rest, so treat both figures as floors.
Universal Analytics no longer collects data. The page reads a site that still carries only the old tag as one whose front end nobody has touched since UA stopped collecting, and a site that carries both as part way through a migration or never cleaned up.
For scale, 2,974,610 is more than the Cloudflare Browser Insights count (2,728,107) and more than the Facebook Pixel count (2,418,694). The retired tag is still one of the most common analytics scripts in webatla's scan.
The retired UA tag next to live tags and tools. Both Google Analytics rows count only sites where the tag type is known.A UA leftover still costs something. It is a third-party script reference pointing at a property that no longer collects anything, and it confuses the next developer who reads the template. Removing it is a small job, and a few checks keep it from breaking anything.
- Search the codebase for calls like
ga('send', ...)and_gaq.push(...)in click handlers and form code. Delete the library snippet but leave those calls, and the browser throws a ReferenceError the first time one runs. - Check the CMS fields for header and footer code, theme options and plugin settings, and not only the templates in git.
- Open the Tag Manager container, if the site has one, and look for Universal Analytics tags and the triggers that fire them.
- If you move custom events to GA4, map them instead of copying them. GA4 records named events with parameters, while UA events were built from category, action and label.
Adding and removing the tag on live sites
The history on the technology page separates sites that launched with the tag from existing sites that switched to it, and sites that shut down from sites that dropped it while staying online. The edits to sites already online are the part a maintainer will recognise. The history is a model rebuilt from archived page code, and the early years are approximate, so the figures here start in 2022, and some months up to early 2024 are themselves estimates on the page.
| Year | Added the tag to a live site | Removed it, site stayed online | Net from edits |
|---|---|---|---|
| 2022 | 3.82M | 2.91M | +0.91M |
| 2023 | 4.58M | 4.01M | +0.57M |
| 2024 | 3.50M | 3.68M | -0.18M |
| 2025 | 3.21M | 4.11M | -0.90M |
| 2026, January to October | 2.89M | 2.85M | +0.04M |
In 2024 and 2025 more live sites took Google Analytics out than put it in, and January to October 2026 came out roughly level. A removal here means the scan stopped finding the tag in the page code while the site stayed online. That can be a developer deleting the snippet, the tag moving inside a Tag Manager container or behind a consent banner, a redesign that left it out, or a measurement effect. The data does not say which.
On a site you maintain, version control can answer what the data cannot. git log -S 'G-XXXXXXXXXX' lists the commits that added or removed that exact string, so a tag that vanished from the templates points straight at the change that took it out. If the search comes back empty, the snippet probably lived in a CMS field, a plugin setting or a container, which is where the next section looks.
Where the snippet lives: containers and plugins
Three common routes are a snippet pasted into a template, a Tag Manager container that loads it, and a CMS plugin that prints it. Each path looks different from outside.
Google Tag Manager runs on 7,226,750 sites, a number equal to 35.8% of the Google Analytics count. Its technology page notes that a detected container tells you the site can deploy tracking without touching code, and tells you nothing about what the container holds. The same page adds that tags deployed through a container may not be detectable on their own, so its counts for single analytics tools are floors wherever a container is present. When Analytics lives inside the container, the raw HTML carries the GTM- ID and no G- ID, which is exactly what the curl check above returns on such a site.
On WordPress, plugins are the third route. Site Kit, Google's own plugin, runs on 3,345,975 sites. Its page notes that an install does not mean every service behind it is connected, so that number is not a count of sites where Site Kit prints the Analytics tag. In the history model Site Kit rose from 2.21M sites at the end of 2023 to 3.35M in October 2026, while MonsterInsights, Google Tag Manager for WordPress and ExactMetrics all fell.
WordPress plugins tied to Google tags, end of 2023 against October 2026, from the webatla history model.The plugin pages also carry a maintenance detail. The MonsterInsights page counts 310 distinct release strings, and the Google Tag Manager for WordPress page counts 174 distinct version strings. Per the MonsterInsights page, each old string in that tail belongs to a site where automatic updates are off, an agency has pinned the stack, or nobody has logged in for a long time. If you inherit one of those installs, bring the plugin up to date before you change its settings.
Migrations add one more trap. When a WordPress site moves from one of these plugins to Site Kit or to a hand-written snippet, confirm that the old plugin no longer prints its tag. Two snippets for the same property can double count page views, and the reports will show the jump long before anyone finds the cause in the markup.
Clarity, Hotjar, PostHog and the other tags you meet in client code
Further down webatla's Analytics category the tools get more specialized, and none of them comes close to Google Analytics in raw installs. The chart below ranks eight that a front-end developer is likely to run into. Seen from outside, they fall into two groups by how visible they are.
Microsoft Clarity and Hotjar, the two session replay tools in the list, normally load from the vendor's own hostname, so they show up in page code much like a Google tag. Consent is what hides them. Both pages note that a tag held back until the visitor opts in never fires for a crawler, so their counts sit below the real installed base.
The privacy-focused and product tools hide in a different way. The pages for PostHog, Fathom, Snowplow Analytics, Vercel Analytics, Plausible and Matomo Analytics all warn that self-hosted or proxied installs are hard to see from outside. Serving the script from the site's own domain under a renamed path is often the whole idea, so it survives content blockers, and a scan that looks for vendor signatures misses exactly those installs. Their counts are floors too. Vercel Analytics adds one more wrinkle, since it is switched on inside the deployment platform and never pasted into a template.
Smaller analytics scripts by site count, with the change over the 12 months to November 2026 where the tool's page has a history.Only PostHog, Fathom and Snowplow Analytics have a history on their pages, so the other five have no trend to quote yet.
The split matters in two everyday jobs. When you review third-party scripts for performance, the replay tools are easy to find by hostname in the Network panel, while a proxied PostHog or Plausible install looks like a first-party request and slips past a quick scan of the waterfall. When you keep a consent banner's vendor list accurate, a proxied tool is the one most likely to be left off, because no vendor hostname appears in the page to remind you of it.
Short answers for developers
How many websites use Google Analytics?
webatla counts 20,171,372 as of November 16, 2026, which is 6.19% of the 325.8 million websites in its scan. The figure on the technology page is refreshed daily.
How do I tell GA4 from Universal Analytics on a page?
Read the IDs. G- means GA4 and UA- means Universal Analytics. If the HTML only shows GTM-, check the scripts loaded at runtime or the requests in the Network panel.
My curl check finds only a GTM- ID. Is Analytics installed?
Possibly. The container can load the GA4 tag at runtime, so open the page in a browser, accept any consent banner and filter the Network panel by collect. A /g/collect request that carries a G- ID answers the question.
Can an old plugin and a new snippet double count page views?
Yes, when both send hits to the same property. Reload the page once with the Network panel filtered by collect. Two requests for the same G- ID that both carry en=page_view point at a duplicate tag, and the fix is to switch off whichever source you no longer want.






