-
Notifications
You must be signed in to change notification settings - Fork 1
/
kochava2.html
24 lines (20 loc) · 1.27 KB
/
kochava2.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
<html>
<head>
<script>
!function(a,b,c,d,e){var f=window.kochava=window.kochava||[];if(f.loaded)return void(window.console&&console.error&&console.error("Kochava snippet already included"));f.loaded=!0,f.methods=["page","identify","activity","conversion","init"],stub=function(a){return function(){var b=Array.prototype.slice.call(arguments);return b.unshift(a),f.push(b),f}};for(var g=0;g<f.methods.length;g++){var h=f.methods[g];f[h]=stub(h)}f.init((new Date).getTime(),a,e),function(){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"assets.kochava.com/kochava.js/"+b+"/kochava.min.js",d||(a.src=a.src+"?c="+Math.random());var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c)}(),c&&f.page()}("kotestbed-ks0nyk","v1",true,false,true);
kochava.page('test_page', {
key: 'value'
}, null);
kochava.activity('test_event', {
key: 'value'
}, null);
kochava.identify('john', null);
</script>
</head>
<body>
<br/><br/><br/><br/><br/>
<a href="https://smart.link/5b5a30a35f083">Click through</a>
<br/><br/><br/><br/><br/>
<a href="https://smart.link/5b5a4e9569069">Clay's First Link</a>
</body>
</html>