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:

  1. Automatic impact emails — Dedicated emails sent after each order with impact details, certificates, and tracking info
  2. 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

MetricMetafield KeyType
Trees Plantedoneclickimpact.total_treesInteger
Ocean Waste Removedoneclickimpact.total_ocean_lbsInteger
Carbon Capturedoneclickimpact.total_carbon_lbsInteger
Total Donatedoneclickimpact.total_donated_usdDecimal

No-code: Theme editor dynamic sources

You can connect these metafields to any text block in your theme without writing code:

  1. Go to Online StoreThemesCustomize
  2. Add or select any text block
  3. Click the Connect dynamic source icon next to the text field
  4. Search for "Trees Planted", "Ocean Waste", "Carbon Captured", or "Total Donated"
  5. 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 %}

For more details and a styled HTML snippet, see the full Display Impact with Metafields guide.