Explorar el Código

Add more function to matomo service. #1015

Sylry hace 2 años
padre
commit
48cb7064a9
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      tarteaucitron.services.js

+ 5 - 0
tarteaucitron.services.js

@@ -4371,6 +4371,11 @@ tarteaucitron.services.matomo = {
         window._paq.push(["trackPageView"]);
         window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
         window._paq.push(["enableLinkTracking"]);
+
+        if (typeof tarteaucitron.user.matomoMore === 'function') {
+           tarteaucitron.user.matomoMore();
+        }
+
         window._paq.push([function () {
             var self = this;
             function getOriginalVisitorCookieTimeout() {