iOS

์‚ฌ์ „ ์ค€๋น„

Adrop์— iOS ์•ฑ ๋“ฑ๋ก์„ ์™„๋ฃŒํ•˜์…จ๋‚˜์š”? ๋“ฑ๋ก์ด ์™„๋ฃŒ๋˜์—ˆ์„ ๊ฒฝ์šฐ ํ”„๋กœ์ ํŠธ์—์„œ Adrop Metrics๊ฐ€ ํ™œ์„ฑํ™”๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.

Adrop ์ดˆ๊ธฐํ™”

import AdropAds

// production์„ ์œ„ํ•ด 'true'๋ฅผ ์„ ํƒํ•˜์„ธ์š”.
// ํŠน์ • ๊ตญ๊ฐ€์—์„œ ์ด SDK๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋ฉด, 
// ISO 3166 alpha-2 ๊ตญ๊ฐ€ ์ฝ”๋“œ array๋ฅผ ์ „๋‹ฌํ•˜์„ธ์š”.
Adrop.initialize(production: false, targetCountries: [])

์‚ฌ์šฉ์ž ์†์„ฑ ์„ธํŒ…

์•ฑ ์‚ฌ์šฉ์ž๋ฅผ ์„ค๋ช…ํ•˜๋Š” ์†์„ฑ์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ง€์›ํ•˜๋Š” ํ‚ค์— ๋Œ€ํ•ด ์‚ฌ์ „ ์„ค์ •๋œ ๊ฐ’์„ ํ™•์ธํ•˜์„ธ์š”. AdropMetrics์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด์„ธ์š”.

import AdropAds

let key = "YOUR_PROPERTY_KEY"
let value = "YOUR_PROPERTY_VALUE"
AdropMetrics.setProperty(key: key, value: value)

Last updated