CO2 Web integration
Carbon emissions calculator.
Integration code#
Paste this HTML into your page:
1<div id="carbon-emissions-calculator-root" data-filter='{"platform":PLATFORM_ID, "lang": "en"}'></div> 2<script src="https://www.searates.com/carbon-emissions-calculator/widget"></script>
Instead of PLATFORM_ID it is required to substitute your platform ID.
Supported parameters#
Below is the list of supported parameters via data-filter attribute:
Parameter name | Possible values |
---|---|
platform | Platform ID |
height |
Restrictions (regardless of height value passed to the application):
|
lang |
|