Skip to content

withInstallReferrer

function withInstallReferrer(
url,
clickId,
param?
): string;

Defined in: src/deeplinks.ts:84

Tag a Play Store URL with the install referrer so the freshly installed app can read the click id via the Play Install Referrer API: &referrer=xl_id%3D{clickId}. Non-Play URLs are returned unchanged.

Parameter Type Default value
url string undefined
clickId string undefined
param? string "xl_id"

string