Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
vietredweb committed Jun 4, 2024
1 parent 894c012 commit 485748b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const endTrackerVisibilityState = (endPoint: string) => {
endTracker(endPoint, window['event_uuid'], window['visitor_uuid']);
}
if (document.visibilityState === 'visible') {
const response = await startTracker(endPoint);
const response = await startTracker(endPoint, '', '','', window['attributes']);
window['event_uuid'] = response?.event_uuid;
}
});
Expand Down

0 comments on commit 485748b

Please sign in to comment.