-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·61 lines (59 loc) · 1.67 KB
/
index.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
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div>
<div>
<div data-moni='{evt:click, test: 111}'>点击我会上报一条数据</div>
<div data-moni='{evt:click, test: "监控级别测试", level: 1, type: "哈哈哈哈"}'>监控级别测试</div>
<input type="submit" value="input 按钮测试">
</div>
<div>
<div>无埋点测试</div>
</div>
</div>
<script>
var bp = ZuiMonitor({
per: true,
jsErr: true,
appId: '12345',
appName: '测试系统',
level: '1',
tic: true,
baseUrl: 'http://10.200.82.24:80/workflow/fronted/ui/log/upload',
sendTimeGap: 6000,
compress: false
});
bp.external = {userId: 'yangpan', appId:'123'};
bp.user = {
yagpan: 1234,
lihai: '瞎写的',
userId: '12324',
userOrg: 14,
userExt: {
a: 1111,
b: 222
}
};
// console.log(bp.external);
// bp.page = 'index';
// 开启白名单
// BP.whiteList.push('0.0.0.0');
// BP.send('script');
</script>
<!-- <script>
// 前端错误监控测试
function makeError () {
var name = "geoff"
var msg = "Hi, " + Name
console.log(msg)
}
makeError()
</script> -->
</body>
</html>