(kind: string, label?: string, value?: number)
| 7 | import {IndexScalar, IndexList, EAV, Record} from "./db" |
| 8 | |
| 9 | function analyticsEvent(kind: string, label?: string, value?: number) { |
| 10 | let ga = window["ga"]; |
| 11 | if(!ga) return; |
| 12 | |
| 13 | ga("send", "event", "ide", kind, label, value); |
| 14 | } |
| 15 | |
| 16 | //--------------------------------------------------------- |
| 17 | // Connect the websocket, send the ui code |