docs: add defer for website inject code
This commit is contained in:
parent
7f014b539e
commit
1c089cd39e
@ -113,7 +113,7 @@ const WebsiteListTable: React.FC<{ workspaceId: string }> = React.memo(
|
||||
{
|
||||
key: 'action',
|
||||
render: (_, record) => {
|
||||
const trackScript = `<script async src="${location.origin}/tracker.js" data-website-id="${record.id}"></script>`;
|
||||
const trackScript = `<script async defer src="${location.origin}/tracker.js" data-website-id="${record.id}"></script>`;
|
||||
|
||||
return (
|
||||
<div className="flex gap-2 justify-end">
|
||||
|
Loading…
Reference in New Issue
Block a user