By Default, if you use the standard Javascript Tracking Tag, Matomo (Piwik) will only track visitors with Javascript Enabled in their web browser. You can however configure Matomo to also track users who have disabled Javascript: to do so, edit the Matomo Tracking Tag <noscript> and change:

<noscript><p><img src="http://piwik-server.com/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>

Replace with the following:

<noscript><p><img src="http://piwik-server.com/piwik.php?idsite=1&rec=1" style="border:0" alt="" /></p></noscript>

After making this change and adding &rec=1, visitors with disabled Javascript will execute the noscript and will load the piwik.php image and will have their traffic recorded in Matomo (Piwik).

Notes:

  • as this image tracking code does not use Javascript, Matomo (Piwik) will not be able to track some user information such as screen resolutions, browser plugins and page titles. The image tracker code also does not create first party tracking cookies which results in some information being lost.

  • the most famous bots will still be ignored with this technique. To force Matomo (Piwik) to track all bots, add the parameter &bots=1 to the tracking URL, eg:

    <noscript><p><img src="http://piwik-server.com/piwik.php?idsite=1&rec=1&bots=1" style="border:0" alt="" /></p></noscript>