연동 이벤트
Server-to-server 연동이 구현된 End-Point는 이벤트 데이터가 없이 전송된 데이터는 처리하지 않습니다. 즉, SESSION 데이터 그룹만 보내지는, 요청에는 아무런 응답을 하지 않으며, 반드시 logEvent, 또는 logPurchase 와 관련된 데이터가 포함되어 있어야 합니다.
1. 인앱 이벤트 데이터 전송 ( DOT.logEvent 에 대한 처리 )
curl -X POST https://trk.analytics.wisetracker.co.kr/s2s/v1/s2sDataRcv.do
-H "Content-Type:application/json"
-H "authToken:<SERVICE-ACCESS-TOKEN>"
-d '{
"SESSION":{
"vtTz": <unix time>, // required, current time
"_wtno": <SERVICE_NUMBER>, // required
"advtId":"12D9505B-A48E-410A-8787-75BF39DA82F5", // required, ADID/IDFA
"dSource":"SDK", // required, "SDK" or "Website" ( Reserved text )
"plat":"IOS" // required, "AOS" or "IOS" ( Reserved text )
},
"GOAL":{
"vtTz":1620693013341, // required, current time
"signupTp":"email",
"event":"w_signup_complete"
}
}'Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_signup_complete");
eventMap.put("signupTp", "email");
DOT.logEvent(eventMap);2. 구매 이벤트 데이터 전송 ( DOT.logPurchase 에 대한 처리 )
Last updated
Was this helpful?