Conversion Data
Once the integration with firebase is complete, the following steps can be followed to enable conversion data to be fed into Fast Track to provide you insight on such notifications.
ℹ️ Firebase Webhook Handler
The Firebase Webhook Handler accepts payload information from external users regarding Firebase push notifications.
The Firebase webhook handler provides an API endpoint that allows external users to send metadata headers and an action related to push notifications sent through Firebase. The endpoint supports Basic Authentication for secure communication.
The following implementation will be done within your app, which will send such data to FT notifying of the current status of the Push Notification sent to that device. As part of the firebase push notifications, Fast Track adds the properties to the Data property. Then for the conversion data, Fast Track expects to receive the following kind of payload on the POST endpoint in order to match to the original notification sent out.
The Firebase webhook handler expects payloads in the following structure:
The allowed action values are:
- delivered
- read
- clicked
Endpoint
Important: Trailing / is required.
Authentication
Username: fasttrack
Password: provided during configuration
Only authorised users with valid Basic Authentication credentials can access the webhook endpoint securely.