mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(telemetry): replace GA with matomo (#4140)
* feat(core/telemetry): add posthog * feat(core/telemetry): add posthog * feat(core/telemetry): add matomo * feat(core/telemetry): update matomo * feat(core/telemetry): update matomo * feat(core/telemetry): update matomo * feat(telemetry): remove google analytics code * refactor(telemetry): move matomo code to bundle * refactor(telemetry): move matomo lib to assets * refactor(telemetry): depreciate --no-analytics * feat(settings): introduce a setting to enable telemetry * fix(cli): fix typo * feat(settings): allow toggle telemetry from settings * fix(settings): handle case where AuthenticationMethod is missing * feat(admin): set telemetry on admin init * refactor(app); revert file * refactor(state-manager): move optout to state manager * feat(telemetry): set matomo url * feat(core/settings): minor UI update * feat(core/telemetry): update custom URL * feat(core/telemetry): add placeholder for privacy policy * feat(core/telemetry): add privacy policy link Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
This commit is contained in:
parent
7aaf9d0eb7
commit
2158cc5157
26 changed files with 2879 additions and 2605 deletions
|
@ -3,6 +3,9 @@ import '@babel/polyfill';
|
|||
|
||||
import angular from 'angular';
|
||||
|
||||
import './matomo-setup';
|
||||
import './assets/js/angulartics-matomo';
|
||||
|
||||
import './agent';
|
||||
import './azure/_module';
|
||||
import './docker/__module';
|
||||
|
@ -21,7 +24,6 @@ angular.module('portainer', [
|
|||
'angularUtils.directives.dirPagination',
|
||||
'LocalStorageModule',
|
||||
'angular-jwt',
|
||||
'angular-google-analytics',
|
||||
'angular-json-tree',
|
||||
'angular-loading-bar',
|
||||
'angular-clipboard',
|
||||
|
@ -37,6 +39,8 @@ angular.module('portainer', [
|
|||
'portainer.integrations',
|
||||
'rzModule',
|
||||
'moment-picker',
|
||||
'angulartics',
|
||||
'angulartics.matomo',
|
||||
]);
|
||||
|
||||
if (require) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue