Skip to content
FunCoding

Search

Search docs, Skills and MCP

traffic-analysis

When the user wants to analyze website traffic sources, attribution, or dark traffic. Also use when the user mentions "traffic sources," "dark traffic," "direct traffic," "UTM parameters," "traffic attribution," "channel attribution," "attribution optimization," "channel analysis," "traffic analysis," "traffic diversification," "natural traffic benchmark," or "organic vs paid traffic." For GA4 setup, use analytics-tracking.

数据库与数据1kskills/analytics/sources/traffic/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/kostja94/marketing-skills/traffic/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Analytics: Traffic

Guides website traffic analysis across all channels (organic, paid, social, referral, direct). Covers traffic source attribution, dark traffic identification, and multi-channel reporting.

When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope

  • Traffic sources: Organic, paid, social, referral, direct, email
  • Dark traffic: Unattributed visits labeled as "Direct / None"
  • Attribution: UTM tagging, segmenting, reporting accuracy

Branded vs. Non-Branded Traffic (Organic)

TypeCharacteristics
BrandedHigher CTR, conversion, purchase intent; users closer to funnel bottom
Non-brandedTouchpoint with future users; most sites get more non-brand traffic; competition fiercer

Brand traffic grows over time as brand awareness increases.

Bot Traffic

A large share of traffic can be bot traffic—RPA, search crawlers, spiders, scrapers. Exclude or segment when evaluating real user behavior; use GA4 filters or segments to isolate human traffic.

Traffic Channels

ChannelTypical SourcesAttribution
OrganicGoogle, Bing, other searchReferrer preserved
Paid (web)Google Ads, Meta Ads, etc.UTM required
Paid (app)App install ads; Google App Campaigns, Apple Search AdsUTM; in-app events
Paid (TV/CTV)Streaming ads; Hulu, Roku, YouTube TVUTM for QR/URL; brand lift
SocialPublic posts (Facebook, LinkedIn, etc.)Often preserved
ReferralExternal sites, backlinksReferrer preserved
DirectTyped URL, bookmarksNo referrer
EmailNewsletters, campaignsOften dark without UTM

Dark Traffic

What It Is

Traffic without clear origin--analytics tools default to "Direct" when referrer is missing. Common causes:

  • Private/dark social: WhatsApp, Messenger, Slack, Discord, TikTok shares
  • Email clients: Many strip referrer headers
  • HTTPS->HTTP: Referrer not passed
  • Mobile apps: In-app browsers often omit referrer
  • Ad blockers, privacy tools: Block tracking

Misattribution (Research)

When traffic was sent from known sources, analytics often misattributed:

  • 100% as direct: TikTok, Slack, Discord, WhatsApp, Mastodon
  • 75%: Facebook Messenger
  • 30%: Instagram DMs
  • 14%: LinkedIn public posts
  • 12%: Pinterest

Mitigation

ActionPurpose
UTM parametersTag links in emails, social, campaigns: ?utm_source=X&utm_medium=Y&utm_campaign=Z
Block internal IPsExclude company visits from reports
Segment direct trafficSplit by page type to estimate dark vs. genuine direct

Segmenting Direct Traffic

  1. Expected direct: Homepage, short URLs, brand pages--likely real direct
  2. Unexpected direct: Long URLs, deep pages, product pages--likely dark traffic
  3. Report separately: Use segments in GA4/analytics to avoid overcounting direct

Attribution for Channel Optimization

Ads, growth channels, and medium can be optimized by viewing attribution data. Clean UTM + conversion tracking feeds attribution models; reliable attribution drives budget allocation and channel decisions.

UseAction
Optimize adsCompare paid channels (Google, Meta, LinkedIn) by attributed conversions; reallocate budget to winners
Optimize growth channelsIdentify which medium (cpc, email, social, referral) drives conversions; scale what works
Multi-touch attributionRequires clean UTM data; inconsistent tagging (e.g., facebook vs Facebook) fragments reports and misattributes

GA4 Default Channel Grouping: Align utm_medium and utm_source with GA4's rules to avoid "Unassigned" traffic. ~30% of campaigns lack proper UTM markup, leading to wasted ad spend; teams standardizing UTM see 29% improvement in attribution accuracy.

Reference: UTM.io – utm_medium, utm_campaign & utm_source Optimization, UTMs for Marketing Attribution

UTM Best Practices

ParameterUseExample
utm_sourceOriginnewsletter, facebook, google
utm_mediumChannel typeemail, cpc, social
utm_campaignCampaign namesummer_sale, product_launch
utm_contentVariant (optional)banner_a, cta_button
utm_termPaid keyword (optional)running_shoes

GA4 alignment (avoid Unassigned):

Channelutm_mediumutm_source
Paid Searchcpcgoogle, bing
Paid Socialpaid-social, cpcfacebook, instagram
Emailemailnewsletter, mailchimp
Organic Socialsocialtwitter, linkedin
App installcpc, appgoogle, facebook, apple
CTV / Streamingvideo, ctvhulu, roku, youtube
Display / Bannerdisplay, cpcPublisher or network name
Directory adspaid, cpctaaft, shopify, g2, capterra
  • Consistent naming: Lowercase, hyphens; document conventions; never tag internal links (overwrites session attribution)
  • Apply everywhere: Every link in emails, social posts, ads
  • Avoid: Typos, inconsistent values; causes fragmentation

Traffic Diversification

PrincipleGuideline
Search shareKeep organic search below ~75% of total traffic
HealthHigher direct + referral share = healthier profile
Brand sitesDiversified traffic is common for strong brands
EngagementContent, email, social, free tools drive return visits

See seo-monitoring for full SEO data analysis framework.

Natural Traffic Benchmark

Location: GA4 > Reports > Acquisition > Traffic acquisition

  1. Review organic traffic trend
  2. Record baseline (e.g., monthly total)
  3. Compare periodically to detect growth or decline

Output Format

  • Traffic source breakdown
  • Dark traffic estimate and actions
  • UTM tagging recommendations
  • Segmentation approach for reporting
  • analytics-tracking: Implement UTM, events, conversions; attribution models
  • google-ads, paid-ads-strategy: Paid channels; attribution informs budget allocation
  • ai-traffic-tracking: AI search traffic
  • google-search-console: GSC performance and indexing analysis
  • seo-monitoring: Full SEO data analysis system, benchmark, article database
  • email-marketing: Email strategy; UTM for email links

Similar Skills

xlsx
anthropics/skills180k

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

Databases & data

deprecation-and-migration
addyosmani/agent-skills103k

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

Databases & data

host-observer
thedotmack/claude-mem98k

host-observer

Use this when fulfilling claude-mem observer jobs on Grok Bot: reply only skip_summary or one full observation XML, never prose.

Databases & data

babysit
thedotmack/claude-mem98k

babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

Databases & data

mem-search
thedotmack/claude-mem98k

mem-search

Search claude-mem's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.

Databases & data

Agent Cost Report
thedotmack/claude-mem98k

Agent Cost Report

Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.

Databases & data