Analytics setup audit
audit_ga4_propertyAudit a GA4 property's setup in one call: the settings that quietly cost data or conversions.
Checks data retention (two months is GA4's default and cuts explorations short), the Google Ads link (and whether the configured Ads account is linked), each data stream's activity in the last 7 days, key events that never fired in 28 days or no key events at all, enhanced measurement per web stream, Google signals (and the thresholding they cause), the custom dimension and metric limits, and a property in the trash. Returns checks with status warn, info or ok (warnings first), a summary count, and the warnings as insights[]; a check the user may not read is listed under unavailable. Reads GA4 only (Admin API, part v1alpha, and two small Data API reports); for whether Google Ads imports the key events, run check_key_event_imports.
Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_ga4_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | No | GA4 property as "properties/123456789" or the bare numeric ID. If empty, uses the default from config. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||