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

# Get started with Datasite

> Add a website, install its Datasite tracking script, and verify that page views and active visitors appear in your analytics dashboard.

Datasite measures traffic and product usage on websites. Add a website and install its tracking script to start viewing visitors, sessions, events, acquisition, devices, performance, errors, recordings, and reports.

## Add a website

**1. Open Websites**

Sign in to Datasite and open **Websites**.

**2. Add the website**

Select **Add website**, enter a name and domain, then save the website.

**3. Open setup**

Open the website's **Settings → Setup** page. The setup page provides a tracking snippet containing the website's unique ID.

> [!WARNING]
>
> Do not reuse one website ID across unrelated domains. Create a separate website for each reporting property.

## Install the tracker

Paste the generated script into the shared `<head>` or root layout of your site:

```html theme={null}
<script
  defer
  src="https://app.datasite.sh/script.js"
  data-website-id="b59e9c65-ae32-47f1-8400-119fcf4861c4"
></script>
```

Replace the example origin and UUID with the values shown in Datasite. Install the script once so it loads on every page. See [Installation](https://docs.datasite.sh/docs/install-tracking-script.md) for framework examples and configuration options.

## Verify collection

**1. Visit your site**

Open the tracked site in a new tab and visit two or more pages.

**2. Open Realtime**

Return to Datasite and open **Realtime**.

**3. Confirm activity**

Confirm that an active visitor and recent activity appear.

New data may not appear if a content blocker stops the script, the website ID is wrong, the domain does not match, traffic rules exclude the visit, or the browser has opted out.

## Next steps

* Enable performance collection if you need Web Vitals.
* Load the recorder script to use session replay or heatmaps.
* Add custom events for actions that page views cannot describe.
* Use `identify` only when you have a stable application user ID and a lawful reason to associate it.
* Create goals and funnels after the relevant events have started arriving.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.