Sudy
Sudy

Reputation: 69

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

Could anyone help or refer how it can be done..I searched over the net and what i felt is that its only for mobile and websites.

Upvotes: 1

Views: 1163

Answers (4)

Pol
Pol

Reputation: 4028

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.

Upvotes: 0

Tito
Tito

Reputation: 9054

You might want to see this library for GA on desktops

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

Upvotes: 0

sosborn
sosborn

Reputation: 14694

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.

Upvotes: 0

Catfish_Man
Catfish_Man

Reputation: 41831

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.

Upvotes: 1

Related Questions