Implementing Google Analytics in native BlackBerry

2019-07-18 23:39发布

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?

5条回答
戒情不戒烟
2楼-- · 2019-07-18 23:41

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

查看更多
我只想做你的唯一
3楼-- · 2019-07-18 23:43

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.

查看更多
虎瘦雄心在
4楼-- · 2019-07-18 23:47

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.
查看更多
Luminary・发光体
5楼-- · 2019-07-18 23:52

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/

查看更多
一夜七次
6楼-- · 2019-07-18 23:59

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.

查看更多
登录 后发表回答