Mixpanel SDK 연동
이 가이드에 나온 설명에 따라 Mixpanel SDK와 Adjust SDK를 연동할 수 있습니다.
본 기능을 사용하려면 우선 플랫폼에 대한 Adjust SDK를 다운로드하고 설정해야 합니다. 아래 링크된 설명서를 참조하시기 바랍니다.
⚙️ iOS / Android
Mixpanel API는 "super properties"를 등록할 수 있도록 해줍니다. 이러한 속성은 모든 활동과 함께 전송될 수 있습니다. 자세한 정보는 Mixpanel의 문서 를 참조하시기 바랍니다.
Adjust SDK와 Mixpanel SDK를 연동하려면, "super properties"를 등록해야 합니다: 해당 정보는 Adjust 백엔드로부터 응답을 받은 후 전송해야 합니다. 이를 위해 플랫폼별 어트리뷰션 콜백 가이드에 나온 단계를 수행하시기 바랍니다.
Mixpanel API를 사용하기 위해 콜백 메서드를 다음과 같이 변경합니다:
- (void)adjustAttributionChanged:(ADJAttribution *)attribution {
Mixpanel *mixpanel = [Mixpanel sharedInstance];
// The adjust properties will be sent
// with all future track calls.
if (attribution.network != nil)
[mixpanel registerSuperProperties:@{@"[Adjust]Network": attribution.network}];
if (attribution.campaign != nil)
[mixpanel registerSuperProperties:@{@"[Adjust]Campaign": attribution.campaign}];
if (attribution.adgroup != nil)
[mixpanel registerSuperProperties:@{@"[Adjust]Adgroup": attribution.adgroup}];
if (attribution.creative != nil)
[mixpanel registerSuperProperties:@{@"[Adjust]Creative": attribution.creative}];
}