Firebase Analytics: is it using IDFA on iOS? - firebase-authentication

Given the upcoming iOS 14 permission prompt for apps that use the IDFA identifier,
I am wondering if Firebase Analytics and Firebase Auth do need to access the IDFA in order to operate.
In such case, are we then required to state that the app is using IDFA when we publish it on the AppStore?

The question have been asked in a git issue on the firebase repo and basically the answer is yes if the AdSupport framework is linked to your app. The conversation is actually very interesting and links to another similar discussion started some years ago.
So at the moment if you use Firebase Analytics and your app links against AdSupport, you should indeed check the "my app uses IDFA" checkbox in the App Store.

By default, no*.
You can choose to use IDFA by calling the ATT (App Tracking Transparency) framework. *If you don't call ATT, the IDFA returned by AdSupport will be 00000000-0000-0000-0000-000000000000.
However, starting in 2021, you can include the AdSupport framework and Analytics won't collect the IDFA unless you present the AppTrackingTransparency dialogue. source

here is the quote from Firebase Documentation about Firebase Analytics and IDFA for iOS 14 or later
Firebase SDKs do not access IDFA, though some have integrations with
Google Analytics that may involve IDFA access.
so by default Firebase Analytics will not require IDFA. IDFA is required if you need to get more accurate data related to ads and marketing (attribution data & conversion tracking) from your linked Google (Firebase) Analytics.
Analytics event logging, event reporting, and conversion measurement
are unaffected, but attribution is impacted if IDFA is not accessible
more documentation you can read related to Appleā€™s iOS 14 policy updates
https://support.google.com/analytics/answer/10285841
https://firebase.google.com/docs/ios/app-store-data-collection

Related

Google Analytics 4 integration in react native

I have a project based on react native and need to integrate with GA4
Is it true that i still need firebase analytics as the base code? Or is there direct integration without firebase analytics?
Any reference on where to start?
I need to integrate ga4 in react native. Is it possible without firebase sdk?
For iOS/Android apps, yes you would need to include the Firebase SDK to set up data collection. While for web, you'll need to add the Google tag to your web pages to begin seeing data in your Google Analytics 4 property.

App won't run without google play services, which are not supported by your device Error while using firebase analytics for react native mobile app

I am trying to integrate firebase analytics on react native app, I have completed all the prerequisites and got a successful build running on Honeywell android Device, but when I open the app it gives above error. There are many such duplicate question but nothing works for me as I can't have play store as the target devices are Handheld android devices and not mobile devices. How to integrate firebase analytics without having to install google play service.
Thanks for Answer #JakeSteam
But I could get firebase integration working without google play service error.
Issue Details:
I was using react native firebase 5.x.x, which works fine but will give a pop up message mentioned in question if your device doesn't have google play service.
Workaround:
Upgrade react native firebase to version 6.x.x, the community has redeveloped this repo and I am not having issues with it now.
NOTE:
Without google play service on your device you can only use few firebase services like analytics, crashlytics etc.
As a Firebaser said:
Firebase as a platform requires Google Play Services, even though some Firebase products may be able to work without it.
If you cannot use Google Play Services, you may want to look into Google Analytics, which does not require it:
Note: Google Analytics can be used and will work on devices that do not have Google Play Services. In this case you still download and use the Google Play Services SDK and Google Analytics will automatically fall back to local dispatching.

Can we integrate firebase analytics in old project which has google cloud messaging? so i want firebase-analytics and google cloud messaging also

I have tried to add fire base-analytics in old project which has google cloud messaging which i don't want to change, i am getting error for google cloud message for imports.
Google Cloud Messaging has been deprecated as of 10 April 2018.
You can import the old project into Firebase Console and generate a config file. Analytics is a core service and track most of the app data automatically with few lines of code required for initialization. Take a look at this doc.
Please note that the Analytics data will start populating on Firebase dashboard only from the point onwards you integrate the SDK in the app. Also you can easily transition to Firebase Cloud Messaging with that approach.

setting user id with Facebook java script SDK

We are having a hybrid android/iOS app.
Majority of our source code is with HTML/JS.
We are using Google analytics already.
For better user demographics , marketing & re-marketing we want to use Facebook analytics for apps.
Identifying users based on our custom user Id is critical to us. It helps us unify the user behaviour on app & html/js.
I can see that with the android & iOS Facebook SDK we can set the user ID.
Does FB javascript SDK provide api to set user ID?
User properties are not yet supported by the JS SDK.
User properties are now supported by the JS SDK. Documentation is here: https://developers.facebook.com/docs/analytics/properties

Implementing Google Analytics in iOS App, if Firebase is already integrated for Push Notifications

I am having an iOS App in which Firebase is already integrated for the purpose of Push Notifications. So, I am having a GoogleService-Info.Plist file at the root of my target.
Now, I am adding Google Analytics SDK through pods and the tutorial is asking me to download another GoogleService-Info.plist file which is having a tracking ID. So, I am confused now that how to use Google Analytics in this case as I am already having a plist file.
I want to use google analytics as I want to do screen tracking which is not that efficient in FireBase Analytics.
Please can anybody guide me through the process of integrating Google Analytics when Firebase is already present in the app?
Thanks in advance.
This should help you with a common tutorial online FireBase Analytics Docs.
Use these docs to follow along in a tutorial that firebase has. For what I know about firebase is almost all the tutorials and help are written in swift and is kinda annoying if your writing in objective-c like I do. There is also sample projects on their website so it might be helpful to start at a sample project and work from there.