File tree 3 files changed +17
-10
lines changed
3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ module.exports = function (environment) {
105
105
warnIfNoIconsIncluded : false ,
106
106
} ,
107
107
108
- matomo : { } ,
109
-
110
108
'ember-cli-notifications' : {
111
109
autoClear : true ,
112
110
clearDuration : 5000 ,
@@ -120,6 +118,11 @@ module.exports = function (environment) {
120
118
'ember-cli-mirage' : {
121
119
usingProxy : true ,
122
120
} ,
121
+
122
+ metrics : {
123
+ enabled : analyticsEnabled ,
124
+ matomoUrl : process . env . WEB_ANALYTICS_URL ,
125
+ } ,
123
126
} ;
124
127
125
128
if ( environment === 'development' ) {
@@ -132,10 +135,6 @@ module.exports = function (environment) {
132
135
// ENV.APP.LOG_TRANSITIONS = true;
133
136
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
134
137
// ENV.APP.LOG_VIEW_LOOKUPS = true;
135
- if ( analyticsEnabled ) {
136
- ENV . matomo . url = process . env . WEB_ANALYTICS_URL ;
137
- ENV . matomo . debug = true ;
138
- }
139
138
}
140
139
141
140
if ( environment === 'test' ) {
@@ -163,10 +162,6 @@ module.exports = function (environment) {
163
162
164
163
if ( environment === 'production' ) {
165
164
// here you can enable a production-specific feature
166
-
167
- if ( analyticsEnabled ) {
168
- ENV . matomo . url = process . env . WEB_ANALYTICS_URL ;
169
- }
170
165
}
171
166
172
167
return ENV ;
Original file line number Diff line number Diff line change 52
52
},
53
53
"devDependencies" : {
54
54
"@1024pix/ember-cli-notifications" : " ^8.0.2" ,
55
+ "@1024pix/ember-matomo-tag-manager" : " ^2.4.3" ,
55
56
"@1024pix/ember-testing-library" : " ^3.0.6" ,
56
57
"@1024pix/eslint-config" : " ^1.3.8" ,
57
58
"@1024pix/pix-ui" : " ^48.7.1" ,
You can’t perform that action at this time.
0 commit comments