Tampilkan postingan dengan label Developer. Tampilkan semua postingan
Tampilkan postingan dengan label Developer. Tampilkan semua postingan

Selasa, 18 September 2012

Get social, mobile, and 40+ new data points with the Google Analytics API

Google Analytics Core Reporting APIs enable a powerful and flexible way to analyze, report on, and ultimately optimize such things as web and mobile experiences, conversions, and sales.

Today we’re adding over 40 new metrics and dimensions that can be queried through the Core Reporting API. This enables developers to create reports that are similar to what is available in the Google Analytics web interface for important areas such as social and mobile. See a full list of additions on the Core Reporting API changelog.


Here’s a rundown of what’s new and a few helpful questions the data can answer.

Social Data
Now you can get data for both on-site interactions with social buttons as well as off-site social data from social data hub partner networks.

Mobile Devices
For mobile visits to your site, get all the good stuff like like brand, model, and input type.

Geo
We added a new dimension to indicate the Designated Market Area (DMA) where traffic came from.

Page Path Rollups
Create your own drill down reports with these new dimensions that allow you to roll-up metrics to hierarchical levels of your property.

App & Exception Tracking
If you’re using the Google Analytics SDK for iOS/Android v2 beta, you can now retrieve App View and Exception metrics.

User Timings
New ways to report on all things related to user timing data.

Related Resources:

Jumat, 24 Agustus 2012

Combining a User Problem with a Desire to Learn: the Story of Quicklytics

This article is part of our Developer Spotlight Series that promotes new tools and applications built using the Google Analytics Developer platform. To see other tools, check out our App Gallery. Interested in having us showcase your story? Let us know what you’re working on!

Eduardo Scoz is a software architect and self-proclaimed, “analytics addict.” In early 2010, he grew frustrated with his daily routine of checking in on his web analytics from several sites and personal blogs. Very quickly he found himself spending an overwhelming amount of time monitoring his key metrics from across his own content kingdom: he yearned for a way to keep an eye on his KPI’s without having it feel like a full-time job.

Eduardo was determined to find an iPhone application that gave him a high-level view of all of his sites in way that was easy to digest. After a few days of searching he realized that the only way for him to get exactly what he wanted was to build it himself. He had never built an iPhone application but his “learn by doing” mentality prevailed: after a few weeks of prototyping, he had come up with something he was proud of. He showed it to a few friends and gauging their reaction, he realized he might be onto something. He incorporated their feedback, finished building it out and decided to release it publicly. In February 2010, Quicklytics was born.


Quicklytics allows users to rapidly check the status of multiple websites in a matter of seconds and visually understand how their site is performing for both current and historical timeframes. It has full support for both iPhone and iPad as well as custom filtering that allows for quick deep dives into areas of interest. While its primary views focus on top-level metrics, Quicklytics also provides detailed reports with most of the data also available through Google Analytics.




“All apps were about either showing as much data as possible, or focusing on less-useful stuff, like browsers and screen sizes, which are only really necessary when you’re doing deep analysis, not when ‘checking the weather’,” says Eduardo.

As soon as Quicklytics hit the App Store, it spread like wildfire. In the 2 ½ years since it was released, Quicklytics has received over 40,000 downloads - most of which were paid. This has translated into a significant source of side revenue for Eduardo’s business that has allowed him to continue building new features for Quicklytics while looking for new projects to learn from.  Now, Eduardo finds great joy in using Quicklytics to measure the mobile app analytics on - you guessed it - Quicklytics.


Quicklytics leverages the Analytics Core Reporting APIs Objective-C library and OAuth 2.0 for user authentication. Although this was Eduardo’s first experience with the Analytics APIs and Objective-C, he was able to take full advantage of the Developer Forums for support: “In the few cases I found issues with the tool, Google developers were actually very helpful and fixed some issues from their side. It was a great experience.”


Armed with a clear user problem and a willingness to learn, Eduardo was able to turn one of his biggest pain points into a viable side business and a solution that is enjoyed by many. According to Eduardo, “It’s great to know that a lot of people find it as useful as I do.”


To learn more about Quicklytics, check out his App Store listing.


Posted by John Milinovich, Google Analytics API team

Selasa, 13 Desember 2011

Google Analytics Enhancements for Mobile Apps

November was a busy time in Google Analytics. In particular, the Mobile App Tracking Team has a few things to announce.

  • EasyTracking Library - automatic session management, better integration with Google Analytics SDK
  • Updated Google Analytics SDK - More reliable method for sending hits, Android Market referral issue fixed, available via the Android SDK manager
  • More samples - new open source application aimed to help reduce the ramp up time for new developers who want to track their apps

EasyTracker Library
We’ve created EasyTracker libraries for both iOS and Android.  The EasyTracker library will enable tracking of your application down to the Activity (or UIViewController for iOS) level with almost no coding required on your part.  See the ReadMe file and source code for details. These Libraries are intended for use with the standard Google Analytics SDKs and should make it very easy to add standard tracking to your applications.

Another advantage to using the EasyTracker library is session management.  As many developers know, it’s not always easy to determine whether your application is active and when to start a new session.  The EasyTracker library handles this for you.  It will determine when your application has been put into the background and will start a new session automatically.

The Android version of the Library not only provides for easy tracking, but also ensures that all calls to GoogleAnalyticsTracker are done off the main UI Thread.  Using this library should address responsiveness issues some Android developers have seen using the Google Analytics SDK.

