Implementing Google Analytics in native BlackBerry Application

▼魔方 西西 提交于 2019-12-12 18:24:37

问题


I am looking for a way to push information to Google Analytics from a native BlackBerry App. The App is built towards BlackBerry 6.0 OS. I made a simple Google search about it, but the discussions I found are only confusing. Can someone please clarify what the options are to do this? Is it possible?


回答1:


You need a browser context to use javascript based implementation of Google Analytics. Currently only iOS and Android SDK's are available to track analytics natively through Google Analytics.

If you want to do this from a Blackberry App, you will have to roll your own implementation or wait for the awesome Google Analytics team to release an SDK for Blackberry.

Update

You now have the option to use the Google Measurement Protocol as well. This would remove the need for a javascript browser context or a native SDK.




回答2:


As shanabus said, Google analytics sdk doesnt work for Blackberry. You could try Flurry analytics (free) at http://www.flurry.com/ .It is pretty good. I have been using it in all my apps and Its been working fine for me.

I am sure there are many thousand apps which uses flurry analytics.




回答3:


Please check this link https://bitbucket.org/folorunsho1/googleanalyticsforblackberry .. it uses the Measurement Protocol Developer Guide as described by Brian




回答4:


Google not released SDK for google analytics for Blackberry.Instead why don't you try Blackberry Analytics Check below link

http://us.blackberry.com/developers/platform/analyticsservice/




回答5:


Have a look at the Measurement Protocol Developer Guide: https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide

Simple http post calls to add measurements from your app, at the bottom of the page are the calls for app tracking (screen and events).

e.g.

v=1             // Version.
&tid=UA-XXXX-Y  // Tracking ID / Web property / Property ID.
&cid=555        // Anonymous Client ID.

&t=appview      // Appview hit type.
&an=funTimes    // App name.
&av=4.2.0       // App version.

&cd=Home        // Screen name / content description.


来源:https://stackoverflow.com/questions/9487009/implementing-google-analytics-in-native-blackberry-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!