plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Non-unique page views

Open jiteshjha opened this issue 10 years ago • 3 comments

What happened just before the problem occurred

The page view counter doesn't track unique views for any page. Take any sample research note like this. Simply doing a page refresh increases the view count. Any spam bot or a simple browser macro could be employed to easily increase the view counter.

Possible solution is using the impressionist ruby gem. Read the documentation in the Readme and think of a way to use it in plots2.

PublicLab.org username

jiteshxyz (to help reproduce the issue)

Browser, version, and operating system

Firefox 44, Ubuntu 15.04

jiteshjha avatar Mar 17 '16 10:03 jiteshjha

This is true, but we don't record unique identifiers for pageviews, just increment a count. I don't see this as a big problem at the moment, but if you have a simple fix you'd like to propose, go for it! Thanks!

On Thu, Mar 17, 2016 at 6:46 AM, Jitesh Kumar Jha [email protected] wrote:

What happened just before the problem occurred

The page view counter doesn't track unique views for any page, example here https://publiclab.org/notes/warren/03-10-2016/google-summer-of-code-2016-draft-proposals. Any spam bot or a simple browser macro could be employed to easily increase the view counter. Relevant URLs

https:// PublicLab.org username

jiteshxyz (to help reproduce the issue) Browser, version, and operating system

Firefox 44, Ubuntu 15.04

For bug reports, fill out the above template; for feature requests, you can delete the template.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/425

jywarren avatar Mar 17 '16 14:03 jywarren

I cannot think of a simple fix for this, rather than using impressionist gem, which includes a long procedure. What do you think?

jiteshjha avatar Mar 20 '16 18:03 jiteshjha

I think we should focus on other higher priority issues for now, but thanks for looking into it! Anything from https://github.com/publiclab/plots2/labels/help-wanted if you're looking for something to work on!

On Sun, Mar 20, 2016 at 2:32 PM, Jitesh Kumar Jha [email protected] wrote:

I cannot think of a simple fix for this, rather than using impressionist https://github.com/charlotte-ruby/impressionist gem, which includes a long procedure. What do you think?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/425#issuecomment-198983112

jywarren avatar Mar 20 '16 20:03 jywarren