Using the market://
scheme will work with Google Analytics campaign tracking. You can use the GA URL builder and simply replace the market://
scheme.
The &referrer
parameter on this link, if you enable it, will be passed to your application upon installation as an additional line with the intent INSTALL_REFERRER
, regardless of whether you use the https://
or market://
scheme.
GA will use this referrer line to track campaigns.
I realized that you prefer to use market://
, but wanted to put out others who can read this, that the market://
scheme is officially outdated, in favor of https://
.
source share