-
Notifications
You must be signed in to change notification settings - Fork 1
/
banner.html
33 lines (32 loc) · 1.8 KB
/
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
<html>
<head>
<title> Banner Test</title>
<!-- <meta name="apple-itunes-app" content="app-id=917737838"> -->
</head>
<body>
<h1> Journeys Test </h1>
<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 autoAppIndex banner closeBanner closeJourney creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode trackCommerceEvent".split(" "), 0);
//branch.init('key_live_kdyN8y9gPZecHJYZJhFEFmpfsxeMaG2X', { 'make_new_link' : true });
//branch.init('key_live_kdyN8y9gPZecHJYZJhFEFmpfsxeMaG2X');
branch.init('key_live_josS8XQjiiSEp8XAEfOymdpdusaRIdAM');
branch.banner(
{
icon: 'http://icons.iconarchive.com/icons/wineass/ios7-redesign/512/Appstore-icon.png',
title: 'Demo App',
description: 'Branch Demo app!',
openAppButtonText: 'Open',
downloadAppButtonText: 'Download',
reviewCount: 1000, // Review count
rating: 5, // Average rating from 0 to 5 in increments of .5
iframe: true, // Show banner in an iframe if CSS on your page is conflicting
showMobile: true, // true by default, just set here for an example
showDesktop: true, // true by default, just set here for an example
disableHide: false, // false by default, just set here for an example
forgetHide: false // false by default, just set here for an example
}, // Banner Options
{ feature: "myfeature", data: {"mykey": "myval"}}
);
</script>
</body>
</html>