Trigger a Google Analytics for Firebase function doesn't work - firebase

I'm trying to trigger a cloud function when an specific event happens, but it does not work.
I have marked the event as conversion event in the Events tab of the Firebase console Analytics pane.
When the event is triggered, I can see it in the Debug View tab of the Firebase console Analytics pane, but nothing happens in Firebase console Function pane.
Here I leave you my index.js file:

I had the same problem. The problem in my case was in the data privacy settings for my firebase project.
You must activate the "Sharing Analytics data with Firebase features" option, otherwise cloud function trigger from Google Analytics event will not work.

I had the same problem, and checked all the settings mentioned by #yasyd , but none of those helped.
2 hours after I got my event log trigger deployed and turned on the conversion event, my cloud function started to work and got fired when an event was logged, so it just need some time.
I guess they should mention this delay in the Firebase Functions documentation.

Issue I faced was it was a web app I was trying to send the conversion analytics from, in order to trigger cloud function. But doc says it is not supported.
Only iOS and Android events marked as conversion events are currently supported by Cloud Functions; Web conversion events are not currently available. You can specify which events are conversion events in the Events tab of the Firebase console Analytics pane.

Related

How to access my Firebase Events in BigQuery

I am trying to use bigquery to get all the events from Firebase Analytics.
There are more than 400 events added in my Firebase Analytics, but I cannot see any of those in my BQ console. Could anyone explain how-tos?
I also have customer dimensions added in Firebase, but I cannot see any of those, too.
Maybe I failed in flooding all the events in the BigQuery....
I clicked the button below, to access to big query
I tried to access to my FB events through bigQuery console, but I could not find a way out.

Firebase: Analytics events are not always exporting to BigQuery

I have an iOS which I have implemented analytics on - I have created events for each time the screen of the app is changed.
When I view Analytics in Firebase Console I can see that they have been picked up and registered.
This issue comes when then trying to use BigQuery.
I used the app on 25/2/22, the events appeared in Firebase Console and then in BigQuery.
However, I then used the app on 1/3/22, the events have appeared in Firebase Console but not in BigQuery.
My question is how do I make sure that the data collected that I can see in Firebase Control is transferred to BigQuery so that I can query the data?

Activate Firebase Events DebugView in Unity

Is there any way to activate the Firebase Events DebugView in Unity or even just to log an event without the use of a real/virtual device (use it with a PC application)?
I can use Storage, Realtime Database and the Auth with no problem, but when I try to use the Firebase Analytics to Log events, nothing happens.
I've even tried the quick-start sample with no success.
Is it possible or I can only use it with a device?
Firebase very few services only support Desktop/Editor version. Unfortunately Analytics will not support it. you need to build on device and debug in Xcode/Android studio
https://firebase.google.com/docs/unity/setup - please see last 2 paragraph

Forward Firebase Analytics Events with Firebase Cloud Functions to 3rd Parties

Context: We have natively integrated Firebase Analytics Events in our app, I need to now forward these events to 3rd Party marketing & attribution platforms.
As of today, I can either implement:
Google Tag Manager (GTM), or
Pass events by using Firebase Cloud Functions (Server-side).
Question: The documentation states one can extend Google Analytics for Firebase with Cloud Functions, but with an added clause:
Only events marked as conversion events are currently supported by
Cloud Functions. You can specify which events are conversion events in
the Events tab of the Firebase console Analytics pane.
I however stumbled unto this tutorial, where the company forwards all their Events with Firebase Cloud Functions (without limitations). I would like some clarification on whether this latter approach is really a best practice, or am I really only constrained to forward 10 Conversion Events through Cloud Functions (as stated in the documentation) ? Thanks in advance :)
Google Analytics for Firebase only sends conversion events to Cloud Functions for Firebase.

app_remove event in Firebase

I am using Firebase Analytics for my Xamarin Forms mobile app. The Firebase documentation says it can track the event "app_remove" . But I cant find that in firebase events dashboard .
Can someone help !
On iOS, when the app is removed by users, users can't go back to the app so that Firebase Analytics can log the app_remove event. In addition, the process is already terminated and there is no way to upload that event even if Analytics can log it. It's nearly impossible to log app_remove events on iOS.
For Android app, please note that the app should be linked to Google Play to report app_remove event on Firebase.

Resources