Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2962 closed Bug (fixed)

Weird percentage of installations of a browser plugin (>100%)

Reported by: jawsmith Owned by:
Priority: normal Milestone: Piwik 1.8
Component: Core Keywords:
Cc: Sensitive: no


The "Plugins" table under "Visitors" - "Settings" shows following strange behavior:

  1. The visits percentage with Flash plugin is shown above 100% (102.1%)
  2. The shown percentage seems to be inconsistent with the absolute number of visits. E.g.: if 60 visits corresponds to 100% ("Cookies"), how can 39 visits correspond to 81.3% ("Pdf"), and so on.

See attached screenshot for information. This seems to be related to #1496.

Attachments (1)

Plugins_Screenshot.png (15.1 KB) - added by jawsmith 2 years ago.

Download all attachments as: .zip

Change History (12)

Changed 2 years ago by jawsmith

comment:1 Changed 2 years ago by jawsmith

It doesn't get asked in the bug submission form: Piwik version 1.7 is meant. But I'm not sure how long this has been around, maybe I just never noticed.

comment:2 Changed 2 years ago by matt (mattab)

  • Milestone set to 1.7.x - Piwik 1.7.1

Thanks for the report, it seems there is a problem indeed.

comment:3 Changed 2 years ago by vipsoft (robocoder)

Cookie and Java - includes IE users, so:

  • Cookie 60/60 = 100%
  • Java 42/60 =70%

The other plugins exclude IE users. It looks like one non-IE user changed their user agent to masquerade as IE, this means the Flash detection is over-reported (49 instead of 48).

  • Flash 49/48 = 102.1%
  • Pdf 39/48 = 81.83%
  • etc...

This is confusing to users given that the widget currently has the footnote:

Note: Plugins detection doesn't work in Internet Explorer. This report is only based on non-IE browsers

but is obviously not accurate given the above explanation.

comment:4 Changed 2 years ago by vipsoft (robocoder)

(In [6056]) refs #2962 - no hope of IE ever supporting plugin detection; so disable it from the start

comment:5 Changed 2 years ago by vipsoft (robocoder)

(In [6057]) refs #2962 - don't correct for IE

comment:6 Changed 2 years ago by vipsoft (robocoder)

Now... what to do with historical data?

comment:7 Changed 2 years ago by matt (mattab)

Oh good guess about browser faking IE user agents. Your solution looks good.

About historical data: maybe we can cap the percentage at 100% max if it could be higher for previous days?

comment:8 Changed 2 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6258]) fixes #2962 - add RangeCheck filter

comment:9 Changed 2 years ago by vipsoft (robocoder)

  • Milestone changed from 1.7.x - Piwik 1.7.x to 1.7.2 - Piwik 1.7.2

comment:11 Changed 2 years ago by matt (mattab)

I noticed that the value for 100% is displayed as "100" but other values are correctly displayed with % sign "88%"

Note: See TracTickets for help on using tickets.