开发者

How can google analytics be integrated in a desktop application (MAC)..?

开发者 https://www.devze.com 2023-03-18 09:03 出处:网络
Could anyone help or refer how it can b开发者_运维知识库e done..I searched over the net and what i felt is that its only for mobile and websites.It\'s for websites. Many of the concepts of web analyti

Could anyone help or refer how it can b开发者_运维知识库e done..I searched over the net and what i felt is that its only for mobile and websites.


It's for websites. Many of the concepts of web analytics (number of pages viewed for example) don't even make any sense on a desktop app, because they're not organized like a web page.


If you want to use Google analytics data from an analytics account Google provides a data export API.

If you want to track your native application then as Catfish_Man (great name btw!) said, it is not really possible. That isn't totally true, as you could fake it, but the paradigm is so different that you would be better off creating you own solution.


You might want to see this library for GA on desktops

http://code.google.com/p/jgoogleanalytics


Google Analytics doesn't provide a native Mac app integration, but you can use the Measurement Protocol Overview to send raw data to your GA property from your account.

Just create a mobile app property and then start sending raw GA events using HTTP. There are couple Obj-C wrappers available like https://github.com/swisspol/GARawTracker or https://github.com/stephenlind/SimpleCocoaGoogleAnalytics.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号