Show the score where the subscriber is standing
One script tag. The widget reads the score from ratedd.org every time the page loads, so the number on your site is the number we published.
A card or a badge
Rank card
320 × 168For a pricing page or a footer. Shows the score, your rank and your due diligence result, and counts the score up the first time a visitor sees it.
Inline badge
auto × 34Sits in a navigation bar or next to a headline. Shows the score and your rank.
Paste one tag where the widget should appear
The same tag draws both variants. No iframe and no cookies. A click opens your report on ratedd.org in a new tab, and the link is tagged so we can count the visits your widget sends.
<script async src="https://ratedd.org/embed/v1/widget.js"
data-provider="your-provider"
data-key="wk_your-embed-key"
data-variant="card"
data-theme="dark"
data-animate="on"></script>Your embed key is issued by ratedd.org and works only on the web addresses it was issued for. The same tag pasted on any other site shows nothing.
What the tag accepts
| Attribute | Values | What it does |
|---|---|---|
| data-provider | Required | Your provider's address on ratedd.org, as in ratedd.org/providers/your-provider. |
| data-key | Required | The embed key issued to you. |
| data-variant | card | badge | Which widget to draw.Default: card |
| data-theme | dark | light | auto | Dark, light, or auto, which follows the visitor's own light or dark setting rather than your page's colours.Default: dark |
| data-animate | on | off | Whether the score counts up. Visitors who ask their device for reduced motion never see it animate.Default: on |
When there is no score to show
Not currently scored
If your provider does not meet the conditions for a score, the widget says Unscored instead of showing a number.
Not confirmed as current
If the widget cannot reach ratedd.org, or cannot confirm the score is current, it shows nothing. It never shows an old score as if it were today's.
Terms of use
- The widget may only display your own current score.
- If the score changes, the widget changes with it.
- Screenshots of a past score are not permitted.