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:
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.