Mixpanel SDKとの連携
Adjust SDKとMixpanel 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}];
}