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

Share, secure, distribute, control, and monetize your APIs with the platform built with performance, time-to-value, and growth in mind. Free 90-day trial of 3Scale by Red Hat

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.

Explore the core elements of owning an API strategy and best practices for effective API programs. Download the API Owner's Manual, brought to you by 3Scale by Red Hat

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 }}