> ## Documentation Index
> Fetch the complete documentation index at: https://tinyanalytics.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Jekyll Analytics Integration

> Add tinyanalytics to a Jekyll site by placing the tracking snippet in your head include or default layout so it renders on every page.

To add tinyanalytics to a **Jekyll** site, place the tracking snippet in the `<head>` include so it renders on every page.

## Before you start

* A tinyanalytics site. If you don't have one yet, follow the [Quickstart](/docs/tinyanalytics-quickstart).
* Your snippet from **Settings → Tracking** in your dashboard.

## Add the snippet to your head include

Add the tag inside `_includes/head.html` (used by the default Minima theme). If your theme has no head include, add it to the `<head>` of `_layouts/default.html`:

```html _includes/head.html theme={null}
<head>
  <meta charset="utf-8" />
  <title>{{ page.title }}</title>
  <script defer src="https://dash.tinyanalytics.io/script.js"
    data-site-id="YOUR_SITE_ID"></script>
</head>
```

<Tip>
  If your theme is installed as a gem, copy its `_includes/head.html` into your own `_includes/` before editing so theme updates don't overwrite your change. Replace `YOUR_SITE_ID` with your real site ID.
</Tip>

## Verify

Build or deploy your site, open it in a browser, then check **Realtime** in your dashboard for your visit. See [Verify your setup](/docs/verify-tinyanalytics-installation) for the full check.

<Check>
  Your install is working when your own visit appears in **Realtime** in your dashboard.
</Check>

## Related

<Columns cols={2}>
  <Card title="Install on Hugo" icon="code" href="/docs/integrations/hugo-analytics">
    Another static-site generator.
  </Card>

  <Card title="Configure the tracking script" icon="sliders" href="/docs/configure-tinyanalytics-tracking-script">
    Every `data-*` option you can set.
  </Card>

  <Card title="Track custom events" icon="hand-pointer" href="/docs/custom-event-tracking">
    Measure clicks and downloads.
  </Card>

  <Card title="Verify your setup" icon="circle-check" href="/docs/verify-tinyanalytics-installation">
    Confirm tracking works.
  </Card>
</Columns>


## Related topics

- [Hugo Analytics Integration](/docs/integrations/hugo-analytics.md)
- [Angular Analytics Integration](/docs/integrations/angular-analytics.md)
- [Gatsby Analytics Integration](/docs/integrations/gatsby-analytics.md)
