X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0cb475cc1ad12c82ff0a36f7b9629c2288737a4f..5e27978d3cd55b267f0222d51d9e8efa26e389e9:/app/assets/javascripts/piwik.js diff --git a/app/assets/javascripts/piwik.js b/app/assets/javascripts/piwik.js index d327296f6..19b5619a2 100644 --- a/app/assets/javascripts/piwik.js +++ b/app/assets/javascripts/piwik.js @@ -11,7 +11,7 @@ if (OSM.PIWIK) { piwikTracker = Piwik.getTracker(base + "piwik.php", OSM.PIWIK.site); if (OSM.user) { - piwikTracker.setUserId(OSM.user); + piwikTracker.setUserId(OSM.user.toString()); } piwikTracker.trackPageView();