Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 2.94 KB

File metadata and controls

99 lines (76 loc) · 2.94 KB

Airbridge Example

English | 한국어

Clone this repo and run the sample app to see how the Airbridge SDK works — before writing any production code.

Platforms

Platform Get Started
Android Android Guide →
iOS (SceneDelegate) iOS SceneDelegate Guide →
iOS (SwiftUI) iOS SwiftUI Guide →
Web (React) Web Guide →

What the Sample Apps Cover

SDK Initialization

flowchart LR
    U([👤 User]) -->|opens & initializes| APP
    subgraph APP[📱 App]
      direction LR
      SDK[📦 Airbridge SDK] -. auto-collect .-> E[(📨 Install · Open)]
    end
    style APP fill:#fff3b0,stroke:#d4a017,stroke-width:2px
Loading

Install and initialize the Airbridge SDK. Once initialized, the SDK automatically collects basic events such as app installs and Open.

Deeplink

flowchart LR
    L[🔗 Tracking Link] -->|click| AB{🛰️ Airbridge}
    AB -->|app installed| APP
    AB -->|not installed| STORE[🏪 App Store]
    STORE -. "deferred<br/>deeplink" .-> APP
    subgraph APP[📱 App]
      direction LR
      SDK[📦 Airbridge SDK] --> OPEN[📱 Destination screen]
    end
    style APP fill:#fff3b0,stroke:#d4a017,stroke-width:2px
Loading

Airbridge converts the scheme deeplink configured in the tracking link into the optimal format for each user's environment, directing them to the app. Even if the app is not installed, users are taken to the destination screen after installation (deferred deeplink).

Event Tracking

flowchart LR
    U([👤 User])
    subgraph APP[📱 App]
      direction LR
      ACT["user action<br/>(purchase / add to cart)"] --> SDK[📦 Airbridge SDK]
      SDK --> S[📊 Standard Event]
      SDK --> C[✨ Custom Event]
    end
    U --> ACT
    S --> AB[(📈 Airbridge server)]
    C --> AB
    style APP fill:#fff3b0,stroke:#d4a017,stroke-width:2px
Loading

Record user actions such as purchases and cart additions as events. You can use Airbridge's predefined Standard events or define your own Custom events.

Hybrid WebView Event Tracking

flowchart LR
    U([👤 User])
    subgraph APP[📱 App]
      direction TB
      subgraph WV[🌐 In-app WebView]
        ACT["user action<br/>(purchase / add to cart)"] --> WEB[📦 Web SDK]
      end
      NAT[📦 App SDK]
      WEB -. bridge .-> NAT
    end
    U --> ACT
    NAT --> SRV[(📈 Airbridge server)]
    style APP fill:#fff3b0,stroke:#d4a017,stroke-width:2px
Loading

Forward events from an in-app WebView to the App SDK. A bridge between the Web SDK and the App SDK ensures unified data collection.


See each platform guide for code examples and step-by-step instructions.

Official Documentation


© Airbridge