Skip to content
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

How analytics labels can be added to a message? #746

Closed
dm-aq opened this issue Aug 7, 2023 · 2 comments · Fixed by #828
Closed

How analytics labels can be added to a message? #746

dm-aq opened this issue Aug 7, 2023 · 2 comments · Fixed by #828

Comments

@dm-aq
Copy link

dm-aq commented Aug 7, 2023

Hi!
How can I add analytics labels for a android push message?
https://firebase.google.com/docs/cloud-messaging/understand-delivery?hl=en&platform=web#adding-analytics-labels-to-messages

@kornrunner
Copy link

Duplicate of #444 ?

@appleboy
Copy link
Owner

Label associated with the message's analytics data.

{
  "notifications": [
    {
      "tokens": ["token_a", "token_b"],
      "platform": 2,
      "message": "Hello World Android!",
      "title": "You got message",
      "fcm_options": {
        "analytics_label": "example"
      }
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants