mywot / chrome

WOT's Chrome extension
http://www.mywot.com/wiki/Chrome
GNU General Public License v3.0
8 stars 7 forks source link

Add validation of the counter's value before sending it to GA #60

Closed sorgoz closed 11 years ago

sorgoz commented 11 years ago

Here https://github.com/mywot/chrome/blob/master/welcometips.js#L149 we don't verify the validity of the counter's value, and it is possible (for yet unknown reason) that this event might be triggered more times than actually Tip was shown. Which leads to stats corruption.