I have a Google Assistant action with Firebase fulfilment via Cloud Function. I would like to also log custom events to the projects Analytics instance. Is it possible to do this? Do I need to use the Firebase Admin framework so it has automatic access to the Analytics instance?
Asked
Active
Viewed 594 times
1 Answers
3
It's not possible to log analytics events from backend code. They can only be logged directly from the web or mobile app itself using the provided client SDK.

Doug Stevenson
- 297,357
- 32
- 422
- 441
-
That's a bummer. I could write some event data to the Firestore I guess? – Lee Probert Mar 09 '20 at 16:57