Skip to content

Commit aa5aed4

Browse files
authored
Merge pull request #32 from dubinc/track-url
Track URL (`window.location.href`)
2 parents 8878467 + 1fb4cba commit aa5aed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/script/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
body: JSON.stringify({
165165
domain: shortDomain,
166166
key: identifier,
167+
url: window.location.href,
167168
}),
168169
}).then(async (res) => {
169170
if (!res.ok) {

0 commit comments

Comments
 (0)