fix onboarding instructions
This commit is contained in:
@@ -64,13 +64,16 @@ const Instructions = ({ framework, client }: Props) => {
|
|||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<p>Copy the code below and insert it to you website</p>
|
<p>Copy the code below and insert it to you website</p>
|
||||||
<Syntax
|
<Syntax
|
||||||
code={`window.op = window.op||function(...args){(window.op.q=window.op.q||[]).push(args);};
|
code={`<script>
|
||||||
|
window.op = window.op||function(...args){(window.op.q=window.op.q||[]).push(args);};
|
||||||
window.op('init', {
|
window.op('init', {
|
||||||
clientId: '${clientId}',
|
clientId: '${clientId}',
|
||||||
trackScreenViews: true,
|
trackScreenViews: true,
|
||||||
trackOutgoingLinks: true,
|
trackOutgoingLinks: true,
|
||||||
trackAttributes: true,
|
trackAttributes: true,
|
||||||
});`}
|
});
|
||||||
|
</script>
|
||||||
|
<script src="https://openpanel.dev/op1.js" defer async></script>`}
|
||||||
/>
|
/>
|
||||||
<Alert>
|
<Alert>
|
||||||
<AlertDescription>
|
<AlertDescription>
|
||||||
|
|||||||
Reference in New Issue
Block a user