9 lines
283 B
Plaintext
9 lines
283 B
Plaintext
---
|
|
import type { IdentifyPayload } from '@openpanel/web';
|
|
import { filterProps } from './asto-utils';
|
|
interface Props extends IdentifyPayload {}
|
|
|
|
const props = Astro.props as Props;
|
|
---
|
|
|
|
<script is:inline set:html={`window.op('identify', ${JSON.stringify(filterProps(props))});`} /> |