메뉴로 이동

iOS Attribution

Apple AdServices

Apple AdServices

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

기본적으로 getReferrer() __CAPGO_KEEP_0__의 Apple AdServices attribution 토큰을 반환합니다. 이 토큰을 백엔드 또는 모바일 측정 파트너로 전송할 수 있습니다.

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

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

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

플러그인은 code의 자연스러운 code에서 Apple의 AdServices 엔드포인트로 토큰을 전송할 수 있습니다.

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

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

필드설명
platform항상 ios.
attributionTokenApple AdServices attribution 토큰입니다.
appleAttributionApple attribution payload가 필요할 때는 fetchAppleAttribution true이면

요구 사항

요구 사항
  • iOS 14.3 이상에서 Apple AdServices attribution 토큰이 사용 가능합니다.
  • Apple Search Ads attribution을 포함한 attribution payload만 지원합니다. App Store referrer URL은 제한되지 않습니다.
  • App Tracking Transparency prompt가 필요하지 않습니다. AdServices attribution 토큰만 요청합니다.