Reading through progressive web apps, it might be a good idea to explore using the Experience Cloud Platform SDK. Looking through progressive web apps and use cases for the Platform SDK, they seem to align the closest.
We made some testing with developers and figured out a way to solve it.
You can't use "SDK" since PWA are just a "copy" of the website (or part of it, defined by website) and they run on local device in a "browser".
Solution right now:
not working (yet)
tracking usage of PWA: there should be a environment variable in the window object who holds information if it is a PWA, but doesn't work right now
tracking "offline browing" since this is not yet implemented. butI think we just write the calls in cache and send it with timestamp to analytics as soon as user is online again...
If anybody has more information hwo to get the missing triggers, I would love to hear!