X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/08a0fc90e371c20b3f78d25dc81440d7eb505a19..16da03aacb264c1703d8bd4fab5c58c78745be00:/app/assets/javascripts/piwik.js?ds=sidebyside 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();