Answer the question
In order to leave comments, you need to log in
android webview app what stats to set?
Hello!
I made an Android application in the form of an HTML page displayed in a WebView:
I wanted to add some statistics now, but Google and Yandex require their API to be installed in the application's Java project.
Tell me, is there such statistics that will work as a JS file added to the HTML code, like on regular sites?
Thank you!
Answer the question
In order to leave comments, you need to log in
Google statistics works like a JS function added to the HTML code. And Yandex too.
And you continue not to confuse the statistics added to the application through the API functions and the statistics added to the HTML page. HTML doesn't really care if it's opened by a browser or by your application (in fact, also by a browser). You only need an internet connection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question