CO2Track

Plugin Banner

CO2Track

by dannyhoekstra

Download
Description

CO2Track lets you show your company’s carbon footprint transparently on your website. Connect to your CO2Track dashboard and display live emission data — automatically updated when you add new measurements.

Features

  • Live data — Widget fetches your latest CO₂ measurement automatically
  • Gutenberg block — Drag-and-drop in the block editor
  • Shortcode — Works with Classic Editor, Elementor, Divi, and any page builder
  • Light & Dark theme — Matches your website design
  • Trend indicator — Shows year-over-year change ( or )
  • GHG Protocol — Based on internationally recognized emission factors (DEFRA, IEA)
  • Scope 1+2+3 — Supports all emission scopes
  • Static mode — Enter values manually if you prefer
  • No tracking — No visitor data is collected

Who is this for?

  • SMEs reporting their carbon footprint (CSRD/ECGT compliance)
  • Sustainability consultants embedding client data
  • Companies showing environmental transparency to customers
  • ESG professionals integrating emission data on corporate sites

How it works

  1. Create a free account at co2track.nl
  2. Calculate your CO₂ footprint (quick estimate or detailed)
  3. Generate a Widget Key on the Widget page
  4. Install this plugin and enter your Widget Key
  5. Add the CO2Track block or [co2track] shortcode to any page

Shortcode Examples

[co2track] — Uses your global widget key and theme settings

[co2track theme="dark"] — Dark theme override

[co2track co2="12.4" company="Acme BV" year="2025"] — Static mode (no API needed)

PHP Template Tag

<?php echo do_shortcode('[co2track]'); ?>

Third Party Services

This plugin connects to the CO2Track API to retrieve CO₂ emission data for display on your website.

  • Service: CO2Track (https://co2track.nl)
  • API endpoint: https://raoaqlcbhkuuaerjxqmu.supabase.co/functions/v1/widget-data
  • Data sent: Widget Key (a public identifier, e.g. ct_xxxxxxxxxxxxxxxx)
  • Data received: Company name, CO₂ value, year, confidence level, previous measurement, scope label
  • When: Each time a page containing the widget is loaded by a visitor (cached for 5 minutes)
  • Terms of Service: https://co2track.nl/voorwaarden
  • Privacy Policy: https://co2track.nl/privacy

No personal visitor data is collected, stored, or transmitted to CO2Track. The widget only sends the Widget Key to identify which emission data to display.

  1. Install the plugin via the WordPress plugin directory, or upload the co2track folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu
  3. Go to Settings CO2Track and enter your Widget Key
  4. Add the CO2Track Widget block to any page or post, or use the [co2track] shortcode
Do I need a CO2Track account?

A free account at co2track.nl is recommended for live data mode. You can also use the plugin in static mode by entering CO₂ values directly.

Is the plugin free?

Yes, the plugin is completely free. CO2Track offers free and paid plans — the widget works with all plans. The CO2Track watermark is always shown on free and starter plans.

What data is sent to CO2Track?

Only the Widget Key is sent to the CO2Track API to retrieve your emission data. No visitor data, IP addresses, or personal information is collected or transmitted.

Does it work with page builders?

Yes. The shortcode [co2track] works with Elementor, Divi, WPBakery, Beaver Builder, and any other page builder that supports shortcodes. The Gutenberg block works in the native WordPress editor.

Can I have multiple widgets on one page?

Yes. Each widget instance works independently. Use multiple shortcodes or blocks with different settings.

1.1.0

  • Rebranded from CarbonTrack to CO2Track
  • Updated text domain from carbontrack to co2track
  • Updated shortcode from [carbontrack] to [co2track]
  • Updated block type from carbontrack/widget to co2track/widget
  • Updated all option names and function prefixes

1.0.0

  • Initial release
  • Gutenberg block with live preview
  • Shortcode support with all configuration options
  • Settings page for Widget Key and default theme
  • Light and dark theme support
  • Live API mode and static mode
  • Trend indicator (year-over-year change)
  • Multi-widget support (multiple instances per page)
Back to top