diff --git a/lib/Telemetry.js b/lib/Telemetry.js index 7d5d022..46e2bf0 100644 --- a/lib/Telemetry.js +++ b/lib/Telemetry.js @@ -5,6 +5,17 @@ const TelemetryDimensions = require('/assets/json/telemetryDimensions.json'); const http = require('http.min'); const util = require('util'); +/* + /assets/json/telemetryDimensions.json must contain at least: + ["-" + "App version", + "Homey firmware version", + "Debug mode" + ] + + These value locations (in this case, 1, 2 and 3) must also be defined as Matomo Custom Dimensions (type 'Visit') with corresponding ID's. +*/ + module.exports = class Telemetry extends Homey.SimpleClass { constructor({ host,