firebase / firebase/firebase-admin-node

How do you track notification messages sent through firebase-admin nodejs library?

Aperta
#2,356 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
needs-triage
Lingua principale
TypeScript
Stelle
1.7k
Fork
419
Merge medio
3g 10h
PR unite (30g)
16

Descrizione

When sending notifications using Node.js with the firebase-admin library and a Firebase token, the messages don't seem to be recorded under the Campaign Messages section in the Firebase dashboard(https://console.firebase.google.com/project/<{yourid}>/messaging). This means I can't view analytics like what percentage of users opened the notification, how many messages were sent, etc.

Is there a way to get campaign message tracking when sending notifications programmatically from a backend with the firebase-admin?

![image](https://github.com/firebase/firebase-admin-node/assets/20880839/d5b26921-60cc-488c-bc99-43537e5228e1)

![image](https://github.com/firebase/firebase-admin-node/assets/20880839/a32fb933-0b4b-4e6d-9075-2860ebe9b4e3)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.