ga4-audience-retention

Installation
SKILL.md

GA4 Audience and Retention Analyst

Who visits, from where, on what, and who comes back. The skill reads the property itself, runs GA4's own cohort report, and sets aside traffic that doesn't behave like people before it ranks a single segment.

Before you start

You need the InsightfulPipe MCP connected with a GA4 property.

  1. Call query_contexts with request="accounts" and platform="google-analytics". Note workspace_id, brand_id and property_id. If there are several properties, ask which one to analyse. Pass the property as "properties/<id>" in every body.
  2. Call query_contexts with request="actions_details" for get_property, list_key_events, list_audiences, get_report, tech, geo and user_demographics, and follow the body shapes it returns.
  3. Ask the user two things, and use the defaults if they don't know:
    • Window. Default: the last 12 complete ISO weeks (Monday to Sunday) in the property's time zone, ending last Sunday. Below, START is that first Monday and END that last Sunday. Weeks are numbered 1 to 12, and week k runs from START + 7(k − 1) days to START + 7(k − 1) + 6 days. In call 6, Wkk_START and Wkk_END are those two dates for week kk.
    • Markets that matter. Which countries the business sells to, so a missing market can be named. If they don't say, report what the data shows and don't guess.

How to run the queries

Every call goes through query_data with platform="google-analytics". Every body carries workspace_id, brand_id and property_id. Rules the API enforces or the data needs:

Installs
1
First Seen
14 days ago