GA4 reports in Google Sheets, explained
By Sascha Heyer. Updated 2026-11-11.
Every number AskGA4 writes into your sheet comes from one call to the GA4 Data API, the same API the GA4 interface and Looker Studio use. Knowing what that call can and cannot do makes it easier to ask good questions and to trust the answers. This guide covers what happens between your question and the table, and the GA4 details that decide whether a report shows what you think it shows.
From a question to a report spec
When you ask a question, the add-on first reads your property’s field list from GA4 (the getMetadata call): every dimension and metric your property has, including your custom dimensions such as customEvent:plan_type. AskGA4 sends that list and your question to Gemini, which answers with a report spec: which dimensions become rows, which metrics become columns, the date ranges, filters, sort order and how many rows to return. Before anything runs, every field in that spec is checked against your property’s own list. A name GA4 retired is corrected (asking for conversions gets you keyEvents), and anything that does not exist in your property is shown as a problem instead of being sent to GA4.
You see the spec in plain words before it runs:
Rows Session default channel group
Columns Sessions, Key events
Compare Last 28 days (28daysAgo → yesterday)
vs Previous 28 days (56daysAgo → 29daysAgo)
Sorted by Sessions, highest first
If one line is not what you meant, change it in the sidebar. The question is only the fast way to fill in a report; the spec is the report.
Dimensions are rows, metrics are columns
A GA4 report is always a set of dimensions (what you group by: channel, country, landing page, date) and metrics (what you count or measure: sessions, active users, key events, revenue). “By channel” means the channel is a dimension; “sessions and revenue” are metrics. GA4 allows up to 9 dimensions and 10 metrics in one report, but every extra dimension multiplies the rows: channels × countries × devices is easily a few hundred rows. Start narrow and add a dimension when you need it.
Not every dimension works with every metric. Item-level dimensions such as itemName pair with item metrics such as itemRevenue and itemsPurchased, not with sessions. When GA4 refuses a combination, AskGA4 shows GA4’s own message in the sidebar and in the report’s status, so you can swap the field.
Why “last 28 days” ends yesterday
The GA4 interface counts “last 28 days” as the 28 full days before today, because today is still being collected. AskGA4 does the same, with GA4’s relative dates: 28daysAgo to yesterday. Relative dates move with every refresh, so a report saved today and refreshed next Monday shows the 28 days before next Monday. Named periods (“October 2026”, “last month”, “Q3”) become fixed dates, because October does not move.
GA4 keeps processing for a day or two after the fact, and some numbers for yesterday can still change. If a weekly report has to match the GA4 interface to the last session, end it two days ago, or refresh it on a schedule so the late data catches up by itself.
Comparing two periods
Ask for “last 28 days vs the 28 before” or “this month vs last month” and the report gets two date ranges. GA4 returns one row per channel and range; AskGA4 lays them side by side with a change column, so each channel is one row: sessions this period, sessions last period, and the change in percent. “The 28 days before” means the 28 days directly before the current period (56daysAgo to 29daysAgo), not the same dates a year ago; say “same period last year” if you want that. Comparisons are part of Pro.
Which channel? Session or first user
GA4 has two channel dimensions, and they answer different questions. sessionDefaultChannelGroup says where each session came from. Use it with session metrics: sessions, engaged sessions, engagement rate, key events. firstUserDefaultChannelGroup says where a user came from the first time. Use it with new users and for questions about acquisition. AskGA4 picks the session channel for session questions and says so in the report’s note; if you meant acquisition, ask for “new users by first user channel”.
Key events are the old conversions
In 2024 GA4 renamed conversions to key events. The metric is keyEvents, the rate is sessionKeyEventRate or userKeyEventRate. Only events you marked as key events in GA4 Admin count. If a report shows zero key events, check Admin → Events (or Key events) first: an event that is collected but not marked does not count.
Filters, the (other) row and thresholds
Filters keep only the rows you want: a country, a device category (GA4 writes them in lower case: mobile, desktop, tablet), pages that begin with /blog/, or metric thresholds such as “more than 1,000 views”. All filters in a report must match at once.
Two GA4 behaviours can make a table smaller than you expect. When a dimension has very many values (long page URLs with query strings are the usual case), GA4 groups the rare ones into a row called (other). And when Google signals or demographic data are involved, GA4 withholds rows with very few users to protect their identity (data thresholds). AskGA4 writes a note into the sheet when GA4 reports either one, so you know the totals are not the whole picture.
Row limits and quotas
A report returns up to 1,000 rows unless you ask for a top N or raise the limit (GA4’s maximum is 100,000). If GA4 has more rows than the limit, the sheet note says how many there were. GA4 also gives every property a request quota in tokens per hour and per day; a typical report costs a few tokens, and a report over many days and many dimensions costs more. AskGA4 asks GA4 for the remaining quota with each report and writes it into the sheet note, so you see it before you hit it.
Refreshing on a schedule
Saved reports refresh by hand with one click, or for every report in the file from the Extensions menu. With Pro, a report can refresh daily or weekly on its own: a time-based trigger in your copy of the add-on runs it with your Google login while the sheet is closed. Charts, pivot tables and formulas that point at the report’s sheet update with it, which is the point of keeping GA4 in Sheets in the first place: one refreshed table feeding the dashboard your team already reads.
Questions that work well
- Name what to count and what to group by: “key events by landing page”, not “how is the site doing”.
- Give the period: “last 7 days”, “October 2026”, “this year so far”. Without one, AskGA4 uses the last 28 days.
- Say “top 10” when you want a short list; AskGA4 sorts and cuts it for you.
- Use your own words for custom dimensions: if your property has a custom dimension called “Plan type”, “key events by plan type” finds it.
- Ask GA4 questions, not why questions. “Why did traffic drop” has no GA4 field; “sessions by channel, last 7 days vs the 7 before” shows where it dropped.
When a question needs BigQuery instead
The Data API answers aggregated questions: counts and sums grouped by dimensions. Some questions need the raw events: a funnel with your own steps, the path a single user took, how many days pass between the first visit and the first purchase. For those, GA4’s free BigQuery export and SQL are the right tool. If you want to learn that, learnga4sql.com has hands-on SQL lessons on a real GA4 export dataset, from counting events to weekly retention.