add userid for matomo
This commit is contained in:
parent
7e8a8dbdec
commit
0039b94832
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue