Live visitors widget
Updated October 17, 2026
Turn on Public live widget in the site settings, then add the widget script where you want it:
<script defer data-domain="example.com" src="https://statsdot.com/js/widget.js"></script>
Options, as attributes on the script:
| Attribute | Values |
|---|---|
data-style |
badge (floating, default) or card (inline, where the script is placed) |
data-position |
bottom-right (default) or bottom-left, badge only |
data-theme |
auto (follows the visitor's light or dark mode, default), light or dark |
data-lang |
en, es, de, fr, it or pt; by default the language of the page |
It shows the visitors of the last five minutes, hides at zero, refreshes every 30 seconds while the tab is visible and sets no cookies.
Turning it on makes your live visitor count public: turn it off in the settings at any time.