From ec59af3777f5ac88ee6ad44a502c0de5d35213e2 Mon Sep 17 00:00:00 2001 From: guillaume Date: Fri, 27 Jul 2018 18:08:09 +0200 Subject: Integration of matomo with env vars --- config/router.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/router.js') diff --git a/config/router.js b/config/router.js index 1f80004a..91d08897 100644 --- a/config/router.js +++ b/config/router.js @@ -14,6 +14,8 @@ FlowRouter.route('/', { Filter.reset(); EscapeActions.executeAll(); + Utils.manageMatomo(); + BlazeLayout.render('defaultLayout', { headerBar: 'boardListHeaderBar', content: 'boardList', @@ -38,6 +40,8 @@ FlowRouter.route('/b/:id/:slug', { EscapeActions.executeUpTo('popup-close'); } + Utils.manageMatomo(); + BlazeLayout.render('defaultLayout', { headerBar: 'boardHeaderBar', content: 'board', @@ -53,6 +57,8 @@ FlowRouter.route('/b/:boardId/:slug/:cardId', { Session.set('currentBoard', params.boardId); Session.set('currentCard', params.cardId); + Utils.manageMatomo(); + BlazeLayout.render('defaultLayout', { headerBar: 'boardHeaderBar', content: 'board', -- cgit v1.2.3-1-g7c22