Turn off site analytics
disable_analyticsStop the site's built-in visitor analytics. By default only collection stops and the connection is kept, so enable_analytics later resumes the same history. delete_history: true also deletes the site's analytics collection itself — permanent: past reports can no longer be read, and re-enabling starts from nothing. Use it only when the owner explicitly asks to delete their analytics history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| delete_history | No | Also permanently delete the collected analytics history (default false) |