Utility to get the referrer of the installation on Google Play.
npm install capacitor-referrer
npx cap sync
getReferrerDetails() => Promise<ReferrerDetails>
Returns: Promise<ReferrerDetails>
Prop | Type | Description |
---|---|---|
referrerUrl |
string |
The install referrer passed to the store when installing the app, if any. |
referrerClickTime |
number |
The install referrer click time. |
appInstallTime |
number |
The app install time. |
instantExperienceLaunched |
boolean |
If the instant experience was launched. |