We’ve adapted the Android Notepad sample application to use the EasyTracker library, just to show you how easy it can be.

You can find the libraries and sample applications at
http://code.google.com/p/analytics-api-samples/.  Check the downloads section for the libraries.  The source for the libraries is available in subversion as well.  Drill down into trunk/src/tracking/mobile/android/EasyTracker for Android and trunk/src/tracking/mobile/ios/EasyTracker for iOS.  The Notepad sample application is there as well.  We’ve released them as open source and contributions to making them better are welcome.

Check the ReadMe files in the libraries themselves for more information on how to use them.

New Versions of Google Analytics SDK for Android and iOS
We’ve released version 1.4 for iOS and version 1.4.2 for Android.  The iOS version of the SDK has one new feature.  Both versions contain several bug fixes as well.  Read on for details.

iOS
We’ve added a new method, dispatchSynchronously, that blocks while it dispatches hits.  It won’t return until the hits sent have either been acknowledged by the Google Analytics servers or the specified timeout period has elapsed.  This provides a more reliable method for sending hits before your application terminates or goes into the background.

We’ve also addressed several memory leaks and crashes reported against the SDK.

More details on the new version of the SDK can be found at http://code.google.com/apis/analytics/docs/mobile/ios.html.

Android
The Android SDK will now handle referrals from the Android Market properly.  This applies to autotagging as well.

We’ve fixed several other bugs in the Android SDK.  Check out the details at http://code.google.com/apis/analytics/docs/mobile/android.html.

Google Analytics SDK now available via the Android SDK Manager
We’ve added the Google Analytics SDK to the Android SDK Manager.  You can download the latest versions using the Android SDK Manager instead of checking the website for updates.

Of course, this only applies to the Android version of the SDK.

MobilePlayground
We’ve released an open source application for both iOS and Android that exercises all the APIs for Google Analytics that are available to Mobile Application developers.  You can find them at trunk/src/tracking/mobile.

New Home for the Mobile Tracking Documentation
The Mobile Tracking documentation has moved.  It now resides with the rest of the Google Analytics tracking documentation.  Check it out at http://code.google.com/apis/analytics/docs/mobile/overview.html.

Reporting Problems and Feature Requests
We really value your feedback. If you are having problems with the SDKs, let us know by posting them on the Google Analytics issues website at http://code.google.com/p/analytics-issues/issues/list.  Use the component MobileTracking when entering an issue or looking through the list for issues already reported against the Mobile App SDKs.

Please stay tuned for more exciting news regarding Mobile Application Tracking with Google Analytics.

Jim Cotugno, Mobile Application Tracking Rockstar

Kamis, 08 Desember 2011

Introducing the Google Analytics Core Reporting API

Today we are announcing the new Google Analytics Core Reporting API as a replacement for the Data Export API. This is the second phase in a larger project we started a couple months back to upgrade our APIs to new infrastructure.

The Core Reporting API has two versions.

Version 3.0 is a brand new API, with a 10x reduction in output size and support for many new client libraries, like PHP, Ruby, Python, JavaScript and Java. All new features will only be added to this version.

Version 2.4 is backward compatible with the legacy Data Export Version 2.3.

If you are building a new application or maintaining an existing one, we highly recommend migrating to version 3.0.

One of the biggest changes in switching to the Core Reporting API is that you now need to register your applications via the Google APIs Console and use a project ID to access the API.

With this change, we are also announcing the deprecation of the Data Export API version 2.3. This API will continue to work for 6 months, after which all v2.3 XML requests will return a v2.4 response. Also, we plan to terminate the Data Export API Account Feed. All configuration data should be retrieved through the Google Analytics Management API.

See our Data Export API changelog for all the details of the change and read our developer documentation for more details about each API.

If you have any questions feel free to reach out in our Data Export API Google group.

Thanks,
Jeetendra Soneja and Nick Mihailovski, Google Analytics API Team

Rabu, 07 Desember 2011

An invitation to social sites to integrate with Google Analytics

Every day, millions of people share and engage with content online. But most sharing doesn’t happen on the site where it was published, it happens throughout the social web. Marketers and publishers are looking for a comprehensive view of all interactions with their content - on and off their site - and so we’re working hard to make this happen.

To enable our customers to discover who’s sharing, voting and bookmarking their content on the social web, cross-network measurement needs to become easier. So today we’re inviting social networks and platforms to integrate their activity streams with Google Analytics. Through these integrations, marketers and publishers will be able to discover off-site engagement, optimize their engagement within each social community, and measure the impact of each social channel and its associated digital investment.

Any network can integrate their streams - like +1, votes, and comments - into the Google Analytics social reports, which will be fully available next year to the many marketers, publishers, and websites that are using Google Analytics for free.

To make integration easy for social networks and platforms we’ve created a social data hub - it’s based on widely deployed, open web standards such as ActivityStreams and PubsubHubbub. A number of partners are already working with us to improve measurement of social actions - including Delicious, Digg, Diigo, Gigya, LiveFyre, ReadItLater, Reddit, TypePad, Vkontakte, and of course, Google+, Blogger and Google Groups.




We’ll have more to share next year, so keep reading the blog or follow us on twitter @googleanalytics for updates. If you’re a social network or platform interested to learn about integrating with Google Analytics you can visit our developer site where you’ll find more information.

Phil Mui, Group Product Manager & Ilya Grigorik, Engineering Manager, Google Analytics