diff --git a/ui/analytics.js b/ui/analytics.js index c5f0d967a..5bec8710a 100644 --- a/ui/analytics.js +++ b/ui/analytics.js @@ -93,8 +93,8 @@ const analytics: Analytics = { } }, setUser: userId => { - // SEND USERID TO MATOMO? if (internalAnalyticsEnabled && userId) { + window._paq.push(['setUserId', String(userId)]); // @if TARGET='app' Native.getAppVersionInfo().then(({ localVersion }) => { sendMatomoEvent('Version', 'Desktop-Version', localVersion);