问题
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