-
Notifications
You must be signed in to change notification settings - Fork 3
/
beta-deepview.html
58 lines (52 loc) · 2.13 KB
/
beta-deepview.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<title> Web SDK Deepview</title>
<style type="text/css" media="screen">
* { margin: 0; padding: 0; box-sizing: border-box; color: #212121; text-align: center; border: none;}
body { background-color: #fafafa; border-top: 0.5em solid #212121; }
a { text-decoration: none; color: #03a9f4; }
img {max-width: 90%}
button {padding: 1em; margin: 0.5em; width: 90%; max-width: 25em; background-color: #212121; color: #ffffff; font-size: 1em;}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
(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="beta-websdk1.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 banner closeBanner creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setIdentity track validateCode".split(" "), 0);
branch.init('key_live_ccAmApSLfgIz96PkRr185dnjxCmQozXA'); // --> Ahmed Beta Test
// branch.init('key_live_oeCn7w7yec3d2fKSWzDUKaceFynfXGUI'); // EO Test App
</script>
</head>
<body>
<p> Branch Key being used: key_live_ccAmApSLfgIz96PkRr185dnjxCmQozXA (Ahmed Beta Test)</p>
<br/><br/>
Web SDK Deepview
<br/> <br/>
<a href="#" onclick='branch.deepviewCta();'> I Am the CTA! </a>
<br/> <br/>
<br/> <br/>
<br/> <br/>
<a href="https://kiih-ahmed.branchbeta.link/"> Enable Me</a>
<br/> <br/>
<br/> <br/>
<br/> <br/>
<a href = "#" onclick='sendMyLinkAsSMS();'> Send Me to your Phone! </a>
</body>
<script type="text/javascript">
branch.deepview(
{
// data: { '$uri_redirect_mode' : 1 }
},
{
'open_app': true // If true, Branch attempts to open your app immediately when the page loads. If false, users will need to press a button. Defaults to true
});
function sendMyLinkAsSMS() {
branch.sendSMS(
'6692648210',
{},
{},
null
);
}
</script>
</html>