Offset with ICN
A drop-in widget that lets your customers offset a flight, an order or an electricity bill on your site. One script tag, no dependencies, and the credits are sourced and retired by ICN.
Quick start
Paste this where the widget should appear:
<div data-icn-offset data-tonnes="0.35" data-label="your flight" data-partner="your-company"></div>
<script src="https://icn.earth/widget/icn-widget.js" async></script>
See it working with different settings on the live demo.
Options
| Attribute | What it does |
|---|---|
data-tonnes | Fixed tonnes of CO2e to offset, for example 0.35 |
data-mode | fixed, flight, electricity or custom |
data-km / data-kwh | Pre-fill the flight or electricity calculator |
data-label | What is being offset, shown to the buyer ("your order", "this trip") |
data-partner | Your partner reference, passed to checkout for attribution |
data-theme / data-accent | light, dark or auto, and your brand colour |
data-target | Open checkout in a popup, a new tab or the same window |
JavaScript
Use your own button, or listen for clicks in your analytics:
ICNOffset.open({ tonnes: 2, label: 'this order', partner: 'your-company' });
window.addEventListener('icn:offset-click', (e) => console.log(e.detail));
Platform kits
Styles live in a Shadow DOM, so your site's CSS cannot break the widget and the widget cannot break your site.
Retiring for your customers at volume
Platforms that sell carbon credits or removals to their own customers can have ICN source supply to their specification and retire credits on the registry in their customers' names. Integration for this is set up with each partner. Tell us your volumes and how you want retirements recorded.
Tell us your use case and expected volume. We reply within one working day.
Talk to us about integrationOpen the demo