Site_Analytics
Get Google Analytics 4 (GA4) traffic, engagement and conversion data for a site: total and organic sessions, users, new users and page views, engagement rate, bounce rate, average session duration, conversions and conversion rate, top landing pages, traffic sources, conversion events, and a daily trend. This is DISTINCT from the Search Console tools, which return search performance (clicks, impressions, position). Use Search_Analytics or Keyword_Rankings to see how a site performs in search, and Site_Analytics to see what visitors do once they arrive. Every figure is the real value synced from the site's GA4 property; nothing is estimated. GA4 currently syncs the last_28_days window; other date_range values return the latest snapshot with a note. The response carries connected/synced flags and a note when GA4 is not set up, and a units block because property-level engagement_rate and bounce_rate are 0-1 fractions while the per-row values are 0-100 percentages. Revenue is included only when the property has e-commerce tracking enabled. limit and offset apply to top_landing_pages and traffic_sources, which get one pagination entry each; conversion_events and daily_metrics are returned in full. PAGING: this returns one page of rows. The pagination block reports returned, total_available, truncated and next_offset for every list in the response. Check truncated before drawing a conclusion: when it is true these rows are a slice, not the whole picture, and a total or a 'none of them' claim built on them is wrong. Read the rest with offset set to next_offset, or raise limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows per page for top_landing_pages and traffic_sources (each sorted by sessions, descending). Default 10. | |
| offset | No | Row offset into the full result set. Default 0. To read the next page, pass the value the response reports under pagination.<list>.next_offset. | |
| site_id | Yes | ||
| date_range | No | Requested window. GA4 currently syncs last_28_days; other values fall back to the latest snapshot with a note. |