Analytics on Mobile Phones
Posted
by Samuh
on Super User
See other posts from Super User
or by Samuh
Published on 2010-05-19T05:31:28Z
Indexed on
2010/05/19
5:31 UTC
Read the original article
Hit count: 231
Tracking events and setting up Analytics for Websites seems easy. You create an account with one of the Analytics service providers like Google. They give you javascript code that you embed in your pages (whichever event you wish to track) and voila..you're done.
I have written a native application for Android phones, which is actually an adaptation of the actual web site. Now, I am required to setup Analytics and tracking for this native application.
Question:
How to do this on Mobile phones from within a native application?
We have Java Script code that works for the original web site. Is there a way to incorporate that in the native application?
I know Android supports Java Script via WebViews(Webkit);my application does not have webviews and it is native.
Also, I have not worked on JavaScript since school so excuse me if I sound naive.
Thanks.
© Super User or respective owner