MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / screenView

Function screenView

packages/sdks/astro/index.ts:25–30  ·  view source on GitHub ↗
(
  pathOrProperties?: string | TrackProperties,
  propertiesOrUndefined?: TrackProperties,
)

Source from the content-addressed store, hash-verified

23export function screenView(properties?: TrackProperties): void;
24export function screenView(path: string, properties?: TrackProperties): void;
25export function screenView(
26 pathOrProperties?: string | TrackProperties,
27 propertiesOrUndefined?: TrackProperties,
28) {
29 window.op?.('screenView', pathOrProperties, propertiesOrUndefined);
30}
31
32export function identify(payload: IdentifyPayload) {
33 window.op?.('identify', payload);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected