Server-side tagging for mobile apps (via mGTM + sGTM or just sGTM)

Hey, I’m interested in what’s your typical data flow regarding mobile app analytics implementation because I’m always struggling with the idea of “what if we’d still need mGTM from time to time”. Having mGTM between the app and sGTM has its benefits, although not so many. I have a few questions below.

  1. Is your usual data flow APP → sGTM → GA (Server-side tagging for mobile apps  |  Google Tag Manager - Server-side  |  Google for Developers) or APP → mGTM → sGTM → GA?
  2. Why (not) one or another?

If I want to use mGTM + sGTM, I need a bit of help to point me in the right direction:

  1. Are the implementation steps (e.g., for Android) the same as described here: Google Tag Manager for Android  |  Google Tag Manager for Mobile (Android)  |  Google for Developers, PLUS some additional steps to send data to sGTM? What are these steps and where do they fit in the Android flow described in the link above? Or is the implementation more complicated and totally different? Any straight-forward nstructions maybe?
  2. I’ve tried a few things to send data from mGTM to sGTM, for instance with the additional server_container_url parameter inside GA (Firebase) tag, but I’m not getting data sent to sGTM (I was trying similar logic as it’s used to send data from wGTM to sGTM).

If I want to forget sGTM for a bit and if I look just at the Android instructions (Google Tag Manager for Android  |  Google Tag Manager for Mobile (Android)  |  Google for Developers):

  1. Is it ok to Download the first, empty version of mGTM (to copy it into the file strucutre) or does this version need to contain at least something, e.g. one tag?
  2. Does the downloaded file need to be exactly inside the app/src/main/assets/containers folder or can it be placed somewhere else and this different path can be defined somewhere in the code?

Thanks

APP → sGTM is the flow you’re looking for, high level approach is outlined here: Server-side tagging for mobile apps  |  Google Tag Manager - Server-side  |  Google for Developers

as far as I am aware mGTM has no options to send anything to the server, moreover in light of Firebase (SDK) ability to send events to sGTM, the mGTM feels like a redundant package that can be removed.

Hey, thanks for the reply.

Yes, I’m thinking of dropping the whole idea of using mGTM although I’m still very curious of if/how is it possible to use it.