mirror of https://github.com/portainer/portainer
fix(matomo): stop oauth link event [EE-6779] (#11332)
parent
0ad4826fab
commit
a570073d12
|
@ -82,6 +82,7 @@ function config($analyticsProvider, $windowProvider) {
|
||||||
push('setReferrerUrl', '');
|
push('setReferrerUrl', '');
|
||||||
push('setCustomUrl', basePath + path);
|
push('setCustomUrl', basePath + path);
|
||||||
push('trackPageView');
|
push('trackPageView');
|
||||||
|
push('enableLinkTracking');
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
const _paq = (window._paq = window._paq || []);
|
const _paq = (window._paq = window._paq || []);
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
_paq.push(['enableLinkTracking']);
|
|
||||||
|
|
||||||
var u = 'https://portainer-ce.matomo.cloud/';
|
var u = 'https://portainer-ce.matomo.cloud/';
|
||||||
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
||||||
|
|
Loading…
Reference in New Issue