google-analytics-api Reporting API (Analytics v4)


Remarks

The Google Analytics Reporting API V4 is the most advanced programmatic method to access report data in Google Analytics. With the Google Analytics Reporting API, you can:

  • Build custom dashboards to display Google Analytics data.
  • Automate complex reporting tasks to save time.
  • Integrate your Google Analytics data with other business applications.

Features

Google Analytics is built upon a powerful data reporting infrastructure. The Google Analytics Reporting API V4 gives you access to the power of the Google Analytics platform. The API provides these key features:

  • Metric expressions: The API allows you to request not only built-in metrics but also combination of metrics expressed in mathematical operations. For example, you can use the expression ga:goal1completions/ga:sessions to request the goal completions per number of sessions.
  • Multiple date ranges: The API allows you in a single request to get data in two date ranges.
  • Cohorts and Lifetime value: The API has a rich vocabulary to request Cohort and Lifetime value reports.
  • Multiple segments: The API enables you to get multiple segments in a single request.