Using Google Analytics from a .NET desktop application

江枫思渺然 提交于 2020-01-22 07:11:05

问题


Is it possible to send "PageViews" and record activity using the official Google API for C#? for instance, if i want to track page views for my wpf/winforms desktop app. ?

Where can i find some oficial examples?


回答1:


I've just downloaded "Garlic" and tried the sample app and it works a treat!

https://github.com/dustyburwell/garlic




回答2:


Disclaimer: I am the author for Gappalytics

I think one missing here is Gappalytics for code/UI event tracking, it is a very simple library which unlocks you a full potential of Google analytics.

It works better than mentioned before lib's because it can persist uniqueness of a user this way your data will not be skewed.




回答3:


Google just released the Windows SDK for Google Analytics. It works with UWP, Xamarin, Windows Forms, and WPF.

The official announcement was made at the most recent Windows Developer Day on Feb 8th, 2017.




回答4:


Here are some options, none perfect though. Google has an iOS and android SDK. Why not a Windows SDK???

  • Garlic
  • Ga.net
  • Server Side Google Analytics


来源:https://stackoverflow.com/questions/16217894/using-google-analytics-from-a-net-desktop-application

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