Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Google Analytics is Serious About its Reporting API

DZone's Guide to

Google Analytics is Serious About its Reporting API

Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

This month Google added 40 new data points to its API for Google Analytics, allowing developer access to many of the new features that they've added to GA in the past year.  Let's jump right in to this list of new features:

Ability to query for custom dimensions and metrics

Query more mobile dimensions and metrics
   •   ga:appId
   •   ga:appVersion
   •   ga:appName
   •   ga:appInstallerId
   •   ga:landingScreenName
   •   ga:screenDepth
   •   ga:screenName
   •   ga:exitScreenName
   •   ga:timeOnScreen
   •   ga:avgScreenviewDuration
   •   ga:deviceCategory
   •   ga:isTablet
   •   ga:mobileDeviceMarketingName
   •   ga:exceptionDescription
   •   ga:exceptionsPerScreenview
   •   ga:fatalExceptionsPerScreenview

Access the local currency of the transactions
   •   ga:currencyCode
   •   ga:localItemRevenue
   •   ga:localTransactionRevenue
   •   ga:localTransactionShipping
   •   ga:localTransactionTax

Query new time-based dimensions
   •   ga:dayOfWeekName
   •   ga:dateHour
   •   ga:isoWeek
   •   ga:yearMonth
   •   ga:yearWeek

Query new traffic source dimensions
   •   ga:fullReferrer
   •   ga:sourceMedium

For a complete list of the new data, check out the Core Reporting API changelog.

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:

Published at DZone with permission of Mitch Pronschinske. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}