-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·42 lines (32 loc) · 1.15 KB
/
index.html
File metadata and controls
executable file
·42 lines (32 loc) · 1.15 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
<!doctype html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<canvas width="500" height="500" id="canvas" style="border:solid 1px red"></canvas>
<canvas width="500" height="500" id="canvas_kde" style="border:solid 1px red"></canvas>
<script src="http://localhost:3000/assets/sdk-test.js"></script>
<div>
<button onclick="on_off()">on/off unk</button>
<button onclick="fireerror()">fire error</button>
</div>
<script>
//unkAnalytics('ua_DT2kUINNsOtlRr4FLXwTzw', {debug : true });
unkAnalytics('ua_DT2kUINNsOtlRr4FLXwTzw');
// utm_source=google&utm_medium=organic&utm_campaign=organic
unkAnalytics.off();
fetch('https://jsonplaceholder.typicode.cxom/todoxxxxs/1')
.then(response => response.json())
.then(json => console.log(json));
document.getElementById('canvas').click();
document.getElementById('canvasx').addEventListener('xxxx');
var stateOn = false;
function on_off() {
stateOn ? unkAnalytics.off() : unkAnalytics.on();
stateOn = !stateOn;
console.log("stateOff ", stateOn)
}
</script>
</body>
</html>