Skip to content

Commit 8aeb82b

Browse files
committed
chore: Refactored code cleaner
1 parent 04b3569 commit 8aeb82b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

layouts/partials/qualtrics-feedback.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@
5656
window.attachEvent&&window.attachEvent("onload",function(){t.go()}):t.go()};
5757
};
5858

59-
try{
60-
(new g(100,"r", window.location.hostname.includes("staging") ? "QSI_S_ZN_2YG73ads2zp5bN0" : "QSI_S_ZN_2QSTn2r41YlXrYk", window.location.hostname.includes("staging") ? "https://zn2yg73ads2zp5bn0-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2YG73ads2zp5bN0" : "https://zn2qstn2r41ylxryk-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2QSTn2r41YlXrYk")).start()
59+
try{
60+
const project_id = window.location.hostname.includes("staging") ? "QSI_S_ZN_2YG73ads2zp5bN0" : "QSI_S_ZN_2QSTn2r41YlXrYk";
61+
const endpoint = window.location.hostname.includes("staging") ? "https://zn2yg73ads2zp5bn0-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2YG73ads2zp5bN0" : "https://zn2qstn2r41ylxryk-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2QSTn2r41YlXrYk";
62+
(new g(100,"r", project_id, endpoint)).start()
6163
}
6264
catch(i){}})();
6365

0 commit comments

Comments
 (0)