Skill458 estrellas del repoactualizado 2mo ago
traffic-analyzer
Traffic-analyzer evaluates website traffic patterns, engagement metrics, and source channels to score domain health and recommend affiliate program viability. Use this skill before committing to promote an affiliate program, when comparing multiple programs by advertiser strength, validating niche viability, or verifying advertiser legitimacy claims with actual traffic data.
Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/Affitor/affiliate-skills /tmp/traffic-analyzer && cp -r /tmp/traffic-analyzer/skills/research/traffic-analyzer ~/.claude/skills/traffic-analyzerDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# Traffic Analyzer
Analyze website traffic, engagement, and traffic sources for any domain. Goes beyond
raw data — scores the domain, interprets what the traffic patterns mean for affiliate
promotion, and recommends whether the program is worth your time.
A tool returns numbers. This skill returns a verdict.
**Use cases:**
- Is this affiliate program's website healthy? (High traffic = more brand awareness = easier conversions)
- Where does a competitor get their traffic? (Find channels they're ignoring)
- Compare 2-3 affiliate programs by advertiser website strength
- Validate a niche by checking traffic to the top programs in it
## Stage
This skill belongs to Stage S1: Research
## When to Use
- Before committing to promote an affiliate program — check if the advertiser is legit
- When comparing multiple programs — traffic is a proxy for brand strength
- When `competitor-spy` identifies competitor sites — analyze their traffic sources
- When evaluating a niche — check if the top programs have healthy traffic
- When an advertiser claims "millions of users" — verify with data
## Input Schema
```yaml
domains: string[] # (required) 1-5 domains to analyze — "heygen.com", "synthesia.io"
compare: boolean # (optional, default: true if 2+ domains) Side-by-side comparison
focus: string # (optional, default: "affiliate")
# "affiliate" — score from promoter perspective
# "competitor" — analyze as a competitor site
# "advertiser" — evaluate advertiser health
```
## Workflow
### Step 1: Gather Traffic Data
**With SimilarWeb API (see `shared/references/social-data-providers.md`):**
If `social_data_config.similarweb` is configured:
- Call SimilarWeb API for each domain
- Returns: global rank, country rank, visits, pages/visit, avg duration, bounce rate, traffic sources
**Without API (web_search fallback):**
For each domain:
1. `web_search "[domain] traffic similarweb"` → often shows rank and visit estimates in snippets
2. `web_search "[domain] site traffic statistics"` → third-party reports
3. `web_search "site:[domain]"` → Google index count as proxy for content depth
4. `web_search "[domain] alexa rank"` OR `"[domain] semrush traffic"` → alternative sources
5. `web_fetch "https://www.similarweb.com/website/[domain]/"` → extract visible data from SimilarWeb free page (may be limited)
Note: web_search data is approximate. SimilarWeb API provides exact metrics.
### Step 2: Analyze Core Metrics
For each domain, analyze and interpret:
**Traffic Volume:**
```yaml
global_rank: number # Lower = better. <10K = major site, <100K = solid, <1M = niche
country_rank: number # Rank in primary country
monthly_visits: string # "1.2M", "350K", "45K"
visits_trend: string # "growing" | "stable" | "declining" (if historical data available)
```
**Engagement Quality:**
```yaml
pages_per_visit: number # >3 = good engagement, <2 = bouncy
avg_visit_duration: string # ">3 min" = engaged, "<1 min" = low quality
bounce_rate: number # <40% = excellent, 40-60% = normal, >60% = concerning
```
**Traffic Sources Breakdown:**
```yaml
direct: number # % — brand strength indicator
search: number # % — SEO strength
social: number # % — social media presence
referral: number # % — partnership/affiliate ecosystem
paid: number # % — ad spend (high paid = advertiser invests in acquisition)
```
### Step 3: Interpret for Use Case
**For affiliate promoters (`focus: "affiliate"`):**
Score the domain as an affiliate promotion target:
| Signal | Good (8-10) | OK (5-7) | Red Flag (1-4) |
|--------|-------------|----------|-----------------|
| Monthly visits | >500K | 50K-500K | <50K |
| Bounce rate | <40% | 40-60% | >70% |
| Search traffic | >30% | 15-30% | <10% (overly dependent on ads) |
| Brand (direct) | >30% | 15-30% | <10% (nobody knows them) |
| Pages/visit | >4 | 2-4 | <2 |
**Why this matters for affiliates:**
- High traffic = people already search for this brand → easier to convert your referrals
- Strong brand (high direct traffic) = trust → higher conversion rate
- Good engagement = product delivers value → lower refund rate → your commissions stick
- Healthy search traffic = sustainable business → long-term commission potential
- High paid traffic = advertiser invests in growth → good sign for program longevity
**For competitor analysis (`focus: "competitor"`):**
- Identify their strongest traffic channel → where are they winning?
- Find their weakest channel → opportunity for you
- Compare bounce rate → are they retaining visitors better than you?
- Check referral traffic → which sites link to them? (potential partnership targets)
**For advertiser evaluation (`focus: "advertiser"`):**
- Is the advertiser's website healthy? (declining traffic = risky to promote)
- Do they invest in marketing? (paid traffic % shows ad budget)
- Is their product sticky? (engagement metrics reveal product quality)
- How established are they? (global rank trajectory)
### Step 4: Generate Traffic Score
Calculate an overall **Traffic Health Score** (0-100):
```
traffic_score = (
rank_score × 0.20 + # Based on global rank
volume_score × 0.25 + # Based on monthly visits
engagement_score × 0.25 + # Based on bounce rate + pages/visit + duration
diversity_score × 0.15 + # Traffic source diversity (not overly dependent on one channel)
brand_score × 0.15 # Direct traffic % (brand recognition)
)
```
**Score interpretation:**
- **80-100:** Excellent. Strong, established brand. Safe to promote long-term.
- **60-79:** Good. Healthy traffic. Solid promotion candidate.
- **40-59:** Fair. Growing or niche site. Evaluate other factors (commission, product quality).
- **20-39:** Weak. Low traffic or declining. Proceed wi