Provides programmatic methods to access report data in Google Analytics 4 (GA4) properties.
Allows to programmatically access report data in Google Analytics (Universal Analytics properties only). Build pivot tables as well as cohort, lifetime value, and advanced segmentation reports with the most flexible access to your data.
Get user activity occurring on a property right now. Realtime reports are updated within seconds so you can build live dashboards to monitor how users are interacting with your property at any moment.
Get conversion path data which shows user interactions with various traffic sources over multiple sessions prior to converting. Analyze how multiple marketing channels influence conversions.

Helper Libraries and APIs for reporting

A JavaScript library that allows you to easily create and embed a dashboard on a 3rd party website in a matter of minutes. It gives you a set of pluggable components that can work together to build complex tools, making it both simple and powerful at the same time.
Get the full list of dimensions and metrics, as well as their attributes, available for the Reporting API.

Legacy APIs

Query for dimensions and metrics to produce customized reports.
Query for dimensions and metrics to produce customized reports.