-
Notifications
You must be signed in to change notification settings - Fork 3
/
smart-banner.html
43 lines (35 loc) · 1.85 KB
/
smart-banner.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
<!doctype html>
<html>
<head>
<!-- meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Branch SmartBanner</title>
<meta name="viewport" content="width=device-width">
</head>
<body>
<!-- content -->
<header>
Journeys
</header>
<!-- branch -->
</body>
<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="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 banner closeBanner creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode".split(" "), 0);
//branch.init('key_live_cap6mk1SR0KpqRxGJB7pefbbFEbUjxp4', function(err, data) {
branch.init('key_live_gimC2ehxzwjHcbyQzXQxfdmpvzcgkwsC', function(err, data) { // Appsolutely
// callback to handle err or data
});
// branch.banner({
// icon: 'http://icons.iconarchive.com/icons/wineass/ios7-redesign/512/Appstore-icon.png',
// title: 'Branch Demo App',
// description: 'The Branch demo app!',
// rating: 5, // Displays a star rating out of 5. Supports half stars through increments of .5
// reviewCount: 1500, // Amount of reviews your app has received next to the star rating
// openAppButtonText: 'Open', // Text to show on button if the user has the app installed
// downloadAppButtonText: 'Download' // Text to show on button if the user does not have the app installed
// }, {
// data: { '$ios_passive_deepview': 'false' }
// });
</script>
</html>