MCPcopy
hub / github.com/pqoqubbw/icons / trackServer

Function trackServer

lib/server-analytics.ts:20–26  ·  view source on GitHub ↗
(name: string, properties?: TrackProperties)

Source from the content-addressed store, hash-verified

18};
19
20const trackServer = (name: string, properties?: TrackProperties) => {
21 const op = getClient();
22 if (!op) return;
23 op.track(name, properties).catch(() => {
24 /* swallow analytics errors */
25 });
26};
27
28const SERVER_EVENT = {
29 MARKDOWN_VIEW: "markdown-view",

Callers 6

GETFunction · 0.90
GETFunction · 0.90
GETFunction · 0.90
buildServerFunction · 0.90
GETFunction · 0.90
GETFunction · 0.90

Calls 1

getClientFunction · 0.85

Tested by

no test coverage detected