CO2 Web Tracker

§Method

How the estimate is made

One load of the homepage, every transferred byte counted, a hosting lookup, then a published model. Same evidence, same result: no manual grading, no AI.

01The load

We open https://<domain>/ in a fresh headless Chromium, the way a first-time visitor’s browser would: empty cache, no cookies, service workers off, a 1366 × 768 desktop window. We don’t scroll, click, accept or dismiss anything, so consent banners stay as they are and content that only loads on scrolling is not included.

If HTTPS does not work at all, we try plain HTTP once and say so in the report. Redirects are followed within the same site (the domain and its www or non-www twin). A homepage that forwards to another site is not measured.

The load ends at the browser’s load event plus 2 seconds without any network activity, and never later than 30 seconds after it started.

02What is counted

Every response in that window, from the site and from every third party: HTML, images, scripts, styles, fonts, video, data requests, beacons and WebSocket messages. For each one we count the bytes that crossed the network, as the browser reports them: compressed size plus headers. Requests the page’s own JavaScript makes during the load are included.

The list of responses is stored as evidence (address without query string, host, type, status, size, first or third party) and shown in each report.

First party means the domain itself and its subdomains (www., cdn., static. …). Everything else is third party.

03Limits

A load stops at 500 requests, 30 MB or 30 seconds. If it hits a limit, the result is shown as at least the counted amount and marked as a lower bound. Pages that never go quiet, for example with autoplaying video or live streams, end up here.

Requests to private, reserved or internal network addresses, to bare IP addresses and to ports other than 80 and 443 are refused before any connection is made and count as zero.

04Hosting

We ask the Green Web Foundation’s Greencheck API whether a host is on record as running on green energy. We check the host that serves the homepage and the 20 largest other hosts by bytes, and cache each answer for 30 days.

A host is verified green or not verified. “Not verified” only means the provider has not shown evidence to the Green Web Foundation; it says nothing bad about the host. If a lookup fails we keep the previous answer; with no previous answer the host is shown as unknown, counted as not verified, and retried next time.

The share of bytes that came from verified green hosts is passed to the model as its green hosting factor (CO2.js 0.19.0 accepts a fraction). Hosts outside the 20 largest are counted as not verified.

Sites behind a CDN. When a content delivery network such as Cloudflare or Fastly answers for a site, the hosting check sees the CDN’s servers, and the server behind them is hidden on purpose. We do not try to uncover it. Reports name the CDN and any platform the response headers point to, as a hint. A hosting provider can link a site to itself with carbon.txt (a CarbonTxt-Location header or a carbon-txt-location DNS record); the Green Web Foundation then names that provider, and the report shows the declaration. None of this changes the estimate.

05The model

Bytes become grams with CO2.js 0.19.0 and the Sustainable Web Design Model, version 4, with the model’s default assumptions and its global average grid intensity (494 g CO2e per kWh). The model splits energy across data centres, networks and visitors’ devices, including the emissions of making the hardware. The green hosting factor reduces only the data-centre operating part.

The rating is the model’s digital carbon rating, taken directly from CO2.js:

Ratingg CO₂e per page view
A+≤ 0.040 g
A≤ 0.079 g
B≤ 0.145 g
C≤ 0.209 g
D≤ 0.278 g
E≤ 0.359 g
F> 0.359 g

Every result stores the version of these rules: currently m1+co2js-0.19.0+swd-v4.

06Limitations
  • It is an estimate from transferred data, not a measurement of real emissions. Real devices, networks and electricity grids vary widely.
  • One load at one moment: content that changes per visit (ads, rotating images, A/B tests) can make the next result differ.
  • Only the homepage, only the first visit. Return visits usually transfer far less.
  • Content behind consent banners, logins or scrolling is not included.
07Suggestions

Reports show suggestions from fixed rules on the evidence. Current triggers: images over 50% of the weight; uncompressed text responses over 10 kB in total; fonts over 300 kB; third parties over 50% of the weight; video or audio over 100 kB during the load; JavaScript over 1 MB; more than 100 requests; hosting not verified; a homepage behind a CDN with no carbon.txt link; a load that hit a limit.

08Credits
  • CO2.js by the Green Web Foundation, Apache License 2.0.
  • Sustainable Web Design Model by Sustainable Web Design.
  • Grid intensity data bundled with CO2.js comes from Ember, licensed CC BY-SA 4.0.
  • Green hosting data from the Green Web Foundation.

These organizations are named as sources; they are not affiliated with CO2 Web Tracker and do not endorse it.