> ## Documentation Index
> Fetch the complete documentation index at: https://help.airbridge.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Fetching Guide for Web

## Cookie ID

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

<CodeGroup>
  ```javascript JavaScript lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  airbridge.fetchResource(function(resource) {
      console.log(resource.browser.clientID)
  })
  ```
</CodeGroup>

## 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)

<CodeGroup>
  ```javascript JavaScript lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  airbridge.fetchResource(function(resource) {
      console.log(resource.browser.userAgent)
  })
  ```
</CodeGroup>

## Attribution

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

<CodeGroup>
  ```javascript JavaScript lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  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)
  })
  ```
</CodeGroup>

## Event Timestamp

Current time(Milliseconds). (example: 1580887691831)

<CodeGroup>
  ```javascript JavaScript lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  Date.now()
  ```
</CodeGroup>

<link rel="alternate" hrefLang="en" href="https://help.airbridge.io/en/developers/fetching-guide-for-web-sdk" />

<link rel="alternate" hrefLang="ko" href="https://help.airbridge.io/ko/developers/fetching-guide-for-web-sdk" />
