To see data in the "Delivered" metric for your web push notifications, you need to track the receive-push
event on your website. This requires an update to your Pushwoosh Web SDK integration.
Your development team will need to implement the following event handler in your website's JavaScript code where the Pushwoosh Web SDK is initialized:
Pushwoosh.push(['onLoad', function (api) {
// This function is executed when a push notification is displayed (for foreground notifications)
// or received (for background notifications).
Pushwoosh.addEventHandler('receive-push', function (payload) {
console.log('Triggered event: receive-push', payload.notification);
// The 'receive-push' event indicates the push has been delivered to the browser.
// Pushwoosh automatically tracks this for 'Delivered' statistics when this handler is present.
});
}]);
Once this handler is implemented and active on your website, the Pushwoosh system will begin to populate the "Delivered" statistics for your web push messages.
For more detailed information, please refer to the official Web SDK documentation: Pushwoosh Web SDK Documentation
Comments
0 comments
Please sign in to leave a comment.