Overview
TheCTAAnalyzer class analyzes Call-to-Action (CTA) elements in landing pages, evaluating quality, placement distribution, and alignment with conversion goals.
Installation
Initialization
Conversion goal: ‘trial’, ‘demo’, or ‘lead’
Methods
analyze
Analyze CTAs in landing page content.Landing page content (markdown)
Individual CTAs with quality scores
CTA placement analysis
Goal alignment details
Prioritized recommendations
CTA Quality Scoring
Each CTA is scored (0-100) based on:Action Verb Strength (+5 to +30)
- Strongest (+30): start, get, claim, unlock, discover
- Strong (+25): try, begin, launch, create, download, book, schedule
- Moderate (+15): learn, see, find, explore, read, watch
- Weak (+5): submit, click, enter, continue, next
- None (-10): No clear action verb
Benefit Words (+10 to +15)
- free, instant, immediate, today, now
- unlimited, exclusive, premium, full
- easy, fast, quick, simple
Urgency (+10)
- now, today, immediately, instant
- limited, hurry, soon, before
- don’t miss, last chance, expires, only
Specificity (+10)
- Numbers: “14-day trial”, “30-day guarantee”
- Amounts: “$100 off”, “50% discount”
- Time: “in 5 minutes”, “instant access”
- No requirements: “no credit card”, “no commitment”
Length Optimization
- Optimal (+5): 2-5 words
- Too long (-10): 8+ words
Format Bonus (+5)
- Button-style CTAs:
[Text],**[Text]**,[Text →]
CTA Distribution
CTAs should be distributed throughout the page:- Above the fold (first 20%): Essential
- Mid-page (30-70%): Recommended
- Closing (last 20%): Recommended
- Excellent: CTAs in all three zones
- Good: CTAs in two zones
- Poor: CTAs in one zone
- None: No CTAs found
Goal Alignment
Trial Goal Patterns
Primary:- “start your free trial”
- “try free for 14 days”
- “get started free”
- “sign up free”
- “create account”
- “launch your [product]“
Demo Goal Patterns
Primary:- “book a demo”
- “get a demo”
- “see it in action”
- “schedule a call”
- “talk to sales”
- “contact us”
Lead Goal Patterns
Primary:- “download the guide”
- “get instant access”
- “claim your free [asset]”
- “subscribe”
- “join newsletter”
- “get updates”
Recommendations
The analyzer generates prioritized recommendations:High Priority
- Missing CTA above the fold
- No closing CTA
- CTAs don’t align with conversion goal
Medium Priority
- Too few CTAs (< 3 for SEO, < 2 for PPC)
- Low quality CTAs (score < 60)
- Poor action verbs
Low Priority
- Consider adding more goal-specific language
- Add benefit words to CTAs
- Improve CTA placement
Convenience Function
Example Usage
Example CTA Scoring
Source Code Reference
Location:data_sources/modules/cta_analyzer.py:16
See also:
- Landing Page Scorer - Overall landing page scoring
- Trust Signal Analyzer - Trust signal analysis