add matomo config

This commit is contained in:
John Hess 2022-06-30 18:57:58 -05:00 committed by n8fr8
parent bfe1fb26e1
commit 6b2d91a47b
2 changed files with 33 additions and 22 deletions

View file

@ -9,24 +9,35 @@
"productLink": "letsconvene.im", "productLink": "letsconvene.im",
"defaultServer": "https://neo.keanu.im", "defaultServer": "https://neo.keanu.im",
"rtl": false, "rtl": false,
"analytics": { "analytics": [
"enabled": true, {
"config": { "enabled": true,
"server": "https://metrics.cleaninsights.org/cleaninsights.php", "type": "ci",
"siteId": 14, "config": {
"timeout": 5, "server": "https://metrics.cleaninsights.org/cleaninsights.php",
"persistEveryNTimes": 1, "siteId": 14,
"debug": true, "timeout": 5,
"campaigns": { "persistEveryNTimes": 1,
"beta": { "debug": true,
"start": "2021-01-01T00:00:00-00:00", "campaigns": {
"end": "2021-12-31T23:59:59-00:00", "beta": {
"aggregationPeriodLength": 1, "start": "2021-01-01T00:00:00-00:00",
"numberOfPeriods": 90, "end": "2021-12-31T23:59:59-00:00",
"onlyRecordOnce": false, "aggregationPeriodLength": 1,
"eventAggregationRule": "avg" "numberOfPeriods": 90,
"onlyRecordOnce": false,
"eventAggregationRule": "avg"
}
} }
} }
},
{
"enabled": true,
"type": "matomo",
"config": {
"server": "https://metrics.cleaninsights.org/",
"siteId": "17"
}
} }
} ]
} }

View file

@ -28,11 +28,11 @@ export default {
} }
break; break;
case "matomo": case "matomo":
{ {
let engine = matomo.install(Vue, engineConfig.config); let engine = matomo.install(Vue, engineConfig.config);
this.engines.push(engine); this.engines.push(engine);
} }
break; break;
} }
} }
} }