Mobility : ๋ชจ๋นŒ๋ฆฌํ‹ฐ

๋ชจ๋นŒ๋ฆฌํ‹ฐ ์•ฑ์—์„œ ์ธก์ •์„ ๊ถŒ์žฅํ•˜๋Š” ์ธ์•ฑ ์ด๋ฒคํŠธ API์™€ ์ ์šฉ ์˜ˆ์‹œ๋ฅผ ์•ˆ๋‚ดํ•ฉ๋‹ˆ๋‹ค.

โ˜‘๏ธ์†์„ฑ ์ค‘ Key ์ด๋ฆ„์€ ๊ฐ€์ด๋“œ์— ๋‚˜์™€์žˆ๋Š” Key ์ด๋ฆ„์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉ ํ•ด ์ฃผ์„ธ์š”. (์ž„์˜๋กœ ๋ณ€๊ฒฝ์‹œ ๋Œ€์‹œ๋ณด๋“œ์—์„œ ๋ฐ์ดํ„ฐ ํ™•์ธ์ด ์–ด๋ ต์Šต๋‹ˆ๋‹ค. > car_name, car_type ๋“ฑ)

์ฐจ๋Ÿ‰ ๋“ฑ๋ก

์ฐจ๋Ÿ‰์ด ๋“ฑ๋ก๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

car_name

๋ ˆ์ด

string

์ฐจ๋Ÿ‰ ๋ช…์นญ

car_type

์†Œํ˜•

string

์ฐจ๋Ÿ‰ ์œ ํ˜•

car_subtype_a

ํ•˜์ดํŒจ์Šค

string

์ฐจ๋Ÿ‰ ๊ธฐํƒ€ ์†์„ฑ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_add_car_info");
eventMap.put("car_name", "๋ ˆ์ด");
eventMap.put("car_type", "์†Œํ˜•");
eventMap.put("car_subtype_a", "ํ•˜์ดํŒจ์Šค");
DOT.logEvent(eventMap);

๋ถ๋งˆํฌ ๋“ฑ๋ก

ํŠน์ • ์œ„์น˜๊ฐ€ ๋ถ๋งˆํฌ๋กœ ๋“ฑ๋ก๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

bookmark_type

์ง‘

string

๋ถ๋งˆํฌ ๋ช…์นญ ๋˜๋Š” ์œ ํ˜•

city

์„œ์šธ์‹œ

string

๋“ฑ๋ก๋œ ์œ„์น˜์˜ ๋„์‹œ ์ •๋ณด

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_bookmarked");
eventMap.put("bookmark_type", "์ง‘");
eventMap.put("city", "์„œ์šธ์‹œ");
DOT.logEvent(eventMap);

๊ฒฐ์ œ ์ˆ˜๋‹จ ๋“ฑ๋ก

๊ฒฐ์ œ ์ˆ˜๋‹จ์ด ๋“ฑ๋ก ์™„๋ฃŒ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

payment_name

ํ˜„๋Œ€์นด๋“œ

string

๊ฒฐ์ œ์ˆ˜๋‹จ ๋ช…์นญ

payment_type

์‹ ์šฉ์นด๋“œ

string

๊ฒฐ์ œ์ˆ˜๋‹จ ์œ ํ˜•

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_add_payment_info");
eventMap.put("payment_name", "ํ˜„๋Œ€์นด๋“œ");
eventMap.put("payment_type", "์‹ ์šฉ์นด๋“œ");
DOT.logEvent(eventMap);

๋ชฉ์ ์ง€ ๊ฒ€์ƒ‰

๋ชฉ์ ์ง€ ๊ฒ€์ƒ‰์ด ์™„๋ฃŒ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ถœ๋ฐœ ์ง€์—ญ

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

๋„์ฐฉ ์ง€์—ญ

g20

2

float

๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๋กœ ์ถœ๋ ฅ๋œ ์•„์ดํ…œ ๊ฐœ์ˆ˜

์ถœ๋ฐœ์ง€์™€ ๋ชฉ์ ์ง€๋ฅผ ํ•จ๊ป˜ ๊ฒ€์ƒ‰ํ•˜๋Š” ๊ฒฝ์šฐ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_search_destination");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("g20", 2);
DOT.logEvent(eventMap);

๋ชฉ์ ์ง€๋งŒ ๊ฒ€์ƒ‰ํ•˜๋Š” ๊ฒฝ์šฐ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_search_destination");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("g20", 2);
DOT.logEvent(eventMap);

์ฐจ๋Ÿ‰ ํ˜ธ์ถœ

์ฐจ๋Ÿ‰ ํ˜ธ์ถœ์ด ์™„๋ฃŒ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•˜๋Š” ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•  ์ง€์—ญ๋ช…

distance

5.8

float

๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ

city

์„œ์šธ

string

์ฐจ๋Ÿ‰์„ ํ˜ธ์ถœํ•˜๋Š” ์œ„์น˜๊ฐ€ ์†ํ•œ ๋„์‹œ

price

31500

double

์šดํ–‰์š”๊ธˆ

currency

KRW

string

ํ†ตํ™”์ฝ”๋“œ

product_id

C30403

string

์š”์ฒญํ•œ ์ƒํ’ˆ์ฝ”๋“œ

product_name

๋ฒ ์ด์ง

string

์š”์ฒญํ•œ ์ƒํ’ˆ๋ช…์นญ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_request_ride");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("distance", 5.8);
eventMap.put("city", "์„œ์šธ");
eventMap.put("price", 31500);
eventMap.put("currency", "KRW");
Map<String, Object> productMap = new HashMap<>();
productMap.put("product_id", "C30403");
productMap.put("product_name", "๋ฒ ์ด์ง");
eventMap.put("product", productMap);
DOT.logEvent(eventMap);

์ฐจ๋Ÿ‰ ํ˜ธ์ถœ ์Šน์ธ

ํ˜ธ์ถœ์ด ์Šน์ธ๋˜์–ด ๋ฐฐ์ฐจ๊ฐ€ ์™„๋ฃŒ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•˜๋Š” ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•  ์ง€์—ญ๋ช…

distance

5.8

float

๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ

city

์„œ์šธ

string

์ฐจ๋Ÿ‰์„ ํ˜ธ์ถœํ•œ ์œ„์น˜๊ฐ€ ์†ํ•œ ๋„์‹œ

car_id

V39849

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ID

car_type

sedan

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ์œ ํ˜•

driver_id

DR3020

string

๋ฐฐ์ฐจ๋œ ์šด์ „์ž ID

price

31500

string

์šดํ–‰์š”๊ธˆ

currency

KRW

string

ํ†ตํ™”์ฝ”๋“œ

product_id

C30403

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ์ฝ”๋“œ

product_name

๋ฒ ์ด์ง

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ๋ช…์นญ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_ride_approved");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("distance", 5.8);
eventMap.put("city", "์„œ์šธ");
eventMap.put("car_id", "V39849");
eventMap.put("car_type", "sedan");
eventMap.put("driver_id", "DR3020");
eventMap.put("price", 31500);
eventMap.put("currency", "KRW");
Map<String, Object> productMap = new HashMap<>();
productMap.put("product_id", "C30403");
productMap.put("product_name", "๋ฒ ์ด์ง");
eventMap.put("product", productMap);
DOT.logEvent(eventMap);

์ฐจ๋Ÿ‰ ํ˜ธ์ถœ ์ทจ์†Œ

ํ˜ธ์ถœ์ด ์ทจ์†Œ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•˜๋Š” ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•  ์ง€์—ญ๋ช…

distance

5.8

float

๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ

city

์„œ์šธ

string

์ฐจ๋Ÿ‰์„ ํ˜ธ์ถœํ•œ ์œ„์น˜๊ฐ€ ์†ํ•œ ๋„์‹œ

car_id

V39849

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ID

car_type

sedan

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ์œ ํ˜•

driver_id

DR3020

string

๋ฐฐ์ฐจ๋œ ์šด์ „์ž ID

price

31500

string

์šดํ–‰์š”๊ธˆ

currency

KRW

string

ํ†ตํ™”์ฝ”๋“œ

product_id

C30403

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ์ฝ”๋“œ

product_name

๋ฒ ์ด์ง

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ๋ช…์นญ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_ride_cancelled");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("distance", 5.8);
eventMap.put("city", "์„œ์šธ");
eventMap.put("car_id", "V39849");
eventMap.put("car_type", "sedan");
eventMap.put("driver_id", "DR3020");
eventMap.put("price", 31500);
eventMap.put("currency", "KRW");
Map<String, Object> productMap = new HashMap<>();
productMap.put("product_id", "C30403");
productMap.put("product_name", "๋ฒ ์ด์ง");
eventMap.put("product", productMap);
DOT.logEvent(eventMap);

์šดํ–‰ ์ข…๋ฃŒ

์ฐจ๋Ÿ‰์ด ๋ชฉ์ ์ง€๊นŒ์ง€ ์šดํ–‰์„ ๋งˆ์น˜๊ณ  ๋น„์šฉ์ด ๊ฒฐ์ œ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

transaction_id

CL39932003

string

์ฃผ๋ฌธ๋ฒˆํ˜ธ

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•œ ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•œ ์ง€์—ญ๋ช…

distance

5.8

float

๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ

city

์„œ์šธ

string

์ฐจ๋Ÿ‰์„ ํ˜ธ์ถœํ•œ ์œ„์น˜๊ฐ€ ์†ํ•œ ๋„์‹œ

car_id

V39849

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ID

car_type

sedan

string

๋ฐฐ์ฐจ๋œ ์ฐจ๋Ÿ‰ ์œ ํ˜•

driver_id

DR3020

string

๋ฐฐ์ฐจ๋œ ์šด์ „์ž ID

price

31500

string

์šดํ–‰์š”๊ธˆ

currency

KRW

string

ํ†ตํ™”์ฝ”๋“œ

riding_time

21

float

์šดํ–‰ ์‹œ์ž‘๋ถ€ํ„ฐ ์šดํ–‰ ์™„๋ฃŒ๊นŒ์ง€์˜ ์‹œ๊ฐ„์„ ๋ถ„๋‹จ์œ„๋กœ ์ž…๋ ฅ

product_id

C30403

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ์ฝ”๋“œ

product_name

๋ฒ ์ด์ง

string

๋ฐฐ์ฐจ๋œ ์ƒํ’ˆ๋ช…์นญ

quantity

1

string

ํ˜ธ์ถœํ•œ ์ฐจ๋Ÿ‰ ๋Œ€์ˆ˜

revenue

31500

double

์œ ์ €๊ฐ€ ๊ฒฐ์ œํ•œ ๊ธˆ์•ก

Map<String, Object> purchaseMap = new HashMap<>();
purchaseMap.put("transaction_id", "CL39932003");
purchaseMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
purchaseMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
purchaseMap.put("distance", 5.8);
purchaseMap.put("city", "์„œ์šธ");
purchaseMap.put("car_id", "V39849");
purchaseMap.put("car_type", "sedan");
purchaseMap.put("driver_id", "DR3020");
purchaseMap.put("price", 31500);
purchaseMap.put("currency", "KRW");
purchaseMap.put("riding_time", 21);
Map<String, Object> productMap = new HashMap<>();
productMap.put("product_id", "C30403");
productMap.put("product_name", "๋ฒ ์ด์ง");
productMap.put("quantity", 1);
productMap.put("revenue", 31500);
purchaseMap.put("product", productMap);
DOT.logPurchase(purchaseMap);

๋„ค๋น„๊ฒŒ์ด์…˜ ์‹œ์ž‘

๋ชฉ์ ์ง€์™€ ์ฝ”์Šค๊ฐ€ ์„ค์ •๋˜์–ด ์ฃผํ–‰์•ˆ๋‚ด๊ฐ€ ์‹œ์ž‘๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•˜๋Š” ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•  ์ง€์—ญ๋ช…

distance

5.8

float

๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ๋ฅผ km ๋‹จ์œ„๋กœ ์ž…๋ ฅ

est_arrival_time

20

float

์˜ˆ์ƒ๋˜๋Š” ์ฃผํ–‰์‹œ๊ฐ„์„ ๋ถ„๋‹จ์œ„๋กœ ์ž…๋ ฅ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_navigate");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("distance", 5.8);
eventMap.put("est_arrival_time", 20);
DOT.logEvent(eventMap);

๋„ค๋น„๊ฒŒ์ด์…˜ ์ข…๋ฃŒ

๋ชฉ์ ์ง€์— ๋„์ฐฉํ•˜์—ฌ ์ฃผํ–‰์•ˆ๋‚ด๊ฐ€ ์ข…๋ฃŒ๋œ ์‹œ์ ์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์„ ํƒ ์†์„ฑ

Key

Value ์˜ˆ์‹œ

Type

์„ค๋ช…

destination_a

์„ ๋ฆ‰์—ญ

string

์ฐจ๋Ÿ‰์ด ์ถœ๋ฐœํ•˜๋Š” ์ง€์—ญ๋ช…

destination_b

์˜ฌ๋ฆผํ”ฝ๊ณต์›

string

์ฐจ๋Ÿ‰์ด ๋„์ฐฉํ•  ์ง€์—ญ๋ช…

distance

5.8

float

์‹ค์ œ ์ฃผํ–‰๊ฑฐ๋ฆฌ๋ฅผ km ๋‹จ์œ„๋กœ ์ž…๋ ฅ

riding_time

21

float

์‹ค์ œ ์ฃผํ–‰์‹œ๊ฐ„์„ ๋ถ„๋‹จ์œ„๋กœ ์ž…๋ ฅ

Map<String, Object> eventMap = new HashMap<>();
eventMap.put("event", "w_end_navigation");
eventMap.put("destination_a", "์„ ๋ฆ‰์—ญ");
eventMap.put("destination_b", "์˜ฌ๋ฆผํ”ฝ๊ณต์›");
eventMap.put("distance", 5.8);
eventMap.put("riding_time", 21);
DOT.logEvent(eventMap);

Last updated

Was this helpful?