Last active
November 18, 2015 00:40
-
-
Save aaustin/4cdd97441f799a133c24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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-v1.8.0.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 setIdentity track validateCode".split(" "), 0); | |
branch.init('YOUR-BRANCH-KEY'); | |
branch.deepview( | |
{ | |
'channel': 'mobile_web', | |
'feature': 'deepview', | |
data : { | |
'$deeplink_path': 'page/1234', | |
'user_cookie_id': '7890', | |
'page_id': '1234', | |
} | |
}, | |
{ | |
'open_app': true | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment