Skip to content

Commit 55d368f

Browse files
committed
(wip) feat: added qualtrics survey to our product pages. still need to place the survey in correct spot
1 parent 7826d99 commit 55d368f

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

layouts/_default/baseof.html

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
</div>
5959

60+
{{ partial "qualtrics-feedback.html" }}
6061
<footer>
6162

6263
{{ block "footer" . }}

layouts/partials/meta.html

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
https://cdn.bizible.com/xdc.js
5353
https://f5networksglobalprod.122.2o7.net/
5454
https://f5networksnginxdocs.122.2o7.net/
55+
https://zn2yg73ads2zp5bn0-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2YG73ads2zp5bN0
56+
https://siteintercept.qualtrics.com/
5557
{{ if in .Params.doctypes "devportal" }} 'unsafe-eval' {{end}};
5658
worker-src 'self' blob:">
5759
{{/* end */}}
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
2+
<script type='text/javascript'>
3+
(function(){var g=function(e,h,f,g){
4+
this.get=function(a){
5+
for(var a=a+"=",c=document.cookie.split(";"),b=0,e=c.length;b<e;b++){
6+
for(var d=c[b];" "==d.charAt(0);)
7+
d=d.substring(1,d.length);
8+
if(0==d.indexOf(a))
9+
return d.substring(a.length,d.length)
10+
}
11+
return null
12+
};
13+
14+
this.set=function(a,c){
15+
var b="",b=new Date;
16+
b.setTime(b.getTime()+6048E5);
17+
b="; expires="+b.toGMTString();
18+
document.cookie=a+"="+c+b+"; path=/; "
19+
};
20+
21+
this.check=function(){
22+
var a=this.get(f);
23+
if(a)
24+
a=a.split(":");
25+
else if(100!=e)
26+
"v"==h&&(e=Math.random()>=e/100?0:100),
27+
a=[h,e,0],
28+
this.set(f,a.join(":"));
29+
else
30+
return!0;
31+
var c=a[1];
32+
if(100==c)
33+
return!0;
34+
switch(a[0]){
35+
case "v":
36+
return!1;
37+
case "r":
38+
return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(":")),!c
39+
}
40+
return!0
41+
};
42+
43+
this.go=function(){
44+
if(this.check()){
45+
var a=document.createElement("script");
46+
a.type="text/javascript";
47+
a.src=g;document.body&&document.body.appendChild(a)
48+
}
49+
};
50+
51+
this.start=function(){
52+
var t=this;
53+
"complete"!==document.readyState?window.addEventListener ?
54+
window.addEventListener("load",function(){t.go()},!1) :
55+
window.attachEvent&&window.attachEvent("onload",function(){t.go()}):t.go()};};
56+
try{
57+
(new g(100,"r","QSI_S_ZN_2YG73ads2zp5bN0","https://zn2yg73ads2zp5bn0-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2YG73ads2zp5bN0")).start()
58+
}
59+
catch(i){}})();
60+
</script>
61+
<div id='ZN_2YG73ads2zp5bN0'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
62+
<!--END WEBSITE FEEDBACK SNIPPET-->

0 commit comments

Comments
 (0)