0.0.19 • Published 9 months ago
@heimdallr-sdk/hash v0.0.19
@heimdallr-sdk/hash
Capture the hash changes in the route, record from and to and report
Usage
cdn
<script src="[hash-dist]/hash.iife.js"></script>
<script>
window.__HEIMDALLR_OPTIONS__ = {
dsn: {
host: 'localhost:8888',
init: '/project/init',
upload: '/log/upload'
},
app: {
name: 'playgroundAPP',
leader: 'test',
desc: 'test proj'
},
plugins: [
HEIMDALLR_HASH(),
]
};
</script>
<script async src="/browser-dist/browser.iife.js"></script>
npm
import heimdallr from "@heimdallr-sdk/browser";
import hashPlugin from "@heimdallr-sdk/hash";
heimdallr({
dsn: {
host: 'localhost:8888',
init: '/project/init',
upload: '/log/upload'
},
app: {
name: 'playgroundAPP',
leader: 'test',
desc: 'test proj'
},
plugins: [
hashPlugin(),
]
});
上报数据
日志上报
字段名称 | 描述 |
---|---|
from | 跳转前地址 |
to | 目标地址 |
0.0.19
9 months ago
0.0.18
1 year ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.3
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.2
3 years ago
0.0.1
3 years ago