Setting up Android application for Analytics and tracking
Posted
by Samuh
on Stack Overflow
See other posts from Stack Overflow
or by Samuh
Published on 2010-05-19T05:40:27Z
Indexed on
2010/05/19
5:50 UTC
Read the original article
Hit count: 206
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 setup a native application for Analytics?
We have Java Script code(not Google Analytics but for some other engine) 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, it is native!
I have not worked on JavaScript since school so excuse me if I sound naive.
Thanks.
© Stack Overflow or respective owner