telemetry#
optionoav-p5?oav_telemetry=off | on
Whether the on-screen controller may send one anonymous page-load count to the project: off or on.
In oav-p5 it is off. With on, when the 🎹 panel builds the on-screen controller, @openav/midi sends one anonymous hit per page load to the project's Google Analytics, so the project can see where its controllers end up. The @openav/midi README (section Telemetry) lists exactly what it sends: the kind of embed, the profile, the page's origin (never the path, query or title) and the version. Nothing anyone plays is sent and no cookie is set.
- Type
String- Values
off | on- default
off
Only on turns it on.
Notes
- According to that README nothing is sent from localhost, local network addresses,
file://or openaudiovisual.com itself, or when the browser sends Do Not Track or Global Privacy Control. - Set it before oav-p5 loads.
window.OAV_P5 = { telemetry: … };above the loader line wins, then?oav_telemetry=…on the page address, then?telemetry=…on the script's own URL. Values inwindow.OAV_P5are turned into text, so write'off', notfalse. On OpenProcessing the page address takes?sketch_oav_telemetry=…(the project's README says OpenProcessing forwards it to the sketch).
Examples
window.OAV_P5 = { telemetry: 'on' };
function setup() {
createCanvas(400, 300);
}
function draw() {
background(20);
fill(255);
text('telemetry: ' + OAVp5.options.telemetry, 20, 30); // nothing visible changes
}To be confirmed
The hit itself was not observed here: the example runs on localhost, where nothing is sent. What it sends is as stated in the @openav/midi README.