# Websites

> Add, edit and remove the websites you track, and share your plan's leads between them.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/websites/websites

A website in Happierleads is one site you track. Each one gets its own tracking pixel, its own leads, its own Qualify rules and settings. The website you are looking at is shown at the top of the sidebar; the **website switcher** there moves you to another one.

<DemoFrame guide="add-website" to="/websites/{workspace}" />

**Try the setup in the demo.** The demo account cannot add your own website, so **Connect new website** there plays the whole setup on a demo website instead: enter the website, install and verify the pixel, review the Qualify model built from the site, pick the sending domain and approve the three emails. Choose **First website** to see what a new trial gets (the bonus timer, the free domain and three mailboxes) or **Another website** for the same steps without the bonuses. Every step is played out in your browser and nothing is saved.

1. **Websites → Add new website.** Give it a name (you can change it later).
2. **Install its pixel** on that site ([Install the tracking pixel](/docs/websites/tracking-pixel)). Until then the website shows as **unverified**.
3. **Quick edit** a website (click its row) to see its plan, credits and pixel, copy its code, add a tag or open **All website settings**.

### The Websites list [#the-websites-list]

Every website you have, with its tracking status, plan and credits. Search by domain, sort, or use the filters at the top: **Trial ending**, **Low credits**, **Pixel not installed**. Tags (a client name, a market) group websites; click a tag to filter by it.

- **Switch to this website** opens it in the dashboard; the star in the website switcher makes one your default.
- **Quick edit** shows and changes the basics without leaving the list.
- **Website settings** opens everything: the nickname, the pixel, visitor tracking, limits, date and time, and the delete section.
- **Nickname** (at the top of Website settings) is the name shown for the website everywhere in the dashboard: the switcher, the Websites list, reports. Without one, the domain is shown.

### Common questions [#common-questions]

**Can I track more than one website?** Yes. Every website gets its own pixel and its own leads. On a trial or a paid plan you add as many websites as you need; a lifetime deal gives one website per code ([Lifetime deal codes](/docs/account/trials-and-codes#lifetime-deal-codes)).

**Do my websites share credits?** By default, yes: all websites draw on the account's leads. To ring-fence one (for example a client's site), open its **Website settings → Website Limits** and choose **Give it its own limit**: how many leads it may use per month, or for its trial, and when it refills. **Share account credits** puts it back on the shared pool.

**How do I switch between websites?** Click the website name at the top of the sidebar and pick another one, or use **Switch to this website** in the Websites list. Leads, Qualify and settings always show the website you have selected.

**How do I rename a website?** Open its **Website settings**, click **Add nickname** (or **Edit** next to the current one), type the new name and **Save**. The nickname replaces the domain everywhere in the dashboard; clear it to show the domain again. It is for you only and does not change the pixel or the tracked domain.

**What happens when I delete a website?** Tracking stops, its leads are no longer shown and its place on your plan is freed. It cannot be restored, so copy or export what you need first ([Export leads](/docs/leads/csv-export)). Only a teammate with the delete-websites permission can do it ([Team members](/docs/account/team)).

**Why is a website unverified?** We have not seen its pixel yet. [Install the tracking pixel](/docs/websites/tracking-pixel#still-unverified) has the checklist.

### Every control on this screen [#every-control-on-this-screen]

Every button, field and switch, with what it does.

<ScreenControls screens={["websites", "websites-editor", "delete-website", "no-websites", "website-switcher", "website-settings", "website-settings-limits", "website-settings-datetime", "website-settings-danger"]} />


---

## API — From your code

Source: /docs/websites/websites/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["GET /admin/websites", "POST /admin/websites", "GET /admin/website", "PUT /admin/websites/{id}", "DELETE /admin/websites/{id}", "PATCH /admin/websites/{id}/tags", "PUT /v3/websites/{websiteId}/limits"]} />

<ApiPlayground
  ops={["GET /admin/websites", "POST /admin/websites", "GET /admin/website", "PUT /admin/websites/{id}", "DELETE /admin/websites/{id}", "PATCH /admin/websites/{id}/tags", "PUT /v3/websites/{websiteId}/limits"]}
  method="get"
  path="/admin/websites"
  tool="list_websites"
  args={`{}`}
/>

### Use case: Create a website for a new client [#use-case-create-a-website-for-a-new-client]

`POST /admin/websites` with its `name` (and `domain` if you know it) returns the new website's id. Then `GET /v3/websites/{websiteId}/pixel` gives the code to put on the client's site, and `POST /utilities/verify-website` checks it is live ([tracking pixel API](/docs/websites/tracking-pixel/api)). A new website uses one of your plan's website places; when none are left the call is refused with "You cannot add more websites, please upgrade".

### Use case: One plan, several clients [#use-case-one-plan-several-clients]

`PUT /v3/websites/{websiteId}/limits` with `{ "credits": 300, "emailAccounts": 2 }` caps what one website may use of the account's leads and mailboxes each cycle; `"resetCredits": true` refills it to the full allowance now (when a client pays). `PATCH /admin/websites/{id}/tags` labels websites by client or market.


---

## MCP — AI agents

Source: /docs/websites/websites/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["list_websites", "add_website", "get_website", "update_website", "delete_website", "set_website_limits", "set_website_tags"]} />

### Use case [#use-case]

> List my websites.

<McpToolCall name="list_websites">

```json
{}
```

</McpToolCall>

Each website comes back with its `_id` (the `websiteId` every other tool needs), name, url, status (`unverified`, `verified`, `removed` or `failed`), credits and tags.

> Add a website for our new client, northwind.example, and give me its pixel code.

<McpToolCall name="add_website">

```json
{
  "name": "Northwind marketing site"
}
```

</McpToolCall>

Your assistant confirms with you first, because a new website uses one of your plan's website places. It then sets the address with `update_website` (`url: "https://www.northwind.example"`), fetches the code with `get_tracking_pixel` and, once the code is on the site, checks it with `verify_website` ([Install the tracking pixel](/docs/websites/tracking-pixel/mcp)).

> Let the Northwind website use at most 300 leads a month and connect 2 mailboxes.

<McpToolCall name="set_website_limits">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "credits": 300,
  "emailAccounts": 2
}
```

</McpToolCall>

For accounts that share one plan between several websites (one per client, for example). The credits cannot go above what the account has left; add `"resetCredits": true` to refill the website to its full allowance now.

> Tag the Northwind website "client" and "retail".

<McpToolCall name="set_website_tags">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "tags": ["client", "retail"]
}
```

</McpToolCall>

The list you send replaces the website's tags.

> Delete the old staging website.

<McpToolCall name="delete_website">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}
```

</McpToolCall>

Your assistant names the website and asks you to confirm: tracking stops, its leads are no longer shown and it cannot be restored.

