Impact in Emails & Theme
There are multiple ways to share your environmental impact with customers — from automatic emails to displaying live stats anywhere on your store.
Customer notifications
1ClickImpact offers two built-in ways to notify customers about the impact their order made:
- Automatic impact emails — Dedicated emails sent after each order with impact details, certificates, and tracking info
- Shipping email snippet — A Liquid code snippet you paste into your Shopify shipping confirmation template
For full details on both options, see the Customer Notifications page.
Displaying impact stats using metafields
1ClickImpact automatically stores your store's total impact data in Shopify shop metafields. These update after every order and are available anywhere in your theme — no coding required.
Available metafields
| Metric | Metafield Key | Type |
|---|---|---|
| Trees Planted | oneclickimpact.total_trees | Integer |
| Ocean Waste Removed | oneclickimpact.total_ocean_lbs | Integer |
| Carbon Captured | oneclickimpact.total_carbon_lbs | Integer |
| Total Donated | oneclickimpact.total_donated_usd | Decimal |
No-code: Theme editor dynamic sources
You can connect these metafields to any text block in your theme without writing code:
- Go to Online Store → Themes → Customize
- Add or select any text block
- Click the Connect dynamic source icon next to the text field
- Search for "Trees Planted", "Ocean Waste", "Carbon Captured", or "Total Donated"
- Select the metafield and click Save
This works on any page — homepage, product pages, collection pages, about page, footer, blog posts, and more.
Liquid code for notification emails
For Shopify notification email templates (order confirmation, shipping, etc.) or custom Liquid sections, you can use code like:
{% assign trees = shop.metafields.oneclickimpact.total_trees.value %}
{% assign ocean = shop.metafields.oneclickimpact.total_ocean_lbs.value %}
{% assign carbon = shop.metafields.oneclickimpact.total_carbon_lbs.value %}
{% assign donated = shop.metafields.oneclickimpact.total_donated_usd.value %}
{% if trees and trees > 0 %}
{{ trees }} trees planted
{% endif %}
{% if ocean and ocean > 0 %}
{{ ocean }} lbs of ocean waste removed
{% endif %}
{% if carbon and carbon > 0 %}
{{ carbon }} lbs of carbon captured
{% endif %}
{% if donated and donated > 0 %}
${{ donated }} donated to causes
{% endif %}
These metafields show your store's total cumulative impact, not per-order data. For per-order impact in emails, use the shipping email snippet instead.
For more details and a styled HTML snippet, see the full Display Impact with Metafields guide.

