Widgets
The embed script can fill elements on your pages. Add a query parameter, then put a class on the HTML.
<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 |
?countries |
Visitor country flags |
?webring |
Random webring member |
?webring=avatars |
Webring member with avatar |
?events |
Event tracking |
?beacon |
sendBeacon for events |
?spa |
Client-side navigation |
?ignore |
Do not record this page load |
Combine with &. Install the script first.
Hit counter
A lifetime hit count on your page. Add ?hits and a tinylytics_hits element.
Kudos
A like button on the page. Confirm your email before it records.
Countries
Emoji flags for countries that have visited, in alphabetical order.
Uptime status
Show the uptime percentage on your site after monitoring is on.
Webring
A hand-curated ring of personal sites. Each click is a random member.