You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Parse Server push adapter does not support adding analytics labels to FCM messages. Without an analytics label, Firebase’s delivery statistics for data messages are limited and cannot be fully filtered or analyzed in the Firebase console.
Feature / Enhancement Description
This feature request proposes adding support for analytics labels in the FCM payload generated by the push adapter. Specifically, the adapter should:
Allow developers to include an analytics_label field in their push notification request data.
Validate the provided label against the regex pattern ^[a-zA-Z0-9-_.~%]{1,50}$ (ensuring it contains only letters, numbers, and the symbols -_.~% with a maximum length of 50 characters).
If valid, inject the label into the outgoing payload under fcm_options.analytics_label.
This change would help align the adapter’s behavior with Firebase’s HTTP v1 API requirements and enable developers to filter and view detailed delivery statistics for their push notifications in the Firebase console.
Example Use Case
A developer wants to monitor push delivery for a new feature update.
They include analytics_label: "feature_update_v1" in the push notification payload.
The push adapter processes the request, validates the label, and adds it under the fcm_options.analytics_label field.
Firebase records and displays delivery statistics for messages with this label, enabling the developer to filter reports and analyze the campaign’s performance.
New Feature / Enhancement Checklist
Current Limitation
Currently, the Parse Server push adapter does not support adding analytics labels to FCM messages. Without an analytics label, Firebase’s delivery statistics for data messages are limited and cannot be fully filtered or analyzed in the Firebase console.
Feature / Enhancement Description
This feature request proposes adding support for analytics labels in the FCM payload generated by the push adapter. Specifically, the adapter should:
analytics_label
field in their push notification request data.^[a-zA-Z0-9-_.~%]{1,50}$
(ensuring it contains only letters, numbers, and the symbols-_.~%
with a maximum length of 50 characters).fcm_options.analytics_label
.This change would help align the adapter’s behavior with Firebase’s HTTP v1 API requirements and enable developers to filter and view detailed delivery statistics for their push notifications in the Firebase console.
Example Use Case
analytics_label: "feature_update_v1"
in the push notification payload.fcm_options.analytics_label
field.Alternatives / Workarounds
I haven't found an alternative or workarounds
3rd Party References
The text was updated successfully, but these errors were encountered: