MarketingSEO

Competitor Traffic Report

Build an interactive competitive-traffic report for any company and its rivals — monthly visits (SimilarWeb), organic search traffic and Domain Rating (Ahrefs) — as one self-contained HTML page with r…

OOpenClaudia·Marketing·MIT

Library skill — the default version is maintained in GitHub; edits you make live in your own clone.

Use this skillDownload .zip
How does this work?
  • ChatGPT opens a new chat with the skill loaded. If it's too long for a link, it's copied to your clipboard — just paste.
  • Claude works the same way. To install it permanently, download the .zip and upload it under Claude → Settings → Capabilities → Skills (Pro/Team/Enterprise).
  • Copy prompt copies the skill so you can paste it into any assistant, including Grok.

competitor-traffic-report

Three metrics, three different questions. Do not average them or treat one as a proxy for another:

Metric Source Answers
Monthly visits SimilarWeb total demand, every channel
Organic traffic Ahrefs how much of it search is producing
Domain Rating Ahrefs backlink authority — the structural position

Visits and organic move on a single viral page. DR does not, which is why a gap in DR says more about where a company actually sits than a good traffic month does.

Run

export AHREFS_API_KEY=...   # required
export BRANDDEV_API_KEY=...  # optional, for logos
S=skills/competitor-traffic-report/scripts

node $S/fetch-traffic.js acme.com rival1.com,rival2.com,rival3.com --out /tmp/data.json
node $S/build-report.js /tmp/data.json "AI presentation tools, ranked" --out /tmp/report.html

Open the HTML, or publish it with the Artifact tool. It is self-contained — logos inlined as data URIs, no external requests — so it survives a strict CSP.

The focus domain is coloured orange and ranked in every chart; competitors take a five-step blue ramp ordered by rank, so colour carries magnitude instead of being decoration.

Choosing the competitor set

Whoever asked usually names three or four. Fill the set out to 20–40 before running: a five-company chart cannot show where anyone sits, and the interesting findings (how much of the market one player holds, how many are shrinking) need the tail. Sources for names, cheapest first:

Drop anything that is not a real peer: a general-purpose giant (Adobe, Google) dominates every chart while competing for none of the same buyers, and its presence compresses everyone else into the bottom decile. Same for a friendly company the requester does not consider a rival — ask.

Subdomains are already counted. SimilarWeb's root-domain figure includes them, so listing both acme.com and app.acme.com double-counts and buries the real number. (Verified: wikipedia.org 3.53B vs en.wikipedia.org 0.88B.) List the root only.

Constraints worth knowing before the first run

Publishing the report

The Ahrefs licence (ahrefs.com/legal/domain-rating-license) grants a royalty-free right to display and publish DR data provided the attribution Domain Rating by Ahrefs appears next to it with a live link. The template ships that line; do not remove it. The same licence prohibits reselling the data or using it to build something that competes with Ahrefs.

Reading the result

The report shows position. The story is usually in a gap between two of the three metrics:

State the denominator and the window beside any figure taken from this report. Both sources are modelled estimates, least reliable exactly where it matters most — the small end.