DEV Community

SIKOUTRIS
SIKOUTRIS

Posted on

Building a Greenwashing Scanner for EU Green Claims Directive Compliance

Building a Greenwashing Scanner for EU Green Claims Directive Compliance

The EU's Green Claims Directive (ECGT) will require companies to substantiate any environmental claims they make. "Eco-friendly," "green," "sustainable" — these words will need scientific backing or face penalties.

We built Greenwashing Checker to help companies scan their websites for problematic green claims before regulators do.

The Problem

Greenwashing is everywhere:

  • 53% of environmental claims in the EU are vague or misleading (European Commission study)
  • Companies use terms like "carbon neutral" without clear methodology
  • Marketing teams don't always know which claims require substantiation
  • The ECGT introduces fines up to 4% of annual turnover

How the Scanner Works

1. URL Scanning

Enter a URL, and the scanner:

  • Fetches the page content
  • Analyzes text for green claims and environmental keywords
  • Cross-references against the ECGT's list of banned generic terms
  • Identifies claims that need substantiation

2. Claim Classification

Each detected claim is categorized:

Risk Level Example Action Required
High "Carbon neutral product" Needs certified offset proof
Medium "Eco-friendly packaging" Needs comparative LCA data
Low "Made from recycled materials" Needs % and certification
Banned "Green product" (generic) Must be removed or specified

3. Compliance Report

The scanner generates a detailed report with:

  • List of all detected claims
  • Risk assessment for each
  • Recommended actions
  • ECGT article references

Technical Architecture

PHP 8.1 + MySQL

/includes/scanner.php     → NLP-based claim detection
/includes/functions.php   → Scoring and classification
/includes/db.php          → Scan result storage
/templates/               → 22 PHP templates
/content/                 → 44 blog articles
Enter fullscreen mode Exit fullscreen mode

Performance & Security

  • Cloudflare CDN with SSL Full Strict
  • Full security headers (HSTS, CSP with Stripe iframe support)
  • Cookie consent with conditional GA4 loading
  • Schema.org markup (WebSite, Organization, SoftwareApplication, FAQPage)
  • Rate limiting: 10 scans/hour for free users

Pricing

  • Free: 3 scans/day
  • Pro (29 EUR/mo): 50 scans/day, detailed reports
  • Business (99 EUR/mo): API access, team features
  • Enterprise (299 EUR/mo): Custom integration, unlimited scans

Content Strategy

44 articles covering:

  • ECGT regulation breakdown
  • Banned greenwashing terms list
  • Industry-specific compliance guides
  • How to substantiate environmental claims
  • Competitor analysis of greenwashing tools

Cross-Platform Integration

The scanner integrates with Carbon Badge for measuring website carbon emissions — because sustainability claims should start with your own digital footprint.

Lessons

  1. Regulatory SaaS timing matters — Build before enforcement, when companies are researching solutions
  2. NLP for claim detection is harder than expected — Context matters ("green" in "green color" vs "green product")
  3. Banned terms lists are the killer feature — Companies want a clear yes/no answer
  4. Content marketing drives the funnel — Most prospects discover us through educational articles

Try it: Greenwashing Checker — Free greenwashing scanner for EU Green Claims Directive compliance.

Top comments (0)