The forum is read-only. New threads, replies and edits are disabled.
how add google analytics to Android HTML5 App?
efccegm
I want to add google analytics to androd app To get statistics of use

thanks for your help,

Gio

Have you tried adding your google analytics html to the index.html file that is in the root of the project?

I haven't tried this myself, but it's possible it will work.

efccegm

yes , but google analytics  ask me a url To get statistics

 

Gio

Where does it ask for a url?

It needs a domain name to set up and generate your tracking code, but once you have your tracking code you can use it on any url like this:

ga('create', 'UA-XXXXX-Y', 'auto');

Note that you have to use 'auto' instead of the domain name that is in the default html code.

egmk

thanks for your help!!!