GoogleAnalyticsForXamarinForms
GoogleAnalyticsForXamarinForms copied to clipboard
Google Analytics 4 Property
Is there a trick to getting this to work with GA4 properties? It was working fine with the older ones (UA), but I have had no luck with a new GA4 property.
No, it used old api :(
Any plans for rewriting it to GA4 or any other packages available for that ?
No, not for now
I would love this too since I think the transition deadline from Google is July 1, 2023
Any plans for rewriting it to GA4 or any other packages available for that ?
Also interested to learn which package you are all migrating to now that we know this one won't be updated? Thanks.
Hi, I did some investigation before and I don't think it's possible anymore to use Google Analytics (4) without the official Google SDK's. The internals are undocumented.
I currently switched to this strategy: https://www.linkedin.com/pulse/xamarin-upgrading-from-google-firebase-analytics-v4-keith-beatty
I got it working for Android and will start on iOS soon.
Some other useful links you will run into while rewriting:
- https://github.com/xamarin/GooglePlayServicesComponents/issues/642#issuecomment-1221520982
- https://support.google.com/analytics/answer/9289234?hl=en#linkga
- https://support.google.com/analytics/answer/11091025?hl=en#zippy=%2Cin-this-article
this library is just wrapper over https requests. this is real google analytcs for mobile apps
I know but is there any alternative ? Using Google Analytics with just http requests without GA SDK is no longer possible with GA4. So the only option left is to implement real google analytics for apps, unless you know another option ?