-
Notifications
You must be signed in to change notification settings - Fork 1
/
vta.html
21 lines (20 loc) · 1.19 KB
/
vta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener applyCode autoAppIndex banner closeBanner closeJourney creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode trackCommerceEvent logEvent disableTracking".split(" "), 0);
branch.init('key_live_pbtE4dcavETgqI5C3M8n0eabADiL8rYZ', function(err, data) {
console.log(err, data);
if (err == null) {
document.getElementById("init_status").innerHTML = JSON.stringify(data);
} else {
document.getElementById("init_status").innerHTML = err;
}
});
</script>
</head>
<body>
<h1>View Through Attribution Test</h1>
<p id="init_status">Initializing...</p>
</body>
</html>