-
Notifications
You must be signed in to change notification settings - Fork 0
/
wide-element.html
54 lines (51 loc) · 2.67 KB
/
wide-element.html
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
<html>
<head>
<meta charset="utf-8">
<title>Ashuser Test Site</title>
<script>
(function(apiKey){
(function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=[];
v=['initialize','identify','updateOptions','pageLoad'];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://pendo-link-static.storage.googleapis.com/agent/static/'+apiKey+'/pendo.js';
z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo');
// Call this whenever information about your visitors becomes available
// Please use Strings, Numbers, or Bools for value types.
var visitorId;
if (typeof URLSearchParams !== 'undefined') {
var urlParams = new URLSearchParams(window.location.search);
visitorId = urlParams.get('visitorId');
}
pendo.initialize({
visitor: {
id: visitorId || 'anon', // Required if user is logged in
email: 'ashuser@pendo.io'
// email: // Optional
// 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: 'account' // Highly recommended
// name: // Optional
// 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.
},
parentAccount: {
id: 'parentAccount'
},
apiKey: '21c5eed2-1b98-4bd2-7077-7878cca79c15'
});
})('21c5eed2-1b98-4bd2-7077-7878cca79c15');
</script>
<link href="styles/style.css" rel="stylesheet" type="text/css">
</head>
<body style="width:2600px;">
<div class="tall-element" style="border:1px solid black; height: 300px; width: 2000px; margin: 300px;">
I'm a wide scrolly div, wide and scrolly.
</div>
</body>
</html>