Delivery Statistics

PNFPB tracks push delivery and open rates automatically using a built-in delivery confirmation mechanism.

How It Works

  1. When a notification is sent, a record is written to pnfpb_ic_delivery_statistics_notifications for each subscriber.
  2. When the browser receives the notification and confirms delivery, delivery_confirmation is set to 1.
  3. When the user clicks/opens the notification, open_confirmation is set to 1.
  4. Aggregate totals are stored in pnfpb_ic_total_statistics_notifications.

Viewing Statistics

In PNFPB → Push notifications delivery list you can see per-notification totals: how many were sent, how many were delivered, and how many were opened.

The Browser delivery list (PNFPB → Push notifications delivery — browser list) shows per-browser/device delivery data.

Delivery Statistics Table Columns

Column Description
notificationid Links back to the notification send record.
userid WordPress user ID (0 for anonymous).
browser_token The subscriber’s device/browser token.
browser_type Browser or device type string.
delivery_confirmation 1 = confirmed delivered, 0 = not yet.
open_confirmation 1 = user opened notification, 0 = not opened.