I want use Google Analytics in my Roku client app to track user events and get geographical info about my users.
We use them in our Silverlight client applications via javascript by calling the trackEvent() function as follows.
Is there any way we can do this in the roku client? Perhaps some direct HTTP asych query method?
Thanks
Tom
Additionally it looks like a lib was written for this sort of thing in Flash apps even when the HTML DOM is not available.
http://code.google.com/apis/analytics/d … icsLibrary
You can certainly do direct HTTP(S) transfers to do your logging. To do so, look at the very end of the “RokuDvp-ComponentReference.pdf” documentation in the SDK for the documentation for roUrlTransfer. You can use this to do HTTP GET and POST if you want to send data back to your server.
We don’t however, support any JavaScript execution.
Patrick