Skip to content

iOS Attribution

GitHub

Apple AdServices

Apple AdServices

Apple은 Google Play Install Referrer와 유사한 App Store 설치 참조자 제공하지 않습니다. iOS에서 이 플러그인은 Apple AdServices attribution을 사용합니다.

기본적으로 getReferrer() __CAPGO_KEEP_0__에서 반환하는 AdServices attribution 토큰을 백엔드 또는 모바일 측정 파트너에게 보내실 수 있습니다.

const result = await InstallReferrer.getReferrer();
console.log(result.attributionToken);

자연스러운 애플 어트리뷰션 조회

제목: 자연스러운 애플 어트리뷰션 조회

이 플러그인은 또한 code의 네이티브에서 Apple의 AdServices 엔드포인트로 토큰을 보내실 수 있습니다.

const result = await InstallReferrer.getReferrer({
fetchAppleAttribution: true,
});
console.log(result.appleAttribution);

이 모드는 앱이 자체적으로 Apple의 어트리뷰션 페이로드를 받을 때 사용하세요. 백엔드 또는 어트리뷰션 제공자가 토큰을 교환할 때는 fetchAppleAttribution false를 유지하세요.

반환된 필드

제목: 반환된 필드
필드설명
platformAlways ios.
attributionTokenApple AdServices attribution token.
appleAttribution__CAPGO_KEEP_0__가 true일 때 사용하는 옵션 Apple attribution payload. fetchAppleAttribution __CAPGO_KEEP_1__
  • Apple Search Ads attribution만 포함된 attribution payload입니다. App Store referrer URL은 제외합니다.
  • App Tracking Transparency prompt는 AdServices attribution token을 요청하기 위해 필요하지 않습니다.
  • iOS Attribution에서 계속하세요.

__CAPGO_KEEP_6__ iOS Attribution __CAPGO_KEEP_0__을 연결하여 Using @capgo/capacitor-install-referrer for the native capability in Using @capgo/capacitor-install-referrer, Capgo Plugin Directory Capgo Plugin Directory에서 제품 워크플로우 Capacitor Plugins by Capgo Capacitor Plugins by Capgo에서 구현 세부 사항 Adding or Updating Plugins Adding or Updating Plugins에서 구현 세부 사항 Ionic Enterprise Plugin Alternatives Ionic Enterprise Plugin Alternatives에서 제품 워크플로우