Skip to content

Commit

Permalink
Add description of minimum needed telemetryDimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Joolee committed Feb 26, 2022
1 parent 50b58b1 commit a1f77e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a1f77e0

Please sign in to comment.