-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestzdmsg.html
More file actions
81 lines (72 loc) · 3.61 KB
/
testzdmsg.html
File metadata and controls
81 lines (72 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<title>Testing out this thing</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="styles/styles.css" />
<script
src="https://code.jquery.com/jquery-3.7.0.min.js"
integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g="
crossorigin="anonymous"></script>
<!-- Pendo -->
<script>
(function(apiKey){
(function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=o._q||[];
v=['initialize','identify','updateOptions','pageLoad','track'];for(w=0,x=v.length;w<x;++w)(function(m){
o[m]=o[m]||function(){o._q[m===v[0]?'unshift':'push']([m].concat([].slice.call(arguments,0)));};})(v[w]);
y=e.createElement(n);y.async=!0;y.src='https://cdn.pendo.io/agent/static/'+apiKey+'/pendo.js';
z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo');
userID = '';
accountID = '';
pendo.initialize({
visitor: {
id: userID // Required if user is logged in
// email: // Recommended if using Pendo Feedback, or NPS Email
// full_name: // Recommended if using Pendo Feedback
// role: // Optional
// You can add any additional visitor level key-values here,
// as long as it's not one of the above reserved names.
},
account: {
id: accountID // Required if using Pendo Feedback
// name: // Optional
// is_paying: // Recommended if using Pendo Feedback
// monthly_value:// Recommended if using Pendo Feedback
// planLevel: // Optional
// planPrice: // Optional
// creationDate: // Optional
// You can add any additional account level key-values here,
// as long as it's not one of the above reserved names.
},
});
})('6334f7c3-b075-4e68-55ac-e313c9ebe3ff');
</script>
<!-- end pendo -->
</head>
<body id = 'zdtest'>
<h1>BURGER</h1>
<!-- Zendesk -->
<!-- Start of d3v-mapleymap Zendesk Widget script -->
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=8bf5673c-b666-4833-b2e0-d78615c9feaf"> </script>
<script>
window.onload = function(){
const conversationBadge = document.querySelector('#myLauncher')
// on page load always close widget
zE('messenger', 'close');
//document.querySelector('#myLauncher').style.opacity = 1;
conversationBadge.onclick = () => {
// open widget
zE('messenger', 'open');
//document.querySelector('#myLauncher').style.opacity = 0;
// reset unread indicator
}
};
</script>
<!-- End of d3v-mapleymap Zendesk Widget script -->
<!-- Try this: https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/web/messaging-web-widget-qs/ -->
<div id='myLauncher'>
<img src="burger.svg" class="image">
</div>
</body>
</html>