ga4-ecommerce-funnel

Installation
SKILL.md

GA4 Ecommerce Funnel Analyst

A funnel report that reads GA4 itself instead of asking for screenshots. It answers four questions in order: is the store's ecommerce tracking good enough to trust, where do shoppers drop off, what sells and where the buyers come from, and how order value is moving. Every number comes from a call this skill runs.

Before you start

You need the InsightfulPipe MCP connected with a Google Analytics account.

  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 is the store. Send the property as properties/<id>.
  2. Call query_contexts with request="actions_details" and platform="google-analytics" for get_property, list_key_events, events, ecommerce, traffic_sources and get_report, and follow the body shapes it returns.
  3. Ask the user two things, and use the defaults if they don't know:
    • Which part matters most (the funnel, checkout, products, channels or AOV). Default: all of them.
    • Anything that changed recently, such as a new checkout, a price change, a sale or a site migration. Default: none. Use it only to explain a change, never as evidence.

The date window. GA4 keeps processing and attributing events for about two days, so the window is the 30 days ending 2 days before today (START to END). The comparison window is the 30 days before that (PSTART to PEND). The trend uses whole months from HSTART, the first day of the month 12 months before END, or the month the property was created if that is later. State the dates, time zone and currency at the top of the report.

How to run the calls

Every call goes through query_data with platform="google-analytics". Each body below shows only the fields that change; add workspace_id, brand_id and property_id to each one. Rules found in the test run:

Installs
1
First Seen
14 days ago