Manage deferred deep linking, viral referral loops, and multi-channel attribution using Branch.io SDK in Nativine Builder.
Implement enterprise deep linking and mobile attribution with Branch.io. Nativine embeds native Branch SDKs, enabling deferred deep links, cross-platform user acquisition loops, Universal Links (iOS), and App Links (Android).
Branch.io is the leading linking platform for mobile apps. Nativine's native integration ensures seamless routing even when users install your app for the first time:
key_live_).To generate short links or read referring deep link params in JavaScript, call nativine.branch.getLatestReferringParams():
// Get referring parameters from deep link launch
nativine.branch.getLatestReferringParams({
callback: 'onBranchDeepLink'
});
function onBranchDeepLink(params) {
if (params['~referring_link']) {
console.log("User launched via link:", params['~referring_link']);
console.log("Promo Code:", params['promo_code']);
}
}
// Generate short deep link
nativine.branch.createShortUrl({
data: {
'$og_title': 'Join me on MyApp!',
'promo_code': 'SUMMER50'
},
callback: 'onUrlGenerated'
});
| Parameter | Type | Description |
|---|---|---|
data | object | Required. Key-value payload for custom open graph metadata and promo parameters. |
callback | string | Required. JS callback function receiving generated Branch URL string. |
Yes. Branch matches device fingerprint parameters so that when a user installs the app and launches it for the first time, the original target URL is passed to your web view.
Yes. Nativine automatically injects your Branch domain (e.g. applinks:myapp.app.link) into the iOS Entitlements.plist and Android assetlinks.json intent filters.