Compare a site with rivals
clickd_rivalsSets a site against its rivals from kept reads: who they are, how close, and where it is behind.
When: to pick the fixes that matter against the sites a buyer compares it with.
Instead: clickd_leaderboard for places among every site; clickd_site for its own score.
Inputs: site is a domain, like example.com. view is competitors (default: rivals doing similar work), near (closest in meaning), market (rule by rule), or rules or content (two sites side by side). with is the other site, for rules or content; alone, it means rules. limit is for near, 10 if left out.
Returns: host, then by view: local, nearby and elsewhere; sites; rules; ahead and behind; or pages.
Fails: a site with no meaning yet answers found or embedded false; rules or content with no with says to give it. Needs a key and a claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site, as a domain such as example.com. | |
| view | No | competitors (the default), near, market, rules or content. | |
| with | No | The other site, already read. | |
| limit | No | For near only: how many sites. 10 if left out. |