matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.68k stars 2.62k forks source link

Lack of parameter in <noscript> part of Piwik's JavaScript tracking code #9360

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hello,

It seems that

tracking code:

<noscript><p><img src="//localhost/piwik1/js/tracker.php?idsite=2" style="border:0;" alt="" /></p></noscript>

when it should be:

<noscript><p><img src="//localhost/piwik1/js/tracker.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript>

Result is that if somebody will implement tracking code from Piwik's website settings page -

clipboard02

Regards, Tomasz

ghost commented 8 years ago

FYI @mattab

tsteur commented 8 years ago

This is currently on purpose from the looks see comment

By default, Piwik doesn't track non-JS visitors.

See https://github.com/piwik/piwik/blob/master/core/Tracker/VisitExcluded.php#L70-L82

mattab commented 8 years ago

Hi @tomasztomik This is by design. see also: https://piwik.org/faq/how-to/faq_176/ and https://piwik.org/faq/new-to-piwik/faq_63/