I’d like to get statistics on how much bandwidth my android app is consuming with Google Analytics. Is this possible ? Should I manually register the size of each request, send it as an event and sum all that data per user ? Is that even possible ?
Everything I find on the internet is unfortunately about how much data Google Analytics itself uses.
It’s so negligible very few realistically care about it.
It’s hard to count either since the Firebase SDK employs batching, and now even gtag.js employs it on the web. Batching helps to save very considerably on the transport packet headers since the analytics payloads are usually very compact. Many analytics hits can fit a TCP packet.
You can calculate it though. Use something like Charles or Fiddler to proxy your GA events, get an average size of a typical GA payload (probably under a kilobyte) then multiply by the number of events you’re sending.
You can do so programmatically from inside the app if you want, but that would be hard to justify.