MCPcopy Create free account
hub / github.com/witheve/Eve / analyticsEvent

Function analyticsEvent

src/client.ts:9–14  ·  view source on GitHub ↗
(kind: string, label?: string, value?: number)

Source from the content-addressed store, hash-verified

7import {IndexScalar, IndexList, EAV, Record} from "./db"
8
9function 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

Callers 1

initIDEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected