# check_analytics_installation

Source: https://modulify.ai/docs/mcp/analytics/check-analytics-installation

Checks whether analytics is installed and collecting on a site, and whether the site is published yet.

- Title: Check analytics is installed
- Scope: `analytics:read`
- Access: Read only

It fetches the live page at the site's [free web address](https://modulify.ai/docs/publish/your-web-address) and looks for the tracking script, so it is a real network round trip rather than a database read. It answers `installed`, `published` and the `url` it checked, and a page that cannot be fetched reads `installed` false rather than failing. A site that is not published yet answers `installed` false without fetching anything.

Use it first when numbers come back empty. It makes no analytics lookup, so it spends none of the 1,200 lookups access tokens share per site per hour. See [What is counted](https://modulify.ai/docs/grow/analytics#what-is-counted).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |