-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
41 lines (41 loc) · 1.11 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script>
!(function () {
window.unify ||
(window.unify = Object.assign(
[],
[
'identify',
'page',
'startAutoPage',
'stopAutoPage',
'startAutoIdentify',
'stopAutoIdentify',
].reduce(function (acc, m) {
acc[m] = function () {
unify.push([m, [].slice.call(arguments)]);
return unify;
};
return acc;
}, {}),
));
var s = document.createElement('script');
s.async = !0;
s.setAttribute('src', 'dist/js/browser/index.min.js');
s.setAttribute(
'data-api-key',
'wk_5fTtsDLJ_7vx9DsjPcr79yk4FweES727w59pxS8EJ',
);
s.setAttribute('id', 'unifytag');
(document.body || document.head).appendChild(s);
})();
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>