Skip to content

Commit a207681

Browse files
authored
Fetching URL for qualtrics surveys (#105)
1 parent ab8fab0 commit a207681

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/partials/qualtrics-feedback.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
if(this.check()){
4545
var a=document.createElement("script");
4646
a.type="text/javascript";
47-
a.src=g;document.body&&document.body.appendChild(a)
47+
a.src=g + `?SourcePage=${encodeURIComponent(document.URL)}`;
48+
document.body&&document.body.appendChild(a)
4849
}
4950
};
5051

0 commit comments

Comments
 (0)