Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Track C++ application with google analytics

Is a possibility to track my C++ application usage using google analytics?

like image 623
vitali_y Avatar asked Dec 02 '10 18:12

vitali_y


People also ask

Can you use Google Analytics to track apps?

User insights from acquisition to app usageAnalytics surfaces data about user behavior in your iOS and Android apps, enabling you to make better decisions about your product and marketing optimization.

How do I track my CTA in Google Analytics?

To do this, navigate to the “Events—Overview” section of the “Content” area. From this section, you can then sort by category, action, or label. From this page you'll now be able to see how each of your CTAs are performing and compare them to one another.

How do I find app data in Google Analytics?

Create a web data only view (filter out app hits)Sign in to your Analytics account. Navigate to the desired account, property, and view. If you only have one view on the property, you should create a new view, and filter the data from that specific view. Click +New Filter (and if necessary, select Create new Filter).


2 Answers

to track application usage with google analytics is necessary to generate http request to this url: *

http://www.google-analytics.com/__utm.gif?
        utmwv=3&
        utmn=<random number>&
        utme=&
        utmcs=ISO-8859-1&
        utmsr=1280x1024&
        utmsc=24-bit&
        utmul=en-us&
        utmje=1&
        utmfl=-&
        utmhn=<www.stopka.us>&
        utmhid=2112093191&
        utmr=-&
        utmp=/login.php?user=12&
        utmac=UA-XXXXX-1&
        utmcc=__utma%3D1.<unique id>.<time (in sec's since Jan 1, 1970) of first
visit).<time of last visit>.<time of current visit>.<visit count>%3B
%2B
        __utmz%3D1.1203103189.1.1.utmcsr%3D<source>%7Cutmccn%3D<campaign>
%7Cutmcmd%3D<medium>%3B

* all parameters is possible to fill with it's user env. values. This way is not convenient enough. So, I create my own library. I call it UsageAnalytics and distribute it as open source project at: http://code.google.com/p/usageanalytics/

thanks for all for participation, thanks for me for the library.

btw. cause code.google.com outdated, I've moved that stuff to

https://github.com/vyemialyanchyk/usageanalytics

like image 195
vitali_y Avatar answered Oct 11 '22 02:10

vitali_y


By now you may have already solved your need, but for what it's worth, my firm has also released a C library supporting Google's Universal Analytics Measurement Protocol.

https://github.com/analytics-pros/universal-analytics-c

Good luck!

like image 26
samba Avatar answered Oct 11 '22 04:10

samba