Google Analytics 4 integration

Roasfinity reads three daily numbers from a GA4 property: sessions, transactions and purchase revenue. They sit beside store orders and ad platforms as a separate view and are never merged into them.

App screens show test data.

GA4 path

How GA4 numbers reach a report

One runReport request per window goes to the GA4 Data API. The connector holds a single read scope and has no step that changes GA4.

  1. Data API runReportAsks for sessions, transactions and purchaseRevenue by day, 10,000 rows per page.
  2. 🔑Token vaultThe analytics.readonly token is encrypted on the server and sent only in the request header.
  3. One row per dayA day with a missing metric is skipped and flagged as not measured, never stored as 0.
  4. ▦Your reportThe property currency and time zone are kept; every figure shows source and sync time.
Read only: Google gives this connector no right to edit GA4.

What a GA4 view contains

Google Analytics 4 logo
01

Daily sessions, transactions and revenue

The default window is the last 28 days up to yesterday. The same window is fetched again on every run and overwrites itself, so a re-run cannot double the numbers.

Reports screen in the Roasfinity app, with test data
Roasfinity mark
02

Channel and page breakdowns

Optional breakdowns keep the top 50 rows per day for each channel and page list, so tables cannot grow without limit.

Chart view in the Roasfinity Reports screen, with test data

App screens show test data.

GA4 connector in numbers

3metrics read per day
0write permissions held
28days in the default window
50rows per day kept for each breakdown

What the GA4 connector reads, changes and limits

  • Sessions, transactions and purchase revenue per day
  • Property currency and time zone from the report metadata; if no zone is given it is stored as unknown, not guessed
  • Optional channel and page breakdowns, top 50 per day
  • Nothing. The connector asks for analytics.readonly only and has no write call.

A change to GA4 settings would need a new scope and a new approval flow. Neither is built.

  • A Google account with at least read access to the GA4 property
  • The numeric property ID, digits only
  • Consent to analytics.readonly on the Google sign-in screen
  • On a quota or 429 answer the run waits and retries up to twice, then reports the error
  • Large reports can be sampled and small groups hidden by privacy thresholds; the figures may then be lower and a warning says so
  • Rows grouped by Google as (other) mean part of the data is not itemised
  • A run that would need more than 50 pages of results stops and saves nothing, rather than saving half

Before you connect GA4

Settle these first. Ticks stay in this browser.

GA4 vs Shopify revenue differences

General causes, not a claim about any one account.

Coverage

Purchases GA4 never sees

Visitors who decline analytics cookies, ad blockers and slow pages drop out of GA4. Store orders still count them, so GA4 purchases usually run below orders.

Definitions

Revenue is not one number

GA4 purchaseRevenue follows the event you send. The store counts orders net or gross of refunds, shipping and tax. Keep both rows and let the store row drive MER.

Timing

Zones and late data

The property time zone may differ from the store, and recent days can still change. Compare closed periods in one zone.

Questions about GA4

Does Roasfinity write to Google Analytics 4?

No. The connector asks for analytics.readonly and contains no write call.

Which GA4 metrics are read?

Sessions, transactions and purchase revenue per day, plus optional channel and page breakdowns.

Why can GA4 revenue differ from my Shopify revenue?

Consent choices, blocked scripts, refunds, tax and shipping rules and time zones all differ. The app shows both rows and does not merge them.

What happens when GA4 samples or hides data?

The run finishes and records a warning. The figures may be lower than the true total, and the screen says so.

Is the GA4 connector available now?

Yes, on live accounts. Request access to join.

See GA4 next to your store and ads.

We open in small batches, for agencies and for single businesses. GA4 connects read-only.

Request access

How we plan to price it

Don't take our word for it
Ask AI about us

ChatGPT, Claude and Perplexity can tell you what Roasfinity does — and what it doesn't.