컨텐츠로 바로가기

안드로이드 리퍼러

구글 플레이 설치 참조자

Section titled “Google Play Install Referrer”

안드로이드에서 getReferrer() Google Play Install Referrer 서비스와 연결되어 Play Store 설치 기록에서 데이터를 반환합니다.

const result = await InstallReferrer.getReferrer();
console.log(result.referrer);
console.log(result.clickTimestampSeconds);
console.log(result.installBeginTimestampSeconds);
console.log(result.googlePlayInstantParam);
Field설명
platform항상 android.
referrerRaw Play 설치 참조자 문자열.
clickTimestampSeconds클라이언트 측 참조자 클릭 시간 초.
installBeginTimestampSeconds클라이언트 측 설치 시작 시간 초.
googlePlayInstantParam사용자가 앱의 즉시 경험을 시작했는지 여부.
  • 실제 설치 참조 데이터를 얻기 위해 앱은 Google Play에서 설치되어야 합니다.
  • Play Store 버전이 Install Referrer 서비스를 지원하는 장치여야 합니다.
  • Android 런타임 권한이 필요하지 않습니다.

Play Store 서비스가 사용할 수 없거나 지원되지 않거나 결과를 반환하기 전에 연결이 끊겼거나 예상치 못한 응답을 반환할 때 플러그인은 거부합니다.

Android Referrer를 사용 중이라면 Android Referrer native 플러그인 작업을 계획하기 위해, 그것을 연결하세요. Using @capgo/capacitor-install-referrer native 기능을 위한 Using @capgo/capacitor-install-referrer Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리에서 제품 워크플로우 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 사항 플러그인을 추가하거나 업데이트 플러그인을 추가하거나 업데이트하는 구현 세부 사항 Ionic Enterprise 플러그인 대체 Ionic Enterprise 플러그인 대체의 제품 워크플로우