-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (@jitsu/js): Preserve anonymous ID as a string and avoid parsing (#…
- Loading branch information
1 parent
66d528b
commit 61c168e
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
libs/jitsu-js/__tests__/playwright/cases/anonymous-id-bug.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<title>Tracking page</title> | ||
<script> | ||
window.testOnload = async j => { | ||
j.track("pageLoaded"); | ||
}; | ||
</script> | ||
<script | ||
type="text/javascript" | ||
src="<%=trackingBase%>/p.js" | ||
data-onload="testOnload" | ||
data-debug="true" | ||
defer | ||
></script> | ||
</head> | ||
|
||
<body> | ||
<h1>Test</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters