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

# Website Id

> Find your TinyTrack website ID and use it to configure tracking integrations.

Your website ID identifies the website that receives your tracking events. Each website you add to TinyTrack has its own ID.

## Find your website ID

1. [Sign in to TinyTrack](https://tinytrack.io/signin).
2. Select the website you want to track.
3. Open **Settings → Tracking**.
4. Find `data-website-id` in the tracking snippet. Copy the value inside the quotation marks.

```html theme={null}
<script
  defer
  data-domain="example.com"
  data-website-id="your_website_id"
  src="https://tinytrack.io/tracker.js"
></script>
```

Replace `your_website_id` with the value from your website's tracking snippet.

If you have not added a website yet, follow [HTML Script](/integrations/html-script).

## Use your website ID

Use the same ID throughout the integration for your website:

| Integration                                   | Where to use the ID                                                                                                |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| Tracking script                               | The `data-website-id` attribute.                                                                                   |
| [Next.js](/integrations/nextjs)               | The `websiteId` option on the proxy or middleware and tracker, or the `TINYTRACK_WEBSITE_ID` environment variable. |
| [Cloudflare](/integrations/cloudflare-worker) | The `TINYTRACK_WEBSITE_ID` secret.                                                                                 |

Your website ID is included in your tracking script and can be used in client-side code.
