Skip to content
Permalink
Newer
Older
100644 24 lines (21 sloc) 574 Bytes
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<title>ahoy.js</title>
Jun 10, 2014
5
6
<script src="dist/ahoy.js"></script>
7
<script>
Apr 16, 2020
8
// ahoy.configure({headers: {"test": "123"}})
Oct 22, 2016
10
// ahoy.trackView({hello: "world"});
Apr 16, 2020
13
// fetch("/fetch", {
14
// headers: {"Ahoy-Visit": ahoy.getVisitId(), "Ahoy-Visitor": ahoy.getVisitorId()}
15
// })
Apr 16, 2020
17
// ahoy.reset()
18
</script>
Jun 10, 2014
19
</head>
20
<body>
21
<a href="/" id="link1"><span>Link</span></a>
22
<a href="/" id="link2"><span>Link 2</span></a>
23
</body>
24
</html>