Branch

Branch

Mobile attribution and deep linking platform used by apps with a web presence. The Branch.io web SDK tracks campaign clicks and attributes app installs back to the originating web touchpoint. Also enables deferred deep linking so that users who install an app after clicking a web link are routed to the correct in-app content.

Overview

Branch (Branch.io) is a mobile measurement and deep linking platform used by app developers to bridge the gap between web and mobile app experiences. The platform's two core capabilities are mobile attribution — connecting web marketing campaigns to app installs and in-app events — and deep linking — routing users from web links through the app installation process directly to specific in-app content, even for users who do not yet have the app installed (deferred deep linking).

Branch is widely used by mobile app companies with a significant web marketing presence — SaaS products, e-commerce apps, media apps, and consumer apps that want to measure which web campaigns drive app installs and post-install conversions.

What This Script Does

The Branch Web SDK (cdn.branch.io/branch-latest.min.js) deploys on web landing pages and attribution measurement pages:

Campaign click tracking: When a visitor arrives from a paid campaign link (typically a Branch smart link), the SDK captures the click parameters — campaign name, ad group, creative, and channel. These parameters are stored in a first-party cookie and transmitted to Branch's servers to record the attribution touchpoint. Cookie names include branch_session and branch_session_first, which persist for 7 days by default.

Fingerprint-based attribution: For scenarios where cookies are blocked or unavailable, Branch uses probabilistic fingerprinting — collecting device signals (IP address, user agent, screen dimensions, browser language, timezone) to create a probabilistic device identifier for attribution matching. This fingerprint is compared against app install events reported by the Branch mobile SDK to attribute installs without cookies.

App store redirect and deferred deep linking: Branch smart links detect the visitor's device OS and redirect them to the appropriate app store (Google Play or Apple App Store). After installation, the Branch mobile SDK retrieves the deferred deep link data — the specific in-app destination the web visitor originally clicked toward — and navigates the user to that content on first app launch.

Conversion event tracking: The SDK fires conversion events (e.g., registration completed, purchase completed, content viewed) on web pages that follow app installs, enabling Branch to report post-install conversion rates attributed to each campaign.

Cross-device identity matching: If the user is authenticated, Branch can link the web cookie identifier to the in-app user identifier, building a cross-device view of the customer journey from web ad click through app install to in-app conversion.

Consent & Compliance

Branch is an analytics and marketing attribution tool with significant cross-device tracking implications:

  • GDPR / ePrivacy: The attribution cookies (branch_session, branch_session_first) require prior opt-in consent under the ePrivacy Directive. The probabilistic fingerprinting component — collecting device signals to create a unique identifier for attribution — constitutes processing of personal data under GDPR and requires consent. Cross-device identity linking is particularly sensitive under GDPR Article 22 (automated decision-making and profiling).
  • IAB TCF purposes: Branch's processing maps to IAB TCF Purpose 1 (Store/access device information), Purpose 7 (Measure ad performance), and Purpose 9 (Apply market research to generate audience insights).
  • CCPA: Attribution data linking web behavior to app install and in-app events constitutes personal information. Sharing this with advertising networks for campaign measurement may qualify as a "sale" or "sharing" under CCPA.
  • EU-US transfers: Branch is a US-based company. Branch participates in the EU-US Data Privacy Framework for transatlantic personal data transfers.

Should You Block This Without Consent?

Yes. Branch tracks users across the web-to-app funnel using persistent attribution cookies and probabilistic fingerprinting. This is marketing attribution technology that requires explicit consent under GDPR and ePrivacy before activation.

Visit website

Products (1)

Consent Categories

Analytics
Marketing

Also Known As

Branch.iobranch SDKmobile attributiondeep linkingapp install trackingdeferred deep link

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (3)

app.linkMarketing
branch.ioMarketing
cdn.branch.ioMarketing

Frequently Asked Questions

Is consent required before loading the Branch.io SDK?

Yes. The Branch Web SDK sets persistent attribution cookies and performs probabilistic device fingerprinting to attribute app installs to web marketing campaigns. This cross-device tracking for advertising measurement requires explicit consent under GDPR and ePrivacy.

What data does Branch collect when a visitor arrives via a smart link?

Branch captures campaign source, ad channel, creative, and click timestamp into branch_session cookies. For cookieless attribution, it collects IP address, user agent, screen dimensions, language, and timezone to build a probabilistic device fingerprint matched against app install records.

How does ConsentStack manage Branch.io on a website?

ConsentStack blocks Branch until marketing consent is obtained. Given that Branch uses persistent cookies and probabilistic fingerprinting to track visitors from web through app install, ConsentStack enforces consent gating to ensure attribution data is collected lawfully.

Related Vendors

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.

Manage consent for Branch

ConsentStack automatically detects and manages Branch trackers so your site stays compliant with global privacy regulations.