No video

Flutter Analytics using Firebase

  Рет қаралды 55,582

FilledStacks

FilledStacks

Күн бұрын

In this video we go over how to add analytics into your project and what kind of events you would like to track. We make use of Firebase analytics to complete the task.
Written: www.filledstac...
Let's work together 👉 calendly.com/d...

Пікірлер: 88
@siyabon_ga
@siyabon_ga 4 жыл бұрын
Every-time I watch your tutorials like my heart breaks into a thousand pieces. I have code running in production thats not as nearly perfect as yours. Always learning, I probably should dedicate a whole and watch your videos than another day to go refactor my code. Im also using service but damn. I wanna this OCD level on every line of code I write
@FilledStacks
@FilledStacks 4 жыл бұрын
haha, don't be too hard on your code man. It takes time. Refactor bit by bit and get it to where you want it to be. As long as you can see that you can do better you will probably put in the effort to make it better. Knowing there's something to be improved is a huge step towards improvement.
@javeedishaq7643
@javeedishaq7643 2 жыл бұрын
Thank you! Your tutorials are phenomenal!
@FilledStacks
@FilledStacks 2 жыл бұрын
Thank you for wathcing! Please subscribe, I'm busy writing a new video right now
@nicolaszein
@nicolaszein 4 жыл бұрын
Another amazing tutorial, thank you so much.
@FilledStacks
@FilledStacks 4 жыл бұрын
You're very welcome. I'm happy that you found some value in it.
@kemids2842
@kemids2842 4 жыл бұрын
Next tutorial please i'm learning so fast with your tutorials
@FilledStacks
@FilledStacks 4 жыл бұрын
Busy with the written tutorial today for this weeks video. It should be out the weekend 😋☺
@kemids2842
@kemids2842 4 жыл бұрын
@@FilledStacks always excited for no other but your tutorials
@camillo8575
@camillo8575 4 жыл бұрын
This is pure gold! Just an information, how do you advise to separate Analytics events for testing app and real users app without messing up the account with fake data?
@FilledStacks
@FilledStacks 4 жыл бұрын
Awesome! Happy you got the intended information from the video. For any firebase setup you can create flavors on Android or Profiles on iOS which you can use. This will pull in different google info files based on the build. There's a few guides out there on it. Basically you'll have two firebase projects, and have two google-information.json files and two GoogleInfo.plist files in iOS as well. When building release or debug you'll connect to different ones.
@ahumaro
@ahumaro 4 жыл бұрын
Dear @FilledStacks, do you know if this also works for Web? I am right now building for Flutter Web but I am unable to see any route change event on the analytics console apart from the initial load event. Have you tried this for Flutter Web? ... Best regards!
@FilledStacks
@FilledStacks 4 жыл бұрын
Hey there. I don't know if this works for web. I know the firebase libraries are being rebuilt from the ground up to support web as well I don't know if they're gone over the analytics library yet. You should check the new firebase website in the docs to see what it supports.
@bryanhunsberger
@bryanhunsberger 3 жыл бұрын
I haven't figured out how to get the debug view working, but the plugin specifies web, so I went ahead and implemented, and I guess will find out in 24 hours. Has anyone figured out a way to allow for debug mode with analytics? There's an issue report on this for Flutter web that you can't log into Chrome and use the analytics debug extension for Chrome when Flutter generates the debug chrome browser.
@WilsonSilva90
@WilsonSilva90 Жыл бұрын
DebugView on the web only works with a Google Chrome extension and development mode disables all extensions by default. Any workaround?
@FilledStacks
@FilledStacks Жыл бұрын
I actually haven't seen that. Maybe that's a recent change. We've been swapping between firebase analytics and Amplitude. Amplitude worked quite well, the implementation is the same as Firebase. But I have no workaround as I haven't experienced that.
@chauhanpiyush
@chauhanpiyush 4 жыл бұрын
@FilledStack I am not able to see firebase screen parameter in debug view on firebase console. I see this firebase_screen_class: MainActivity I am not using locator. But I am doing this `navigatorObservers: [AnalyticsService().getAnalyticsObserver()]` Is it wrong?
@FilledStacks
@FilledStacks 4 жыл бұрын
No, that should still be fine. It takes some times sometimes for the data to show up.
@richardmiho
@richardmiho 4 жыл бұрын
great tutorial thank you so much.
@FilledStacks
@FilledStacks 4 жыл бұрын
You're very welcome. Thanks for watching and commenting.
@aeromina
@aeromina 4 жыл бұрын
Thank you so much for that !
@FilledStacks
@FilledStacks 4 жыл бұрын
You're very welcome. It makes me happy to see more people are interested in the analytics implementation.
@vesly2458
@vesly2458 Жыл бұрын
Thank you!
@FilledStacks
@FilledStacks Жыл бұрын
You are very welcome.
@himsha64
@himsha64 4 жыл бұрын
can you please explain app Refer and reward program in flutter
@FilledStacks
@FilledStacks 4 жыл бұрын
I haven't looked at the before. I should see what it's about and I'll see if I can make a video on it
@maakuuu
@maakuuu 4 жыл бұрын
#FilledStacksArmy Keep up the good work!
@FilledStacks
@FilledStacks 4 жыл бұрын
Yup yup!! I'll try my best 💪 Thanks for the support.
@lobanovkirill
@lobanovkirill 4 жыл бұрын
Thank you for share!) Maybe you can create tutorial, how to add mixpanel analytics in app?)
@FilledStacks
@FilledStacks 4 жыл бұрын
You're welcome. i haven't heard of mix panel. I'll look at it and see if I'd use it in my app.
@yashinherenttech6396
@yashinherenttech6396 4 жыл бұрын
Please make a tutorial on pagination in flutter with firebase or at least guide how can I achieve this with this architecture.
@FilledStacks
@FilledStacks 4 жыл бұрын
I'm planning on doing that in this series so it'll be coming out in this series.
@yashinherenttech6396
@yashinherenttech6396 4 жыл бұрын
@@FilledStacks Hey Dane, I did the pagination with grids but when I go to some other screen and navigate back to the screen it doesn't load grid .. probably something to do with stream controller which loading the firebase loading data ..should I need to create a dispose method, if yes then how coz I tried creating dispose method in base widget like init method one but didint work.
@mike12932
@mike12932 4 жыл бұрын
Great video, as always! Keep producing amazing content. Got one question though, I have seen there is/was a Slack channel for this community, is there any chance I could get an invitation (if it's still live)?
@FilledStacks
@FilledStacks 4 жыл бұрын
Thank you. Yes, the invite is available on filledstacks.com under any post you view.
@nicolapigozzo
@nicolapigozzo 4 жыл бұрын
Very great tutorial. I would like to see from you how you use big query firestore export extension and display data from bigquery to datastudio.
@FilledStacks
@FilledStacks 4 жыл бұрын
Thank you. At the moment I don't do that, I'd have to make use of it for a few weeks or months first before sharing any solution around it.
@achisingh329
@achisingh329 Жыл бұрын
what if im not using the locator and get_it things. can u tell in that case what to do??
@FilledStacks
@FilledStacks Жыл бұрын
You would do the exact same thing but you probably won't use dependency inversion. You can simply construct the class where you need it and you'll have a hard dependency on it.
@user-kh6rp6yx1j
@user-kh6rp6yx1j 2 ай бұрын
Hey man, good.
@FilledStacks
@FilledStacks 2 ай бұрын
Thank you.
@arturbd4135
@arturbd4135 2 жыл бұрын
Does anyone have a problem in 1:26 line 6 with FirebaseAnalytics(); ? The console says: The class 'FirebaseAnalytics' doesn't have an unnamed constructor. Try using one of the named constructors defined in 'FirebaseAnalytics'. Pls help :(
@FilledStacks
@FilledStacks 2 жыл бұрын
It doesn't have an unnamed constructor anymore. Do f12 on the class to navvigate to it and see the constuctor, or read the latest docs for the package.
@evildecisionsarvar5996
@evildecisionsarvar5996 Жыл бұрын
try: final FirebaseAnalytics _analytics = FirebaseAnalytics.instance;
@nkanyisosigwaza
@nkanyisosigwaza Жыл бұрын
@@evildecisionsarvar5996 Thanks this worked for me
Жыл бұрын
not sure why this doesn't work for me. i added the android and ios json files, but debug view shows nothing
@FilledStacks
@FilledStacks Жыл бұрын
It is a bit shaky sometimes. The configuration is not easy to spot when it's broken. Check your logs. there should be analytics events being posted there.
Жыл бұрын
@@FilledStacks i see requests being made to firebase batch something, but nothing happens on firebase hehe
@FilledStacks
@FilledStacks Жыл бұрын
@ then it's probably a distribution thing with where you are. It's not possible to always be real time. I've had this issue before. Run your app in release mode and see if you get events showing up.
Жыл бұрын
@@FilledStacks how do i do that?
@FilledStacks
@FilledStacks Жыл бұрын
@ You run with the --release flag when running the app.
@chinmayagarnaik6458
@chinmayagarnaik6458 4 жыл бұрын
Nice and helpful video
@FilledStacks
@FilledStacks 4 жыл бұрын
Perfect 👌
@michaeltolsma7717
@michaeltolsma7717 4 жыл бұрын
2:21 what is the implementation of _getPageRoute? Your linked video doesn't cover that. How do you set the page name?
@FilledStacks
@FilledStacks 4 жыл бұрын
It wraps the MaterialPageRoute call incase I want to swap it out for a different transition. github.com/FilledStacks/flutter-tutorials/blob/f88110623663a5337c735eb44144ea1c3a6d9cab/044-analytics-firebase/lib/ui/router.dart#L43
@michaeltolsma7717
@michaeltolsma7717 4 жыл бұрын
@@FilledStacks I'm finding that my page navigation is not being logged in the debug view with this method. In fact I find that the debugview is very inconsistent with its logging even when I create a function such as "onButtonClicked" for a custom event. Only SOME things are shown in the debug view. Do you have/experience this issue at all? Thanks again
@michaeltolsma7717
@michaeltolsma7717 4 жыл бұрын
@@FilledStacks The implementation of this link seems to have solved my analytics of page navigation. I think I was missing the naming of the pages, which I didn't know how to do with this method. Thanks for the assistance. I think it would be very beneficial to others if you included this info in the video via a link or end-note. Thanks!
@FilledStacks
@FilledStacks 4 жыл бұрын
@@michaeltolsma7717 Nice! Happy to hear it's working. It is very important for them to know. Which is why I mention at the start of every video you can download the starting code from the written tutorial or my website :)
@user-fh4xo2pc2d
@user-fh4xo2pc2d 4 жыл бұрын
Please make a tutorial on implementing plugin using platform channel later. Thank you!
@FilledStacks
@FilledStacks 4 жыл бұрын
Hi thanks for making a suggestion. I have seen quite a lot of them on KZbin and there's not much functionality I would need that for. If there's something that a plugin doesn't exist for then I might do it.
@user-fh4xo2pc2d
@user-fh4xo2pc2d 4 жыл бұрын
@@FilledStacks Thank you! I searched webview plugins, but official one still has keyboard issue and other ones lack functinality or has some issues.
@sreejith4568
@sreejith4568 2 жыл бұрын
The terminal commands not working for me. Is there any solutions?
@FilledStacks
@FilledStacks 2 жыл бұрын
Yes, You look at the updated documentation of what you're using and start there.
@maurovolpe7943
@maurovolpe7943 4 жыл бұрын
Hi, Great! but DebugView don't work for me and I don't find the issue... can you help me please?
@FilledStacks
@FilledStacks 4 жыл бұрын
Hi Thanks. That's too bad, did you run the command to pass along debug logs to firebase from your app package id?
@maurovolpe7943
@maurovolpe7943 4 жыл бұрын
@@FilledStacks Yes ran the command, now I'm using android emulator because after that was using my phone, but doesn´t work...
@FilledStacks
@FilledStacks 4 жыл бұрын
@@maurovolpe7943 I see. Then I don't know, let me know when you figure it out.
@bataaboldbaatar7647
@bataaboldbaatar7647 Жыл бұрын
did something of this video changed through 2 years?
@FilledStacks
@FilledStacks Жыл бұрын
No, we still use it exactly the same :D
@bataaboldbaatar7647
@bataaboldbaatar7647 Жыл бұрын
@@FilledStacks nice its great news and thank your very useful video content.
@DevenSitapara
@DevenSitapara 3 жыл бұрын
I my case manifest package name not working but I tried firebase package name and its working :)
@FilledStacks
@FilledStacks 3 жыл бұрын
I don't exactly know what was wrong but I'm happy you solved it.
@electronicsnerd8820
@electronicsnerd8820 4 жыл бұрын
@FilledStacks can you make a video on flutter with firebase crashlytics please.......
@FilledStacks
@FilledStacks 4 жыл бұрын
The video would be too short. I thought about it but I just followed the readme and I was done. There's nothing extra to add. It's just 1 line of code in the main file.
@electronicsnerd8820
@electronicsnerd8820 4 жыл бұрын
@@FilledStacks in my project I did everything , errors shows in the debug console " error reported to crashlytics console " but nothing shows in the console . I changed event type etc but no luck.
@maherbanhusentech
@maherbanhusentech 3 жыл бұрын
Good but pdf, image and video store in cloud firebase and storage firebase 👍 Please video create
@FilledStacks
@FilledStacks 3 жыл бұрын
Thanks. I have a video for cloud storage. I show how I do uploading in there. It should apply to everything you just asked.
@maherbanhusentech
@maherbanhusentech 3 жыл бұрын
Please upload fast👍
@FilledStacks
@FilledStacks 3 жыл бұрын
@@maherbanhusentech haha, upload what? That video is already up on the channel.
@jesusavalos1088
@jesusavalos1088 Жыл бұрын
🤮🤮🤮🤮🤮
@FilledStacks
@FilledStacks Жыл бұрын
Aaaaaawwww shame man. You should get some medicine
@nickbrodd7159
@nickbrodd7159 4 жыл бұрын
Thank you! Your tutorials are phenomenal!
@FilledStacks
@FilledStacks 4 жыл бұрын
Thanks Nick! 😁 I appreciate the feedback.
Flutter and Firestore realtime Pagination
12:29
FilledStacks
Рет қаралды 17 М.
Complete Guide to Google Analytics 4 Integration in Flutter
15:23
Snippet Coder
Рет қаралды 1,2 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 168 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,8 МЛН
Top 12 Flutter Tips & Tricks
9:32
Fireship
Рет қаралды 268 М.
Flutter GitHub Actions - Automate Your Workflow
10:04
Robert Brunhage
Рет қаралды 30 М.
Firebase Analytics Tutorial - How to track Mobile Apps
12:30
MeasureSchool
Рет қаралды 200 М.
How to integrate Firebase Analytics in Flutter
19:12
CodeWorm
Рет қаралды 1 М.
How to Setup Firebase Analytics in Flutter (2024)
12:32
Code With Cypert
Рет қаралды 5 М.
Firestore Security Rules with Testing
27:48
FilledStacks
Рет қаралды 7 М.
Getting started with Serverpod 🚀 and Dart 🎯 on the backend
27:13
Serverpod 🚀
Рет қаралды 2,7 М.
AdMob UMP SDK in Flutter - Implement your GDPR dialog
14:52
David Serrano
Рет қаралды 5 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН