-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open counts from push notifications are not counted (IOS) #7707
Comments
Hey @chris-o3h, thanks for the report! We're looking into this (internal ref b/162390628), but this is definitely not the expected behavior. I've added our iOS expert (hi @chliangGoogle!) who's been investigating this so we can update this thread as we figure out what's going on |
@chliangGoogle FYI, Firebase Unity SDK |
@chris-o3h Are you using the console "send now", "timezone" or "local time recipient" to send the notifications? |
Thanks @ciarand and @chliangGoogle for looking into this. For an adhoc test I was using the console with a "send now" push notification. However the majority of the 12K notifications we've sent on dev are programmatically sent via our Java microservices to our Unity IOS client app. |
I did a bit more testing with the following: Here were the results when tapping on a received push notification:
One would expect the cold start to fire notification_open, but it waits for the app to start up, and because it's then in the foreground, notification_foreground is fired. This basically means we cannot track when the app is opened from a push notification. |
@chris-o3h were you able to see notification_open even logged in analytics debug view? |
This is the internal bug to track this I'll transfer this to @chliangGoogle Could you transfer this back to Thanks, |
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hey @chris-o3h. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@chliangGoogle - the google-oss-bot is stating this issue is stale. Is this still being investigated on your end? We are seeing the same issue in our iOS app. On Android, our push notification rate is about 27%, on iOS, it's less than 1%. We do see an uptick in users on iOS whenever we send a push notifications, so they ARE being received and opened. |
Looks like this was marked stale because of the open question above: @chris-o3h were you able to see notification_open even logged in analytics debug view? |
@chris-o3h Can you also let us know if you are using "send now" or "scheduled" message? If you use "scheduled" message, are you using local timezone or specific timezone? Here's how you can use analytics debug view to see if notificaiton_open is logged: https://firebase.google.com/docs/analytics/debugview |
@chliangGoogle - I can share my experience as well We have used both "send now" and "scheduled" messages. Both messages were in specific timezones. In our tests, we could not see the notification_open being logged in debugview consistently. |
Hey @chris-o3h. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@chliangGoogle this keeps getting marked as stale but there’s indications of an internal ticket. I’ve also provided responses to your questions. Is this issue prioritized at your end? If we can’t reliably track our push notifications open rate then it becomes impossible to track the success of any of our metrics and we’d have to look at other tools. |
It's automatically marked stale because the original poster did not respond to the questions. I'll remove the |
@khuffie So it seems like the pipeline is functioning cuz you do see event in debug_view, but just not consistently for every message? Can you file a separate customer ticket so we can route analytic backend to help investigate on that. |
FYI the solution we had was to check the It works for analytics through BigQuery as the numbers can be compared with FCM data, but it's not useful for building Audience cohorts in the Firebase console for creating campaigns.
|
@khuffie Can you confirm my question at #7707 (comment)? |
@chliangGoogle - We use push notifications deeplink our users to specific screens in the app. Our deep link functionality works 100%, whether the open event is tracked or not. to I confirmed with our development team that the deep link handling in our app starts with the swift equivalent of that method, so that method is getting triggered reliably. |
Hey @chris-o3h. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@chliangGoogle We are using an older version of the SDK ( FIRMessaging 4.6.1). We are planning to update to the latest version. |
@chliangGoogle we're a separate org. Confirmed with our devs, swizzling is on. |
@chliangGoogle we updated to the latest versions of the Firebase SDK and we are still experiencing the same issue. When the app is not in the background, notification_open does not get triggered. This is becoming a huge issue in our (fairly large) org. As you can imagine, we have no way of understanding the success of push notifications on iOS which is a huge blocker for our marketing and product teams. Can you please clarify what your team is doing to resolve this issue? |
@alexames So for iOS, the app must implement |
@chliangGoogle I opened a separate ticket here: #8128 |
Hey @chris-o3h. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
We discovered an issue in our logging and pushed a fix. Please watch for next unity release that should have the fix. Let us know if the issue gets resolved. |
@chliangGoogle Does it affect the regular Firebase SDK (not unity)? I'm having issues trying log the pushes that are being received. Method swizzling is enabled and |
It should be both. The iOS SDK fix is rolling out soon, @filipealva are you using iOS or unity? |
@chliangGoogle I'm using iOS. My issue is that the app delegate's callback that should be called when the app receives a remote notification and is in background is not being called. Method swizzling is enabled. Do you think that this fix you guys are rolling out can have something to do with my issue too? |
App delegate's callback not getting triggered does not seem to relate to FCM or this issue. To receive notification in background, are you talking about this callback? |
@chliangGoogle yes, it's this delegate method. Are you sure it can't be related to FCM? Since the Messaging SDK does method swizzling on this method maybe it could be failing to proxy the calls, couldn't? |
I think we need to first investigate why the callback itself is not triggered. In any case it's not related to this issue. Please open another issue if you like to check more on FCM side. |
Hey @chris-o3h. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @chris-o3h if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Open counts for push notifications are usually zero or low. Even when explicitly testing opening a push not
We are currently in an alpha stage with our app and we cannot determine why the open rates are so low. Even in our dev environment the open rates are a total of 48 for the last 90 days even though we've opened many more push notes than this and sent over 12,000 push notifications.
We are unsure of how to make the "open count" work. We have tried adding
FIREBASE_ANALYTICS_COLLECTION_ENABLED
to the plist as well as setting thenotification_open
event to a conversion event.Frankly I'm not sure if this is a bug or simply a detail that is not well documented.
Steps to reproduce:
Simply run your app, receive a push note and open the app. The open will not count on the console's open count. And if it does it is not consistent.
The text was updated successfully, but these errors were encountered: