Branch is a mobile measurement partner that enables cross-device user identification and attribution for Rockerbox tracking.

Integration Setup

  1. Website Implementation
    • Install Branch Web SDK
    • Configure Branch initialization
    • Verify Rockerbox pixel detection
  2. Mobile App Setup
    • Implement Branch SDK
    • Configure webhooks
    • Set up event forwarding

Cross-Device Tracking

1. Supported Match Types

  • 100% match accuracy only
  • Web-to-app connections
  • App-to-web connections
  • Cross-platform identity

2. Identity Management

  • User identification
  • Device matching
  • Journey tracking
  • Attribution data

Implementation Methods

1. Web Integration

// Branch Web SDK Implementation
(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},"init");

// Initialize Branch
branch.init('YOUR_BRANCH_KEY');

2. App Integration

  • Configure Branch SDK
  • Set up deep linking
  • Enable user tracking
  • Configure webhooks

Event Types

1. Standard Events

  • App installs
  • Reinstalls
  • User identification
  • Deep linking events
  • Custom events

2. Marketing Events

  • Install attribution
  • Campaign tracking
  • Source attribution
  • Cross-platform events

Data Requirements

Required Fields

  • Branch key
  • User identifiers
  • Event data
  • Attribution data

Optional Fields

  • Custom parameters
  • Deep link data
  • Campaign information
  • User properties

Best Practices

  1. Implementation
    • Follow Branch SDK guidelines
    • Test cross-device tracking
    • Validate deep links
    • Monitor event flow
  2. Data Quality
    • Verify user matching
    • Test attribution
    • Check data accuracy
    • Monitor webhooks
  3. Maintenance
    • Regular SDK updates
    • Check integration health
    • Monitor event delivery
    • Update configurations