ga4-property-audit

Installation
SKILL.md

GA4 Property Audit

An audit that reads the property instead of asking for screenshots (setup mode takes screenshots only when nothing is connected). Every finding comes from a call this skill runs, and every finding shows the numbers behind it. The question it answers: can this property's numbers be trusted, and if not, what breaks them?

It runs in one of two modes:

  • Audit (the default): the eight areas below, a grade and the top fixes. Use it on a property that has been collecting data for at least a week.
  • Setup mode: for a new or empty property, or when the user asks how to set up GA4. It walks the setup in order, checks each step on the property, and ends with a checklist instead of a grade. See Setup mode. A property with under 7 days of data, or no sessions in the window, gets setup mode; say so and offer the audit once a week of data is in.

Before you start

You need the InsightfulPipe MCP connected with a Google Analytics account; only setup mode also runs without it, from screenshots. Search Console and Google Tag Manager are optional; without them, the areas that use them are marked unknown.

  1. Call query_contexts with request="accounts" and platform="google-analytics". Note workspace_id, brand_id and the property_id. If there are several properties, ask which one to audit. Send the property as properties/<id>.
  2. Call query_contexts with request="actions_details" and platform="google-analytics" for get_property, get_data_retention_settings, list_data_streams, get_enhanced_measurement_settings, list_key_events, list_custom_dimensions, list_custom_metrics, list_google_ads_links, list_bigquery_links and get_report, and follow the body shapes it returns. In setup mode, also ask for get_data_stream and the setup changes: update_property, update_data_retention_settings, create_data_stream, update_enhanced_measurement_settings, create_key_event, create_google_ads_link and create_bigquery_link. A change that actions_details doesn't return is switched off for this connection; hand that step over as a click path.
  3. If Search Console is connected, do the same for search_analytics on google-search-console, and pick the site that matches the web stream's URL. If Tag Manager is connected, do the same for get_accounts, get_containers, get_workspaces, get_tags and get_triggers on google-tag-manager.
  4. Ask the user three things, and use the defaults if they don't know:
    • What counts as a conversion. Default: the key events already defined.
    • Their own domains. Default: the web stream URLs. Ask about checkout, booking or app domains on other hosts.
    • Their office or team locations, for the internal traffic check. Default: none; the check is then marked unknown.
Installs
1
First Seen
14 days ago