• Developer Guide
  • Data Fetching Guide

Data Fetching Guide for Web

Browser cookie identifier by Airbridge. (example: 2bd08152-0fce-4d5e-8449-f4783b49a2c8)

123
airbridge.fetchResource(function(resource) {
    console.log(resource.browser.clientID)
})

User Agent

Browser's User Agent. (example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36)

123
airbridge.fetchResource(function(resource) {
    console.log(resource.browser.userAgent)
})

Attribution

Attribution result of Airbridge. It can be identifier form or channel & campaign parameter form.

1234567
airbridge.fetchResource(function(resource) {
    // Identifier
    console.log(resource.attributionData.shortID)
    // Channel & Campaign Parameter
    console.log(res.attributionData.trackingData.channel)
    console.log(res.attributionData.trackingData.params)
})

Event Timestamp

Current time(Milliseconds). (example: 1580887691831)

1
Date.now()

Was this page helpful?

Have any questions or suggestions?