- From: Maxim Salnikov <notifications@github.com>
- Date: Wed, 04 Sep 2024 15:38:47 -0700
- To: w3c/push-api <push-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 September 2024 22:38:51 UTC
@collimarco, I don't have any statistics on failed fetch-in-push ratio so can't really reason about reliability. But this approach is regular for Web Push delivery services. For example, [SW by Pusher](https://js.pusher.com/beams/service-worker.js). And this analytics call is marked as "best efforts" there as well - confirming your concern. If we develop this idea towards its robustness, we can leverage something similar to what was implemented in [workbox-google-analytics](https://developer.chrome.com/docs/workbox/modules/workbox-google-analytics) module (that is unfortunately not compatible with GA 4+): all failed requests stored in IndexedDB and then "synced" using Background Sync API (that is not available on iOS though) -- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/386#issuecomment-2330271251 You are receiving this because you are subscribed to this thread. Message ID: <w3c/push-api/issues/386/2330271251@github.com>
Received on Wednesday, 4 September 2024 22:38:51 UTC