Embeddable widgets
Drop a live leaderboard, member count, or holder count onto any website with a single iframe.
Widgets put live HoneyGate data on your own website. The only code you write is a single <iframe>. Available on every plan.
The widgets
member-countshows your server's total member count.leaderboardshows your top members by XP.holder-countshows how many members hold a given role.
Getting your embed code
In the admin panel under Widgets (/admin/embeddable-widgets/) you'll find ready-made embed code for each widget. It looks like this:
<iframe
src="https://honeygate.app/embeddable-widgets/leaderboard?guild_id=YOUR_GUILD_ID&t=YOUR_TOKEN&limit=10"
width="260" height="280" frameborder="0" style="border:0;"></iframe>
Paste it into any web page and you're done.
Parameters
| Param | Used by | Notes |
|---|---|---|
guild_id | all | Your Discord server's id (filled in for you) |
t | all | A secret embed token that authorises the widget |
limit | leaderboard | How many to show (1 to 25, default 10) |
role_id | holder-count | Which role to count |
color | all | Accent colour as RRGGBB (default gold f5c542) |
Example with a custom colour:
https://honeygate.app/embeddable-widgets/leaderboard?guild_id=123&t=abcd...&limit=10&color=5865F2
Security & the token
The t token authorises the widget without exposing your admin account. If a token ever ends up somewhere you'd rather it didn't, rotate it on the Widgets page. That instantly invalidates every old embed URL, and you paste in the fresh code.
Widgets are cached for about a minute, so they stay fast under load, and they're served with the right headers to embed cleanly on any site.