Firebase (Notification Service)
Make sure that you’ve implemented Firebase Cloud Messaging SDK according to this instruction.
Pay your attention to the first two paragraphs of this part of the instruction. The third paragraph is optional.
Amplitude (Integrate Analytics)
There are 2 ways to send a
push_token
to Amplitude: viaevent + event_property
, or viauser_property
:[Recommended]. Implement setting a user_property
push_token
using the identify methodImplement sending events in Amplitude: you need to send a
push_token
event with an event propertypush_token
, in which the device token from Firebase is passed.
We strongly recommend triggering the
push_token
event logging on EVERY app start.