summaryrefslogtreecommitdiffstats
path: root/config/router.js
diff options
context:
space:
mode:
authorguillaume <guillaume.cassou@supinfo.com>2018-07-27 18:08:09 +0200
committerguillaume <guillaume.cassou@supinfo.com>2018-07-27 18:08:09 +0200
commitec59af3777f5ac88ee6ad44a502c0de5d35213e2 (patch)
tree78c15ddc925d3e54cbca2a7b346b4c07484ff94d /config/router.js
parentaa080a75062405d1f7734422f8dc3f2c08c96140 (diff)
downloadwekan-ec59af3777f5ac88ee6ad44a502c0de5d35213e2.tar.gz
wekan-ec59af3777f5ac88ee6ad44a502c0de5d35213e2.tar.bz2
wekan-ec59af3777f5ac88ee6ad44a502c0de5d35213e2.zip
Integration of matomo with env vars
Diffstat (limited to 'config/router.js')
-rw-r--r--config/router.js6
1 files changed, 6 insertions, 0 deletions
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',