fix(matomo): stop oauth link event [EE-6779] (#11332)

pull/11338/head
Ali 2024-03-08 10:17:29 +13:00 committed by GitHub
parent 0ad4826fab
commit a570073d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -82,6 +82,7 @@ function config($analyticsProvider, $windowProvider) {
push('setReferrerUrl', '');
push('setCustomUrl', basePath + path);
push('trackPageView');
push('enableLinkTracking');
});
/**

View File

@ -1,6 +1,5 @@
const _paq = (window._paq = window._paq || []);
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['enableLinkTracking']);
var u = 'https://portainer-ce.matomo.cloud/';
_paq.push(['setTrackerUrl', u + 'matomo.php']);