# POST /google-analytics/accounts

**Resource:** [Websites](./websites.md)  
**MCP tool:** `create_google_analytics_account`  
**Scopes:** `websites:write`  
**Write operation:** yes

Start a new Google Analytics account for a business that has none. Google needs the account owner to accept its terms once: the answer's terms_url opens that page (signed in to the connected Google account), and afterwards the account shows in list_google_analytics_properties. Then set_up_website_google_analytics does the rest. Needs edit access: without it the answer is 409 MANAGE_ACCESS_NEEDED with the link a workspace admin opens to allow it (get_google_analytics_manage_link).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `display_name` | body | string | no | Name of the new Google Analytics account. Default: the workspace's name. |
| `region_code` | body | string | no | Two-letter country code of the business, e.g. "AU". Default: the workspace's country. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/google-analytics/accounts"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"display_name":"...","region_code":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`