# Widgets

The embed script can fill elements on your pages. Add a query parameter, then put a class on the HTML.

```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](/docs/getting-started/embed) first.