NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006499phplist applicationClick Trackingpublic25-05-06 22:5220-06-13 18:15
PlatformOSOS Version
Product Version 
Target Version2.11.11Fixed in Version2.11.11 
Summary0006499: subtract bounces to calculate percentages
Descriptionhello - I notice that the Rate value within the mviews stats module uses the following equation

$perc = sprintf('%0.2f',($row['views'] / $row['total'] * 100));
    $ls->addColumn($element,$GLOBALS['I18N']->get('rate'),$perc.' %');

Wouldn't the Rate value be better if we also take into account the bounces? For example

$perc = sprintf('%0.2f',($row['views'] / ($row['total'] - bounce_count) * 100));
    $ls->addColumn($element,$GLOBALS['I18N']->get('rate'),$perc.' %');

I notice also that the "total" resultset attribute is based on the "entered" value in the user_message table. each record from my understanding represents phplist sending out an email to a subscriber. I assume that the record has no relation to the bounces. So a record within the user_message table can in fact be a bounced email.

TagsNo tags attached.
Attached Files

- Relationships
related to 0002705closed PHPList v2.11 release 
related to 0016796resolvedmichiel Review statistics exactness 

-  Notes
michiel (manager)
06-11-12 14:06

yes, agree, that would make it more accurate.
michiel (manager)
20-06-13 18:15

I *think* I found all the places, and updated it to subtract the bounces. That's for views/opens only. In a way the same thing should be done with clicks.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker