Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Carbon impact evaluator

1 sites Security covered Drupal 10–11
View on drupal.org

This module estimates your website's carbon emissions using two methods: one based on data transfer and another based on the total bytes transferred. It allows you to choose which calculation methods to use and view a report of your site's carbon impact per page.

The Carbon Impact Evaluator module is designed to measure the carbon emissions associated with a website. To conduct this assessment, the module uses the CO2.js library from the Green Web Foundation, which offers two distinct methodologies for calculating emissions:

  • Sustainable Web Design: This methodology is based on data transfer as an indicator of energy resource usage. It uses this data to extrapolate the site's energy consumption values as a fraction of the expected energy for a total system. This approach allows for a more detailed understanding of the environmental impact related to data traffic.
  • OneByte: This methodology model calculates CO2 emissions based on the amount of data in bytes. This metric provides a direct perspective on how each byte transferred contributes to the application's carbon footprint. Flexibility is a feature of this module, as users have the option to implement both models or just one, depending on their needs.

Users can view a summary of the carbon impact of various pages by accessing the URL /carbon-impact-evaluator/table. This page contains a table that records the carbon emissions for the different pages of the site, considering only visits made after the module was installed.

Installation

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/895232 for further information.

Configuration

  1. Go to Configurations > Web services > Carbon Impact Evaluator Settings.
  2. Activate the plugins that you wish to make available on your website.
  3. Indicate whether your site is hosted by a Green Host.
  4. If you have activated the Sustainable Web Design (Per Visit) option, also fill in the Datacentre Country field with the ISO alpha-3 code of the country in which your datacentre is available.
  5. Structure > Block layout and add the block to the region you wich it appears.
  6. In the block configuration, under the Pages section, specify that you want to hide the block on the following page: "/carbon-impact-evaluator/table". This will prevent calculations from being executed on the page containing the CO2 impact accounting table for your site.

Last update (May 9, 2025):

In our latest update (May 9, 2025), we made it possible to calculate CO2 emissions for entities such as Users and Taxonomies.

Note: If you have installed the latest version of our module but have not updated it since May 10th, we advise you to update it and run updb to update your table with the latest module fixes. For more information, you can consult these two issues:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 7
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.2.2 Stable 10–11 Mar 14, 2025
1.2.1 Stable 10–11 Mar 10, 2025
1.2.0 Stable 10–11 Feb 26, 2025
1.2.x-dev Dev 10–11 Nov 4, 2024
1.1.x-dev Dev 10–11 Oct 31, 2024
1.0.x-dev Dev 10–11 Oct 22, 2024
1.0.0 Stable 10–11 Oct 22, 2024