Summarises email delivery and engagement outcomes for a date range, as counts and derived percentage rates. Built by EmailApp.emailStats(Date, Date) from EmailItem.countStats results, and read by the admin dashboard email widget (deliveryRatePerc, openRatePerc, convertedRatePerc) to render the delivered/opened/converted summary pies. All rate getters return null when their denominator is zero, so callers must handle a missing rate rather than assuming zero.


Properties

PropertyReturnsDescription
convertedlongNumber of email items in the range that were marked as converted (edmConverted), meaning the recipient clicked through and completed the tracked action.
convertedRatePercIntegerProportion of successfully delivered email items in the range that converted, as a whole-number percentage of converted over deliveredOk.
deliveredOklongNumber of email items in the range whose send status is EmailItem.STATUS_COMPLETE, meaning delivery succeeded.
deliveryRatePercIntegerProportion of all email items in the range that were delivered successfully, as a whole-number percentage of deliveredOk over total.
failedlongNumber of email items in the range whose send status is EmailItem.STATUS_FAILED, meaning delivery did not succeed.
openRatePercIntegerProportion of successfully delivered email items in the range that were read, as a whole-number percentage of read over deliveredOk.
readlongNumber of email items in the range that were marked as read by the recipient.
totallongTotal number of email items counted in the range, regardless of send, read or conversion status.

Methods

getConverted()

Returns: long

Number of email items in the range that were marked as converted (edmConverted), meaning the recipient clicked through and completed the tracked action.

getRead()

Returns: long

Number of email items in the range that were marked as read by the recipient.

getTotal()

Returns: long

Total number of email items counted in the range, regardless of send, read or conversion status.

getDeliveredOk()

Returns: long

Number of email items in the range whose send status is EmailItem.STATUS_COMPLETE, meaning delivery succeeded.

getFailed()

Returns: long

Number of email items in the range whose send status is EmailItem.STATUS_FAILED, meaning delivery did not succeed.

getDeliveryRatePerc()

Returns: Integer

Proportion of all email items in the range that were delivered successfully, as a whole-number percentage of deliveredOk over total.

getOpenRatePerc()

Returns: Integer

Proportion of successfully delivered email items in the range that were read, as a whole-number percentage of read over deliveredOk.

getConvertedRatePerc()

Returns: Integer

Proportion of successfully delivered email items in the range that converted, as a whole-number percentage of converted over deliveredOk.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.