Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#768 closed Bug (fixed)

restore the noscript call in the javascript tracking code

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.4.2
Component: Core Keywords:
Cc: Sensitive:

Description

it could be used by plugins or in the future to count users/bots without javascript - we should restore it.

Change History (10)

comment:1 Changed 5 years ago by hass

This destroys statistics... it would start counting robots... that will clutter the stats with many non-user data. I suggest to keep it away or document it only for people how understand what they are doing...

Normally you don't like to track robots - it's much more important to understand how users are walking a site. You will not earn money by robots crawling your site (you loose money - you need to pay for CPU time and traffic) - but users may give you something back. :-)

comment:2 Changed 5 years ago by Blizzz

If you differ between bots and and humans and store and use the data respectively, you get further data:

1st: how many visitors have javascript disabled (discrimate them from bots via UA)
2nd: which Bots and Spiders visit your page?
from this you can see how popular your site is (the more engines the broader the reach) and together with
3rd: you see the frequency of bots and spiders
you can see how your site develop or identify problems, e.g. when Google Bot visits you significantly less than the weeks before.

Eventually you can get useful information indeed as long as you don't mix it up with the "usual" statistics.

comment:3 Changed 5 years ago by Blizzz

sorry, line breaks are messed up :(

comment:4 Changed 5 years ago by hass

An UA string is not save. Robots sometimes comes as IE to get access to a site. Additional it is nearly impossible to make a list of all available robots and Piwik does not distinguish between UA's. If it would do - than it would be good, but I do not think this is implementable in near future.

PS: 99% of all users have JS enabled - if not they are not able to browse the new "Web 2.0" at all. They will not be able to see many sites... I know that a few big companies have switched off JS on their desktops in past... I wouldn't care about them any longer.

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

Note: restoring the noscript means puttint it back, it doesn't mean "count visits with JS disabled". Piwik has never counted visits with JS disabled and won't in core - but plugins could use this and report on bots, etc.

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

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

(In [1273]) fixes #768 - added noscript node; surrounding object node is required for XHTML validation; omitted anchor linkback per email

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

(In [1288]) refs #768 we do not print the piwik text and keeping number of lines as small as possible (users like a compact code)

comment:8 Changed 5 years ago by matt (mattab)

(In [1289]) refs #768 Making sure this is XHTML 1.0 Strict valid. See example in: http://piwik.org/xhtml/

comment:9 Changed 5 years ago by alivenk

comment:10 Changed 5 years ago by koteiko

Note: See TracTickets for help on using tickets.