maxim-saplin / ambilytics

Google Analytics for all Flutter platfroms (Android, iOS, macOS, Web, Windows and Linux)
https://pub.dev/packages/ambilytics
MIT License
6 stars 1 forks source link

use only MP for mac & windows #6

Open alexvoina opened 2 days ago

alexvoina commented 2 days ago

Hey,

I'm looking for a minimal way to send a very basic event from my flutter desktop app (mac & windows) to my GA4 property.

I don't intend to add more events & use it for actual analytics, since I'm using Sentry for that, I only want to send an event to optimize my Google Ads campaign.

Does this plugin always build the firebase sdk for macOS? I don't want to add unused dependencies to my project.

If this plugin is too much for my requirements, and I would be better off by copying only the MP part, I would be very thankful if you could point me to the code that needs to be stripped from here.

Thanks!

maxim-saplin commented 1 day ago

The plugin is essentially one file, should be rady to strip out Firebase and leave the HTTP/GA4 part

alexvoina commented 15 hours ago

thanks!

alexvoina commented 12 hours ago

do you know if events sent via Measurement Protocol from the app will be correctly attributed to users acquired on a landing page?

E.g. 1.User comes to my website via a google Ad. 2.User downloads the app 3.I send an event from the app using MP

Will google analytics track this user correctly?

maxim-saplin commented 12 hours ago

Nope, you better test it