Stay organized with collections
Save and categorize content based on your preferences.
Properties
Optional analyticsLabel
analyticsLabel: string
Optional link
link: string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/js/v8/firebase).\n- [messaging](/docs/reference/js/v8/firebase.messaging).\n- FcmOptions \nOptions for features provided by the FCM SDK for Web. See\n[WebpushFcmOptions](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#webpushfcmoptions).\n\nIndex\n\nProperties\n\n- [analyticsLabel](/docs/reference/js/v8/firebase.messaging.FcmOptions#analyticslabel)\n- [link](/docs/reference/js/v8/firebase.messaging.FcmOptions#link)\n\nProperties\n\nOptional analyticsLabel \nanalyticsLabel: string \nLabel associated with the message's analytics data. See\n[Adding analytics labels](https://firebase.google.com/docs/cloud-messaging/understand-delivery#adding-analytics-labels-to-messages).\n\nOptional link \nlink: string \nThe link to open when the user clicks on the notification. For all URL values, HTTPS is\nrequired. For example, by setting this value to your app's URL, a notification click event\nwill put your app in focus for the user."]]
Options for features provided by the FCM SDK for Web. See WebpushFcmOptions.