Adapty 통합
통합 개요 및 사용 사례
Anchor link toAdapty는 모바일 앱 구독 관리 및 수익화 플랫폼입니다.
Adapty를 Pushwoosh와 통합하면 Adapty의 모든 구독 관련 이벤트 및 페이월 상호작용을 Pushwoosh로 전달할 수 있습니다. 이를 통해 타겟 캠페인을 시작하여 사용자 기반을 참여시키고, 업셀을 촉진하며, 갱신을 유도할 수 있습니다.
이 통합 덕분에 구독 기반 비즈니스는 커뮤니케이션을 더욱 효율적으로 만들고 상당한 수익 증대를 달성할 수 있습니다.
통합 설정하기
Anchor link to- Adapty 계정에서 시작하기
Integrations 섹션으로 이동하여 Pushwoosh를 선택하고 토글을 off에서 on으로 전환하여 활성화한 다음, 필요한 필드를 완료합니다.

- Pushwoosh로 이동하여 필수 자격 증명 설정하기
자격 증명을 설정하여 Pushwoosh와 Adapty 계정을 연결합니다. 이를 위해서는 Pushwoosh 앱 ID와 인증 토큰이 필요합니다.

- Pushwoosh 자격 증명 찾기
- 앱 ID: Pushwoosh 대시보드에서 찾을 수 있습니다.
- 인증 토큰: Pushwoosh 설정의 API Access 섹션에 있습니다.

- 이벤트 및 태그 구성하기
자격 증명 설정 아래에서 Adapty에서 Pushwoosh로 보낼 다양한 이벤트 그룹을 선택하고 이름을 변경하는 옵션을 찾을 수 있습니다. 필요한 이벤트를 검토하고 선택하세요. Adapty에서 사용 가능한 이벤트의 전체 목록은 상세 가이드를 참조하세요.
Adapty는 서버 간 통합을 통해 구독 이벤트를 Pushwoosh로 전송하며, Pushwoosh 대시보드에서 이러한 이벤트를 완전히 볼 수 있습니다.

- 사용자 지정 태그 활성화하기
사용자 지정 태그를 활용하여 Adapty와의 Pushwoosh 통합을 강화하세요. 이 태그들은 아래에 설명된 대로 특정 요구 사항에 맞게 조정할 수 있습니다:
- adapty_customer_user_id: Pushwoosh의 고유 사용자 식별자입니다.
- adapty_profile_id: Adapty 대시보드에 표시되는 고유한 Adapty 사용자 프로필 ID입니다.
- environment: 사용자의 환경을 식별하며, ‘Sandbox’ 또는 ‘Production’입니다.
- store: 구매한 스토어를 나타냅니다 (‘app_store’ 또는 ‘play_store’).
- vendor_product_id: Apple/Google 스토어의 제품 ID입니다.
- subscription_expires_at: 가장 최근 구독의 만료 날짜이며, 특정 형식입니다.
- last_event_type: Adapty에서 온 가장 최근 이벤트의 유형입니다.
- purchase_date: 마지막 거래 날짜이며, 특정 형식입니다.
- original_purchase_date: 첫 구매 날짜이며, 특정 형식입니다.
- active_subscription: 구독 상태를 나타냅니다.
- period_type: 구매 또는 갱신의 가장 최근 기간 유형입니다.
또한, 더 큰 추적 유연성을 위해 사용자 지정 속성을 통합할 수 있습니다. Adapty 측의 통합 페이지에서 ‘Send user custom attributes’ 체크박스를 선택하면 Pushwoosh로 자동 전송됩니다.
- 필수: SDK 구성하기
통합을 완료하려면 Pushwoosh의 HWID 값을 Adapty로 보내야 합니다:
let params = AdaptyProfileParameters.Builder() .with(pushwooshHWID: Pushwoosh.sharedInstance().getHWID()) .build()
Adapty.updateProfile(params: params) { error in // handle the error}val params = AdaptyProfileParameters.Builder() .withPushwooshHwid(Pushwoosh.getInstance().hwid) .build()
Adapty.updateProfile(params) { error -> if (error != null) { // handle the error }}AdaptyProfileParameters params = new AdaptyProfileParameters.Builder() .withPushwooshHwid(Pushwoosh.getInstance().getHwid()) .build();
Adapty.updateProfile(params, error -> { if (error != null) { // handle the error }})import 'package:pushwoosh/pushwoosh.dart';
final builder = AdaptyProfileParametersBuilder() ..setPushwooshHWID( await Pushwoosh.getInstance.getHWID, );try { await adapty.updateProfile(builder.build());} on AdaptyError catch (adaptyError) { // handle error} catch (e) {}import { adapty } from 'react-native-adapty';import Pushwoosh from 'pushwoosh-react-native-plugin';
// ...try { await adapty.updateProfile({ pushwooshHWID: hwid, });} catch (error) { // handle `AdaptyError`}var builder = new Adapty.ProfileParameters.Builder();builder.SetPushwooshHWID(Pushwoosh.Instance.HWID);
Adapty.UpdateProfile(builder.Build(), (error) => { // handle error});