AnalyticsGoogle Analytics Unrolls a Shiny, New API

Google Analytics Unrolls a Shiny, New API

With all the new features Google Analytics has been unrolling since version 3 launched in August, the Google Analytics was in need of a new API. Just out, Google Analytics Core Reporting API is the new hotness for Google Analytics developers.

google-analytics-logoWith all the new features Google Analytics has been unrolling since version 3 launched in August, the Google Analytics was in need of a new API. Now, developers have it.

The Google Analytics Core Reporting API is the new hotness for Google Analytics developers. This version replaces the previous – and now defunct – Data Export API. This Analytics API change is both a continuation of the previous Analytics API changes from earlier this summer, and also more consistent with recent API changes for other Google products, including their new JavaScript client library for various Google product APIs.

The new Core Reporting API has two versions. Version 3.0 is an all new release that contains new libraries for other languages like PHP, Ruby, and Python. It reduces the size of the data outputted 10 times more efficiently than previous APIs. The version 2.4 API is a legacy release to maintain compatibility with the previous Data Export API version 2.3.

Developers will find significant changes in the v. 3.0 API, starting with authentication through the OAuth 2.0 format, but also in the use of JSON format for data output and absolutely no backwards compatibility with the previous version 2.3. The 2.4 release will provide some of the backwards compatibility, but the API team highly recommends migrating to the new 3.0 version.

If you develop custom apps or interfaces using the 2.3 API, you’ll need to update within six months. The XML requests, Data Export API Account Feeds and all configuration data will be going away at that time.

Most developers should appreciate these changes. For data feeds and recent trends in REST API development, the less bulky JSON (JavaScript Object Notation) format is quickly replacing XML as the format of choice for returning data.

Google Analytics has seen many changes this past year. With new social reporting already announced for 2012, the features will continue to roll out. This API will help developers keep up with them and help Google make the new features more accessible.

Resources

The 2023 B2B Superpowers Index
whitepaper | Analytics

The 2023 B2B Superpowers Index

9m
Data Analytics in Marketing
whitepaper | Analytics

Data Analytics in Marketing

11m
The Third-Party Data Deprecation Playbook
whitepaper | Digital Marketing

The Third-Party Data Deprecation Playbook

1y
Utilizing Email To Stop Fraud-eCommerce Client Fraud Case Study
whitepaper | Digital Marketing

Utilizing Email To Stop Fraud-eCommerce Client Fraud Case Study

2y