# update_website (/docs/mcp/tools/update-website)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/update_website.mdx. */}

**Update website settings** · Changes data

Changes a website's name, url and tracking settings. Send only the fields to change. Returns status (success, partial or error), saved (fields stored) and failed (field + reason); fields that are not website settings are listed under ignored. A setting switched off at account level cannot be switched on here (403). websiteId comes from list_websites. Confirm with the user before switching tracking settings off, since that changes which leads are created.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `name` | `string` | No | New display name for the website. |
| `url` | `string` | No | Website address, e.g. https://www.acme.example. verify_website checks the home page of this address. |
| `trackExactVisitors` | `boolean` | No | true to identify the exact person visiting (name, email, LinkedIn) as well as their company. |
| `trackPersonalEmails` | `boolean` | No | true to include personal email addresses (e.g. Gmail) for identified visitors; false for business emails only. |
| `enablePersonalEmails` | `boolean` | No | Same as trackPersonalEmails (kept for older clients). trackPersonalEmails wins if both are sent. |
| `trackCompanyWithSuggestedContacts` | `boolean` | No | true to still create a lead for the visiting company, with suggested contacts there, when the exact person cannot be identified. |
| `identifySettings` | `"both" \| "personal-level-data" \| "company-level-data"` | No | Which leads to show: 'both' (default), 'personal-level-data' (person leads) or 'company-level-data' (company leads). |
| `emailTrackingEnabled` | `boolean` | No | Website-level email tracking flag. Open and click tracking for outreach emails is set per campaign. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "update_website",
  "title": "Update website settings",
  "annotations": {
    "title": "Update website settings",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "name": {
        "type": "string",
        "description": "New display name for the website."
      },
      "url": {
        "type": "string",
        "description": "Website address, e.g. https://www.acme.example. verify_website checks the home page of this address."
      },
      "trackExactVisitors": {
        "type": "boolean",
        "description": "true to identify the exact person visiting (name, email, LinkedIn) as well as their company."
      },
      "trackPersonalEmails": {
        "type": "boolean",
        "description": "true to include personal email addresses (e.g. Gmail) for identified visitors; false for business emails only."
      },
      "enablePersonalEmails": {
        "type": "boolean",
        "description": "Same as trackPersonalEmails (kept for older clients). trackPersonalEmails wins if both are sent."
      },
      "trackCompanyWithSuggestedContacts": {
        "type": "boolean",
        "description": "true to still create a lead for the visiting company, with suggested contacts there, when the exact person cannot be identified."
      },
      "identifySettings": {
        "type": "string",
        "enum": [
          "both",
          "personal-level-data",
          "company-level-data"
        ],
        "description": "Which leads to show: 'both' (default), 'personal-level-data' (person leads) or 'company-level-data' (company leads)."
      },
      "emailTrackingEnabled": {
        "type": "boolean",
        "description": "Website-level email tracking flag. Open and click tracking for outreach emails is set per campaign."
      }
    },
    "required": [
      "websiteId"
    ]
  }
}
```
