Google Play Install Referrer
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat menggunakan Install Referrer API Google Play Store untuk mengambil konten perujuk
dari Google Play dengan aman, seperti:
- URL perujuk paket yang diinstal.
- Stempel waktu, dalam detik, saat klik perujuk terjadi (sisi klien dan sisi server).
- Stempel waktu, dalam detik, saat penginstalan dimulai (sisi klien dan sisi server).
- Versi aplikasi pada saat aplikasi pertama kali diinstal.
- Apakah pengguna telah berinteraksi dengan
pengalaman instan aplikasi Anda
dalam 7 hari terakhir.
Persyaratan
Install Referrer API ditampilkan oleh aplikasi Google Play Store di perangkat. Perangkat yang memiliki
aplikasi Google Play versi 8.3.73 atau lebih baru otomatis telah memiliki akses ke API tersebut.
Anda juga harus memiliki akun Konsol Google Play untuk menggunakan Install Referrer API.
Menggunakan API
Install Referrer API diimplementasikan sebagai
antarmuka Android Interface Definition Language (AIDL).
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# Google Play Install Referrer\n\nYou can use the Google Play Store's Install Referrer API to securely retrieve referral content\nfrom Google Play, such as:\n\n- The referrer URL of the installed package.\n- The timestamp, in seconds, of when a referrer click happened (both client- and server-side).\n- The timestamp, in seconds, of when an installation began (both client- and server-side).\n- The app's version at the time when the app was first installed.\n- Whether the user has interacted with your app's [instant experience](/topic/google-play-instant/overview) in the past 7 days.\n\nRequirements\n------------\n\nThe Install Referrer API is exposed by the Google Play Store app on a device. Devices with a\nGoogle Play app version of 8.3.73 or later automatically have access to the API.\n\nYou must also have a Google Play Console account to use the Install Referrer API.\n\nUsing the API\n-------------\n\nThe Install Referrer API is implemented as an\n[Android Interface Definition Language (AIDL)](/guide/components/aidl) interface.\n\n- If you are using the Kotlin programming language or the Java programming language, use the [Play Install Referrer Client Library](/google/play/installreferrer/library) to simplify your coding.\n- If you are using another programming language, use the [Play Install Referrer API](/google/play/installreferrer/igetinstallreferrerservice)."]]