]> _ Git - fluidbook-html5.git/commitdiff
wip #6889 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Apr 2024 16:59:51 +0000 (18:59 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Apr 2024 16:59:51 +0000 (18:59 +0200)
js/libs/fluidbook/fluidbook.stats.js

index 67c3f6deb58fb4773daa1819ea11fec2817a547b..25e407fd0a4b45f93b738873b0335dba45f780c4 100644 (file)
@@ -48,8 +48,8 @@ FluidbookStats.prototype = {
         if (this.matomoServers.length > 0 && !this.hasMatomoTagManager) {
             let u = 'https://' + this.matomoServers[0].server + '/';
             window._paq = window._paq || [];
-            if (MATOMO_USER_ID !== undefined) {
-                window._paq.push(['setUserId', MATOMO_USER_ID]);
+            if (window.MATOMO_USER_ID !== undefined) {
+                window._paq.push(['setUserId', window.MATOMO_USER_ID]);
             }
             window._paq.push(["setDoNotTrack", true]);
             window._paq.push(['enableHeartBeatTimer']);