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",
"defaultServer": "https://neo.keanu.im",
"rtl": false,
"analytics": {
"enabled": true,
"config": {
"server": "https://metrics.cleaninsights.org/cleaninsights.php",
"siteId": 14,
"timeout": 5,
"persistEveryNTimes": 1,
"debug": true,
"campaigns": {
"beta": {
"start": "2021-01-01T00:00:00-00:00",
"end": "2021-12-31T23:59:59-00:00",
"aggregationPeriodLength": 1,
"numberOfPeriods": 90,
"onlyRecordOnce": false,
"eventAggregationRule": "avg"
"analytics": [
{
"enabled": true,
"type": "ci",
"config": {
"server": "https://metrics.cleaninsights.org/cleaninsights.php",
"siteId": 14,
"timeout": 5,
"persistEveryNTimes": 1,
"debug": true,
"campaigns": {
"beta": {
"start": "2021-01-01T00:00:00-00:00",
"end": "2021-12-31T23:59:59-00:00",
"aggregationPeriodLength": 1,
"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;
case "matomo":
{
let engine = matomo.install(Vue, engineConfig.config);
this.engines.push(engine);
}
break;
{
let engine = matomo.install(Vue, engineConfig.config);
this.engines.push(engine);
}
break;
}
}
}