I'm writing a flutter app and I'm trying to find out how to fetch campaign information from the flutter app for the current user.
so In firebase console when I go to Conversions -> Network Settings
and I generate a Click campaign URL with some relevant values to Source, Medium, Campaign, Ad Network Type and Creative.
now when the user installed the app from that click campaign and executed the app, I want to be able from flutter to be able to fetch these parameters.
any ideas how to do so?
I thought i'll find it in the flutter analytics API but so far no luck.
any information regarding this issue would be greatly appreciated.
thanks!
There is no public API to get the campaign information or other data from Google Analytics for Firebase.
The only ways to get analytics data from Firebase are:
exporting the raw event data to BigQuery, and doing further/custom analysis there.
exporting the data from the charts to CSV by clicking the Download CSV option from the ⠇ overflow menu.
As far as I know neither of these exports the definitions of your campaigns however. The best I can think of is to replicate the parameters in your app. I realize that's not ideal, so hope someone knows of a better way.
Related
Any ideas how I get historical data out of Google Analytics?
My problem here is I didn't realise the Firebase / Analytics export to BigQuery wasn't retrospective for history, so I only have data from when I turned on the integration and I need everything from when the Firebase App was launched. The main data I need is events with their parameters.
I have tried a few things:
Connect PowerBI to Google Analytics. I can authenticate and it only
shows "Default Account for Firebase" with no children - it doesn't
show the apps underneath that account.
https://ga-dev-tools.appspot.com/query-explorer/ has the same
problem (not showing child properties).
I can load the
properties and therefore analytics dataset using Google Data Studio,
but this does not have the functionality I require that is in Power
BI. I also couldn't locate the event parameters which I need either.
Any ideas on how to export the data?
You can try to use Google Analytics Data API to export report programmatically: https://developers.google.com/analytics/devguides/reporting/data/v1
However the data are not raw like with BigQuery Export. So if you want raw data there are no solution for the historical data.
So I will try to explain myself the best I can, and I would really appreciate any help!
May main Goal here is to export FireBase data to a DataStudio. I know how easy this is, just link FireBase to BigQuery and create a DataStudio with this data source. There's even already an awesome template for this.
But is not that simple, I work at an agency, this is a huge corporate client and their internal people work is a mess.
The problem here is: I can get "property" access to Firebase, and I have linked my Bigquery account to this project, but what I can't see is the whole app information in Bigquery.
What I see is the data from "crashalytics", "messaging", "performance" and predictions.
But can't seem to find the "normal info" off the app, the events, conversions, audiences, etc...
This is where I can't understand some things that I would like you to help me with, I have some theories.
In the configuration of bigquery integration on firebase I have every switch marked as "On" but one, the analytics one.
enter image description here
Now here is where all my questions come:
- ¿Do I need this switch to be on so I can visualize, for example Events or users information on Bigquery?
If so, what is the realtion between Firebase and Google Analytics?:
- ¿Is it necesary to have a Google Analytics account integrated with the Firebase project in order for bigquery to extract the data and show it?
- ¿Can I extract directly through firebase the data without Google analytics?
And an extra one: If I remove the Google Analytics account from my Firebase project, and add a new one, ¿Would the new Google Analytics also have the data so I can extract it with Bigquery and build my panel?
The biggest problem here is that this Firebase account was created long ago, and the client haves no idea what Google Analytics account is Linked to the Firebase project, they know nobody with acces to it, and they say "I'ts an old analytics, we only need Firebase information to show on datastudio" but I'm starting to feel this is not possible without this Google Analytics acces.
Pleaaase some help with this.
Thank you very much in advance.
I solved it, if anybody comes to this problem, the problem was I needed permision to the analytics web + app created from firebase.
I am using Firebase (react-native-firebase if it matters).
In the events section of the console, I see that the app_remove event tracks uninstalls.
I want to find out what specific users uninstalled the app, and thus triggered the app_remove.
I want to see past data as well, not just future data.
How do I see the specific useruid for the users?
If I cannot see in the console, can I do this in code?
Many thanks!
bro.
Firebase is an amazing project, and many thanx to invertase they bring it to React-Native.
Dashboard you watching is based on Analytics tool, that goes with react-native-firebase lib. With Analytics tool you are able to attach some specific knowledge to each(even implicit) events that tracks in Dashboard.
eg: analytics.setUserId will add and show id of user that dispatched some event.
I've linked firebase analytics app to BigQuery and getting raw data under app_events and app_events_intraday tables.
Our major requirement behind using BigQuery is to get analytics data that we get under Firebase analytics dashboard e.g. active_users, new users, audience geo locations and so on.
We can get these kinds of data using GA REST API for web applications but here we are using firebase app for mobile application and we came to know that BigQuery is the only option to get analytics data.
Can I get google analytics historic data like I get it on Firebase analytics dashboard?
Also, I get this data by downloading CSV from the same dashboard but that is a manual approach and I am looking to automate it.
Please acquaint me with the right approach to get analytics data for firebase app.
Thanks!
Is there Google Data Protocol for Google Code? I want a programmatic way to retrieve data (such as My favorites of an user, project information, etc.) from it.
I saw on the API Directory that Google Data Protocol currently does not have Google Code (besides Issue Tracker API) yet. If so, are there other approaches to retrieve those data?
Thank you.