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

Function IdentifyComponent

packages/sdks/nextjs/index.tsx:105–113  ·  view source on GitHub ↗
(props: IdentifyComponentProps)

Source from the content-addressed store, hash-verified

103type IdentifyComponentProps = IdentifyPayload;
104
105export function IdentifyComponent(props: IdentifyComponentProps) {
106 return (
107 <Script
108 dangerouslySetInnerHTML={{
109 __html: `window.op('identify', ${JSON.stringify(props)});`,
110 }}
111 />
112 );
113}
114
115export function SetGlobalPropertiesComponent(props: Record<string, unknown>) {
116 return (

Callers

nothing calls this directly

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected