Silverlight Google Analytics Integration - silverlight

We have a Silverlight LOB that we need to integrate Google analytics. I have been exploring the Microsoft Silverlight Analytics Framework (MSAF) for the past few days. Unfortunately, I don’t get any response to many of my questions in the MSAF discussion forum. Now I'm forced to find a decent alternative to MSAF. I gave up MSAF due to the following reasons:
Not getting any answers to many of my questions
Not sure if MSAF support Google’s E-commerce tracking. If so how
Do you have any experience integrating Google analytics with Silverlight? Especially the e-commerce tracking part of it? Any inputs/links/resources in this regard will be very helpful. Sincerely appreciate your help.

I have created a widget for blogengine.net to show total visits on the blog from Google Analytics. You need to use GData - Google Data API for this. Have a look at this widget. May be it is not of lot of help but at least it can get you started.
http://midnightprogrammer.net/post/Blog-Analytics-Widget-For-BlogEngineNET-Powered-By-Google-Analytics.aspx

Related

Testing google analytics

I am new to google analytics and mobile testing and got a task of testing google analytics on one of our in-house application. could you guys please help me by understanding that how can I proceed doing so. I have no idea about google analytics.
Thanks in advance.
Just perform the actions that you are actually tracking and check if a corresponding entry is recorded in the analytics database.
As a starting point, first check if your UA tracking ID is implemented. Secondly, make some interaction with you mobile application and check if the data is available in Google Analytics (e.g. real time report).

Salesforce and vk.com API integration

I need to implement such functionality, that can allow to manage vk.com* entities (create posts, send messages, add new friends etc) form Salesforce side. Although vk.com provides rich API with good documentation, but I look for already developed solutions for Apex.
I checked AppExchange for it and googled popular solutions, but didn't find anything:( Are there any ready apex ways or have I to do it myself? Maybe I can use power of Salesforce Chatter?
I will be glad to any advice, suggestions!
*vk.com is social network, kind of Facebook, which has a much higher relevance than Facebook in Eastern Europe, especially Russia.

Android Google analytics Campaign tracking not in Report

I really cant make this work tried hours. Android google analytics seems not a well discussed subject in stackoverflow yet. similar post(also no solution):
Google Analytic campaign tracking not showing up in report
i did everything exactly like described here: https://developers.google.com/analytics/devguides/collection/android/v4/campaigns
also i get the message in adb Terminal: Thread[GAThread,5,main]: Campaign found: utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testContent&utm_campaign=testCampaign
But when i look into google analytics (http://www.google.com/intl/de/analytics/)
there is just no data arriving from my First installation of the APP.
please help, since this seems to be not covered at all nowhere...
guess solved it, the google documentation is very bad.
what made my day is GoogleAnalytics.getInstance(this).reportActivityStart(this); in the onStart(); class in the activity. which sends the whole campaign to the analytics report. it's not mentioned in the google manual.
excellent tutorial(still rare for google analytics):
http://benwilcock.wordpress.com/2014/04/11/working-with-google-analytics-api-v4-for-android/

Google App Engine Calendar

Does anyone have a link or can provide the code for a Java Google App Engine project which simply interacts with Google Calendar. Say get an event from your calendar.
The Google Sample calendar-appengine-sample does not compile once checkout out from HG and I have tried searching for tutorials and creating my own with only small bits of luck in places.
I have already set up an API Access project to get the client-secrets.json.
So as much as some think this is a poor question it demonstrates that there is not much out there in terms of help with the combination of Java, App Engine and OAuth. I have an ex Google employee at my company and he did agree that it is not as straightforward as it should be.
Based on the reply to my post on the Google Group I decided to use Python where the OAuth2Decorator makes the task trivial.
This was a very useful tutorial: https://developers.google.com/appengine/articles/python/getting_started_with_tasks_api
If you HAVE to use Java these I apologise for this not really helping you, but if you are willing to give Python a go then I recommend the above link and using PyDev with Eclipse.

How to track if browser is Silverlight enabled

I'm trying to get some stats on how many of the visitors to our website have Silverlight enabled browsers.
We currently use Google Analytics for the rest of our stats so ideally we'd like to just add 'Silverlight enabled' tracking in with the rest of our Google Analytics stats. But if it has to get written out to a DB etc then so be it.
Nikhil has some javascript to Silverlight tracking to Google Analytics. I have tried this code but Google Analytics doesn't pick it up.
Does anyone have any other ideas/techniques?
In case you missed it, there's a link to a more detailed article as well in the comments: http://blogs.msdn.com/jeffwilcox/archive/2007/10/01/using-google-analytics-with-rich-managed-web-applications-in-silverlight.aspx
Edit: As David pointed out, this article covers the reverse scenario more (how to write your silverlight app so that it plays well with Analytics).
I think you answered it yourself. The page you are linking to does just that: detect which version of Silverlight the user has (not if s/he installs it). From the page:
After a little poking around, I found that Google Analytics has support for reporting a user-defined field.
...
Basically this detects the presence of Silverlight, and if its available, it records the version as the value of the user-defined field. Now your analytics reports will have one of three values: "(not set)", "Silverlight/1.0" or "Silverlight/2.0".
#Vaibhav
The Using Google Analytics with rich (managed) web applications in Silverlight article is very interesing but is more focused on how to get your Silverlight app to send messages to Google Analytics.
#Cd-MaN
Yeah, I thought that too but I have tried running my page with Nikhil's javascript and Google Analytics didn't pick it up. But I could have screwed something up somewhere.
I'm just interested to know if anyone else has managed to do this (track Silverlight-ness) successfully.
I've written a lightweight Silverlight library that helps make it easy to integrate Google Analytics in your silverlight app. You can grab download the code or binaries here.
I think the code posted on Nikhil's blog is out of date if you are using ga.js and not urchin.js.
The use of the global function __utmSetVar() is replaced by the tracker method _setCustomVar()
http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html#_gat.GA_Tracker_._setCustomVar

Resources