# Hugo

Add the tag to a Hugo site, in its base template or your copy of a theme’s.

Put the tag in the `<head>` of your base template, `layouts/baseof.html` (`layouts/_default/baseof.html` on sites made before Hugo 0.146), or of the partial it includes for the head.

```
<script async data-domain="example.com" src="https://fiveb.ar/js/tally.js"></script>
```

With a theme, copy the file that writes the head from the theme into your own `layouts` folder, at the same path, and add the tag to your copy: Hugo uses yours in place of the theme’s. Many themes have a partial for extra head tags, which their README names.

Once it’s live, [check it works](https://fiveb.ar/docs/install.md#check-it-works).

---

fivebar is web analytics without cookies, at https://fiveb.ar. Every page of its docs is listed at https://fiveb.ar/docs/index.md.
