데이터 패칭 - 웹

에어브릿지 이벤트 구성에 필요한 데이터를 웹에서 수집합니다.

데이터 패칭하기

아래 내용을 참고해 주세요.

Airbridge의 브라우저 쿠키 식별자 입니다. (예시: 2bd08152-0fce-4d5e-8449-f4783b49a2c8)

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

User Agent

브라우저의 User Agent 입니다. (예시: 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)

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

Attribution

Airbridge 기여결과입니다. 식별자 형태이거나, 채널 및 캠페인 파라미터 형태입니다.

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

현재시간(Milliseconds) 입니다. (예시: 1580887691831)

Date.now()