-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
47 lines (47 loc) · 1.21 KB
/
example.html
File metadata and controls
47 lines (47 loc) · 1.21 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
43
44
45
46
47
<html>
<head>
<title>Example for Dingolytics SDK</title>
<script src="dist/index.min.js"></script>
<script>
var dingolytics = new DingolyticsSDK({
app: "example",
dsn: "http://localhost:8080/ingest/1234567890abcdef",
debug: true,
// autoTrackEvents: ["page_view"],
autoTrackEvents: ["_history", "page_view", "document_download", "external_link", "form_submit"],
});
dingolytics.setUser("1234567890abcdef")
dingolytics.init();
</script>
</head>
<body>
<a name="welcome"></a>
<h1>Example for Dingolytics Tracker</h1>
<p>
This is an example for Dingolytics SDK based views and clicks tracker.
</p>
<p>
Internal link example:
<a href="example.html">
Home page
</a>
</p>
<p>
External link example:
<a href="https://www.dingolytics.com/" target="_blank">
www.dingolytics.com
</a>
</p>
<p>
<a name="examples"></a>
Anchor links example:
<a href="#welcome">#welcome</a>
|
<a href="#examples">#examples</a>
</p>
<p>
Download example:
<a href="example.pdf" target="_blank">
Download example.pdf
</p>
</html>