# Add the site snippet

> One line on every page of your church's website counts visits by where they came from, with no cookie and nothing kept about the visitor.

For: Admin, Owner
Canonical: https://emmauos.com/docs/add-the-site-snippet

The site snippet counts visits to your church's own pages. It sends the page's path, the address of the site the visitor came from (just its name, like `google.com`) and any `utm_source` on the link. EmmauOS adds one to that page's count for the day and keeps nothing else.

## Get the line

**Settings → Connections → Website → Count visits to your site.** Copy the line. It looks like this:

```html
<script async src="https://emmauos.com/emmauos-count.js" data-emmauos-church="your-church"></script>
```

## Paste it on every page

Put it once in the part of your site that appears on every page, just before `</body>` or in the footer.

- **WordPress:** Appearance → Theme File Editor → `footer.php`, or a plugin such as "Insert Headers and Footers" (Footer box).
- **Squarespace:** Settings → Advanced → Code Injection → Footer.
- **Wix:** Settings → Custom Code → Add Code, load on all pages, place in Body - end.
- **Webflow:** Project settings → Custom code → Footer code, then publish.
- **Church site builders** (such as Nucleus, Clover or Faithlife Sites): look for "custom code", "tracking code" or "footer code". Some do not allow scripts; the [embed](/docs/your-website-and-embed) and [Search Console](/docs/connect-google-search-console) still work without it.

Then press **Check it**. It says whether the snippet is counting, is on your site but not counted yet, or was not found.

## Already using the embed?

You can let the embed count the page it sits on instead: add `data-emmauos-count="on"` to its `<script>` line. It is off unless you add it.

## What it counts

Each visit is sorted by where it came from: **search**, **AI assistants** (ChatGPT, Claude, Perplexity, Gemini, Copilot and others), **social**, **direct** or **other**. A page in your [content ledger](/docs/content-and-where-people-come-from) is matched by its address; any other page is counted under "other pages", so nothing is lost. The list of search engines and assistants is kept up to date by EmmauOS.

Visits from AI assistants are undercounted: many assistants and apps send no referrer, so those visits count as direct.

## What it never does

- No cookie, nothing stored in the visitor's browser, no fingerprint.
- No IP address or other identifier is kept. A day's count per page is all there is.
- A visitor whose browser asks not to be tracked (Do Not Track or Global Privacy Control) is not counted.
- Known bots and crawlers are not counted.

Because nothing is stored on the visitor's device and nobody is identified, a cookie banner is not needed for it. Local rules differ, so check yours; this is not legal advice.

## A paragraph for your privacy page

Paste this into your own site's privacy page and change it as you need:

> Our website uses a small script from EmmauOS to count visits to our pages. It records the page visited, the name of the website you came from, and any campaign tag in the link, and adds one to a daily total. It sets no cookie, stores nothing on your device, and does not record your IP address or anything else that identifies you. If your browser sends a Do Not Track or Global Privacy Control signal, the visit is not counted.
