Contents

Chapter 1

Features

This chapter covers the core features and capabilities of CTA Optimizer.

Features

  • CTA text scoring: power words, weak words, length, verb-first, personalisation
  • WCAG 2.1 colour contrast checking (AA and AAA compliance)
  • Button placement evaluation across 10 common zones
  • Industry CTR benchmarking (SaaS, e-commerce, lead gen, newsletter)
  • Overall weighted score with grade (0-100)
  • Config file or inline CLI mode
  • Text and JSON report output
  • Python stdlib only — zero pip dependencies

Quick Start

bash
# Analyze a CTA from a config file
python src/cta_optimizer.py --config examples/cta_config.json --analyze

# Quick inline analysis
python src/cta_optimizer.py --text "Start My Free Trial" --bg-color "#FF6B00" --fg-color "#FFFFFF"

# Contrast check only
python src/cta_optimizer.py --text "Sign Up" --bg-color "#FFAB00" --fg-color "#000000" --contrast-only

# JSON output
python src/cta_optimizer.py --config examples/cta_config.json --format json
Chapter 2

CLI Reference

Follow this guide to get CTA Optimizer up and running in your environment.

CLI Reference

FlagDescription
--config, -cPath to CTA config JSON file
--text, -tCTA button text to analyze
--bg-colorButton background colour (hex, default: #FF6B00)
--fg-colorButton text colour (hex, default: #FFFFFF)
--page-bgPage background colour (hex, default: #FFFFFF)
--placementButton placement zone (default: above-fold)
--industryIndustry for benchmarks: saas, ecommerce, lead_gen, newsletter, general
--ctrCurrent CTR percentage (for benchmarking)
--analyzeRun full analysis
--contrast-onlyOnly check colour contrast
--format, -fOutput format: text or json
--verbose, -vEnable verbose logging

Configuration

See examples/cta_config.json for a complete example.

Chapter 3
🔒 Available in full product

Examples

You’ve reached the end of the free preview

Get the full CTA Optimizer and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $19 →
📦 Free sample included — download another copy for the full product.
CTA Optimizer v1.0.0 — Free Preview