Over the past year we’ve added many new features to Google Analytics. Today we are releasing all of this data in the Core Reporting API.
We're most excited about the ability to query for custom dimensions and metrics using the API.
Developers can use custom dimensions to send unique IDs into Google Analytics, and then use the core reporting API to retrieve these IDs along with other Google Analytics data.
For example, your content management system can pass a content ID as a custom dimension using the Google Analytics tracking code. Developers can then use the API to get a list of the most popular content by ID and display the list of most popular content on their website.
We've added more mobile dimensions and metrics, including those found in the Mobile App Analytics reports:
Some examples of questions this new data can answer are:
If you are sending Google Analytics multiple currencies, you now have the ability to access the local currency of the transactions with this new data:
We added new time-based dimensions to simplify working with reporting data:
Finally, we've added two new traffic source dimensions, including one to return the full URL of the referral.
Sample query: the top 10 referrers based on visits (using full referrer).
For a complete list of the new data, take a look at the Core Reporting API changelog.
For all the data definitions, check the Core Reporting API Dimensions and Metrics explorer.
As always, you can check out this new data directly within our Query Explorer tool.