Firebase Cloud Notification shows 0 opens 0 clicks - ios

I have integrated Firebase Cloud Notifications for Push Notifications in my iOS App written in Swift.
Although, the notifications are working as expected and I can see the Number of Deliveries, It doesn't show the Open Count and Click Count.
I have searched for similar questions on StackOverflow but none of them has been answered yet.
As you can see in the screenshot below, the number of sends is being tracked but not Open Count or other things.
Any Help is Appreciated.

We had a similar issue and it was caused by the missing Firebase Analytics library.
Documentation for iOS:
Step 4: Add Firebase SDKs to your app
...
4. Choose the Firebase libraries you want to use.
If Google Analytics is enabled in your Firebase project, make sure to add
FirebaseAnalytics. For Analytics without IDFA collection capability, add
FirebaseAnalyticsWithoutAdId instead.
Documentation for Android:
Step 4: Add Firebase SDKs to your app
...
// Add the dependency for the Firebase SDK for Google Analytics
implementation 'com.google.firebase:firebase-analytics'
Google Analytics also has a setup guide in the Admin UI (Admin - Property - Data Streams, select the stream, click "SDK Setup Instructions"):

Related

How to set Firebase install source for ios app?

Information.
IOS app swift, firebase+analytics, bigquery integration, iAd (https://developer.apple.com/documentation/iad)
Problem.
Most of installs are direct/none in firebase - so the same in analytics & bigquery. Main sources are google ads and apple ads. We can get apple ads source and campaign using iAd. But no info how to send this data to firebase (=how to set source for Firebase)
Question.
Is it possible to manually set source/medium/campaign for Firebase? Can't find anything :(
Any other tips how to get install source/medium/campaign and set it to Firebase?
Also, if we will use some tracker - appmetrica, appsflyer etc - there will be the same question - how to get source data from appsflyer and send it to Firebase
Thanks a lot!
As mentioned in the Firebase group conversation :
Setup multiple user properties based on the info you have (like
source, medium, campaign, etc)
Combine 2 or more user properties to
make an audience
Filter your attribution report on the audience
Follow the whole conversation here.
There is one documentation about how to add firebase to your apple project and another on installation of firebase in your apple app.
For more information you can refer to the blog5, medium post and link on how Campaign Attribution Works in Google Analytics for Firebase
Okay. After researches and tests I have this view
(1) First of all - unfortunately look like firebase team doesn't make clear and working method of setting custom sources
(2) There is some possibility to send something directly to source/medium/campaign in Firebase, but it work unstable.
To do this you need
Get somewhere your Source/Medium/Campaign (for example from iAd)
send 'campaign_details' event with source/medium/campaign params
Also, as mentioned Divyani Yadav - You can just send this params anywhere to user_properties
And somehow work with this data (using bigquery or making audiences to make some analysis in Analytics), but this approach doesn't rewrite firebase initial source/medium/campaign params

Firebase Analytics compliance with ATT on iOS 14.5

If you're using Firebase analytics in your iOS Firebase project, starting in iOS 14.5 do you need to present a prompt asking User for app Tracking permission? From Firebase docs they say that Impact if IDFA is not accessible for Google Analytics:
Analytics event logging, event reporting, and conversion measurement are unaffected, but attribution is impacted if IDFA is not accessible. To learn more about Google’s response to iOS 14, see our blog post.
After reading the blog post its still not clear to me if I need to present the prompt or not?
If you want to track conversions in firebase or google analytics supporting of IDFA is required.
For CocoaPods you use two types of pod:
Either
pod 'Firebase/Analytics'
or
pod 'Firebase/AnalyticsWithoutAdIdSupport'
The last pod doesn't use IDFA and you shouldn't use ATTrackingManager request to user otherwise should.
If you use FirebaseAnalytics only to track user activity (custom and system events) use AnalyticsWithoutAdIdSupport and don't show ATTrackingManager prompt.
Firebase Analytics does not track the user's personal information, most of the information is metadata about the app itself and its usage time. The key difference is you cannot target a specific user and track them as an individual, rather find in general how often users fullfill a specific task.

Migrate custom events created from Fabric into Firebase?

My existing iOS app have custom events logged in Fabric to verify user actions. Now I migrated from fabric into firebase. All Crashlytics issues are shown in firebase Crashlytics. But custom events stored in fabric is not transferred to firebase events page. Will it automatically moved or we need to do it? Can anyone help me with that.
new events added to firebase analytics takes around a day to update and reflected in events section, mean while you can debug your custom events and check in realtime for debug version check the following link

Firebase Analytics Events don't show ad_click and ad_impression events

I am using Firebase event reporting for an iOS app. As stated here ad_click and ad_impression are automatically collected events. I have linked the AdMob app to the Firebase app. I have followed the instructions here . Firebase Analytics SDK is 5.5.0 and Google-Mobile-Ads-SDK is 7.37. I see ad_click and ad_impression events in Debug View in Firebase Analytics. But I don't see them in Events in Firebase Analytics even after 24 hours. What could be the reason?
These two events can't be exported to BigQuery from Firebase Analytics, which is documented here: https://support.google.com/firebase/answer/7061705?hl=en. Hope this provides the reason.

Firebase Analytics and GoogleIDFASupport pod, is it required?

I'm trying to clean up a pod installation on a current project that has been using Firebase analytics for the last year or so. I have noticed that it has collected user data such as age and gender, from what I understand this is done like so:
The iOS Identifier for Advertisers (IDFA). Applies to app activity only. When you use the Firebase Analytics tracking code in an iOS app to collect the IDFA, Firebase Analytics generates an identifier based on the IDFA that includes demographic and interest information associated with users’ app activity
However does this require the GoogleIDFASupport pod to work? I was using this previously for Google Analytics and would like to remove it if it's not used by Firebase. Any pointers on this would be really appreciated. Thanks!
The IDFA is used in Firebase analytics SDK when users allow ad tracking automatically. Besides Firebase Analytics' dependencies like FirebaseCore, FA doesn't need GoogleIDFASupport.
I guess you need GoogleIDFASupport only if you use it in your reports.

Resources