Widgets
Widgets are the part of Tinylytics that faces your readers rather than you. A hit counter in the footer, a kudos button under a post, the flags of everywhere your writing has reached โ small, personal, slightly old-fashioned things that make a site feel like somebody’s rather than something’s.
They need no extra script. The embed you already installed takes query parameters, and each one looks for an element with a matching class:
<script defer src="https://tinylytics.app/embed/YOUR_EMBED_CODE.js?hits&kudos&countries"></script>
Parameters
| Parameter | What it does |
|---|---|
?hits |
Hit counter (tinylytics_hits) |
?hits=unique |
Unique hits instead of total (paid) |
?kudos |
Kudos button, default ๐ |
?kudos=โค๏ธ |
Custom emoji |
?kudos=custom |
Count only, for your own styling |
?uptime |
Uptime percentage |
?stats |
Stat card with views and a chart (tinylytics_stats) |
?countries |
Visitor country flags |
?webring |
Random webring member |
?webring=avatars |
Webring member with avatar |
?events |
Event tracking |
?auto |
Auto-count outbound links and file downloads (needs ?events) |
?beacon |
sendBeacon instead of fetch |
?spa |
Client-side navigation |
?ignore |
Do not record this page load |
Join them with &. If you have not installed the script yet, start there โ widgets are additions to it, not alternatives.
Hit counter
The little lifetime counter in the footer, available on every plan.
Kudos
A like button that lives on your post instead of on somebody else’s network.
Countries
Emoji flags for every country your site has reached, in alphabetical order.
Uptime status
Show your uptime percentage on your own site once monitoring is running.
Stat card
A small card with your views, unique views, and a sparkline, embedded on your own site.
Webring
A hand-curated ring of personal sites, one random neighbour per click.
Local development
Turn on Developer mode to see kudos, counters, and stat cards on localhost without counting anything.