How much each analytics script weighs.

Every visitor downloads the script, on every page. We measured 28 of them the same way on .

Okidoki is not the smallest. Counter, Litlyx, and Plausible weigh less. A few kilobytes rarely make a page slow on their own. Where size matters is the big ones, which take longer to download and run on a phone.

ToolGzippedUncompressedCompared with Okidoki
Counter0.4 KB1.1 KBSmaller
LitlyxFrom the npm package their install code loads through jsDelivr.1.2 KB2.8 KBSmaller
PlausibleTheir classic script. The newer per-site script that plausible.io itself loads weighed 2.5 KB.1.3 KB2.8 KBSmaller
Jetpack StatsThe file name changes every week.1.5 KB3.8 KBAbout the same
OkidokiA video add-on of 1.8 KB loads only on pages with an embedded video.1.5 KB2.7 KB1×
SelineTheir server sends it without compression, so visitors download all 4.3 KB.1.9 KB4.3 KB1.3×
Cabin2.0 KB3.8 KB1.3×
Vercel Web Analytics2.0 KB4.5 KB1.3×
Fathom2.1 KB7.0 KB1.4×
Vemetric2.5 KB6.6 KB1.6×
Ahrefs Web Analytics2.7 KB6.9 KB1.8×
GoatCounter3.3 KB9.2 KB2.2×
OpenPanel3.4 KB9.6 KB2.2×
Pirsch3.5 KB12 KB2.3×
Umami4.1 KB9.2 KB2.7×
Clicky4.8 KB13 KB3.1×
Simple Analytics4.8 KB9.6 KB3.2×
SwetrixTheir install code points to the full library on jsDelivr.6.7 KB24 KB4.4×
Cloudflare Web AnalyticsAlso measures how fast your pages load.10 KB32 KB6.8×
Rybbit12 KB37 KB7.8×
Usermaven14 KB44 KB9×
StatCounter19 KB54 KB12×
MatomoThe file you host yourself. Matomo Cloud’s file, with its plugins, weighed 66 KB.22 KB68 KB15×
Microsoft ClarityThe main script, from the npm package Microsoft publishes. A small loader runs first.26 KB74 KB17×
MixpanelThe full library their install code loads.39 KB121 KB26×
AmplitudeThe browser library their install code loads, from npm.70 KB258 KB46×
PostHogLoads more when needed, such as session recording.123 KB380 KB81×
Google Analytics 4Google builds the file per property. Measured with an empty property ID, so yours may differ.156 KB445 KB103×
MonsterInsightsLoads Google’s gtag.js. Its own script comes on top and is not counted here.156 KB445 KB103×

1 KB = 1,000 bytes.

How we measured

We opened each file at the address in the tool’s own install code, in Chrome, and gzipped it the same way for every tool. That gives Okidoki’s script 1,517 bytes, the same number our build checks.

Where the browser could not open a file, we took it from the npm package or GitHub repository the tool publishes it from. The notes say which.

We count the first script a page loads. Several tools load more later, such as session recordings or heatmaps, so their real total is higher.

What a server actually sends varies. Some use Brotli, which is a little smaller than gzip, and one sends no compression at all. Gzip is the same yardstick for everyone.

Not measured

We could not measure these fairly, so we left them out instead of guessing.

See all comparisons →

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →