data-theme="dark"Best for dark-background sites. Subtle orange tint with orange border.
data-theme="white"Best for light-background sites. Clean white card with orange border.
data-theme="black"Universal — works on any background color.
<script src="https://gunscore.ai/badge.js"></script>
<div class="gunscore-widget" data-retailer="YOUR_DOMAIN.COM" data-theme="dark" data-size="md" ></div>
| Attribute | Values | Default | Description |
|---|---|---|---|
data-retailer | your registered domain | — | Your retailer domain. Required. Badge hides if no matching profile is found. |
data-theme | dark white black | dark | Visual theme. Match to your site's background color. |
data-size | sm md lg | md | Badge size. sm=compact, md=standard, lg=prominent. |
<div class="gunscore-widget" data-retailer="your-domain.com" data-theme="dark" data-size="md"></div>
<div class="gunscore-widget" data-retailer="your-domain.com" data-theme="white" data-size="lg"></div>
<div class="gunscore-widget" data-retailer="your-domain.com" data-theme="black" data-size="sm"></div>
Updates automatically as new community signals come in. No maintenance required.
Only displays once your score meets the minimum threshold. Below that, nothing appears.
Links to your full GunScore retailer profile, so buyers can see the complete breakdown.
Under 3KB. Async loading means zero impact on your page speed.