S
S
sapl2013-03-25 02:20:32
Android
sapl, 2013-03-25 02:20:32

How to secure internet feed from Google Analytics on Android?

A question.
GPRS often works very poorly on a phone.
It is often problematic to send even one small http request to the server.
In this regard, I do not really understand how to use Google Analytics for Android painlessly
so as not to harm the user. After all, due to sending GA statistics at the moment when the
user tries to request something from the server via bad GPRS, an important action can break off.
By default, statistics are accumulated and sent with a period of 30 minutes.
But I thought that it was sent in one package in a compressed form. And judging by the debug logs, for each hit/event there is a separate GET request of the form:

Host: ssl.google-analytics.com GET /collect?ul=ru-ru&ht=...

Maybe there are options for the correct setting?
Has anyone studied this issue (the impact of GA on the Internet channel and the stability of the application)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lopatoid, 2013-03-25
@lopatoid

I will offer a radical solution.
You can check which network the user is connected to (GPRS or Wi-Fi), and in case of slow connections, do not send statistics at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question