mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(analytics): add apis for event tracking (#5298)
* feat(analytics): add apis for event tracking feat(api): fetch instanceID feat(state): set instance id and version on matomo refactor(state): export validation of app state feat(analytics): update dimensions refactor(analytics): move matomo to module feat(analytics): disable analytics on non production feat(analytics): track event metadata refactor(analytics): clean push function refactor(analytics): rename init function feat(analytics): track user role feat(analytics): track user global role fix(stacks): remove event tracking for stack create * style(analytics): remove TODO * feat(build): add testing env
This commit is contained in:
parent
11d555bbd6
commit
9be0b89aff
9 changed files with 251 additions and 282 deletions
|
@ -4,7 +4,7 @@ import '@babel/polyfill';
|
|||
import angular from 'angular';
|
||||
|
||||
import './matomo-setup';
|
||||
import './assets/js/angulartics-matomo';
|
||||
import analyticsModule from './angulartics.matomo';
|
||||
|
||||
import './agent';
|
||||
import './azure/_module';
|
||||
|
@ -39,7 +39,7 @@ angular.module('portainer', [
|
|||
'rzModule',
|
||||
'moment-picker',
|
||||
'angulartics',
|
||||
'angulartics.matomo',
|
||||
analyticsModule,
|
||||
]);
|
||||
|
||||
if (require) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue