Skip to content

Commit

Permalink
feat(orga): initialized Matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
alicegoarnisson committed Dec 5, 2024
1 parent 652dc2d commit 5309480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions orga/app/routes/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ export default class ApplicationRoute extends Route {
@service currentUser;
@service session;
@service intl;
@service metrics;

async beforeModel(transition) {
this.metrics.initialize();
await this.session.setup();
await this.featureToggles.load();
const isFranceDomain = this.currentDomain.isFranceDomain;
Expand Down
2 changes: 1 addition & 1 deletion orga/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = function (environment) {
autoClear: null,
clearDuration: null,
};

ENV.metrics.enabled = false;
ENV.pagination.debounce = 0;
}

Expand Down

0 comments on commit 5309480

Please sign in to comment.