> Message: 1
> Date: Thu, 22 Apr 2021 12:49:31 -0700
> From: Steve Mykytyn <smyky...@gmail.com>
> To: cocoa-dev@lists.apple.com
> Subject: Tracking source of recommendation
> Message-ID:
>         <
> cacdnwzujex2mketzip23jq0n-nrut_2rosphyvqpkkkgqko...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Glad to see this list showing a little life, so I thought I would ask a
> question.
>
> I know how to make a link that app users can send to their friends as
> email/message/post to take them to the app on the App Store.  What I would
> like to do is associate the new app user upon first launch with the user
> who recommended the app.  I could provide a second link in the original
> email post with a scheme that would open in the app and correctly identify
> the recommending user, but that seems a little clunky.
>
> Is there a better way?
>

Assuming you have a server backending the app, send an invitation email
which includes a link such as:

     https://yourserver.com/invite/8765ahgkjhg765

Your server would show download instructions for your app in response to
the above url.

Then setup your app with a universal link, so that when the app is
installed, clicking on the link in the email will launch your app with the
specified invitation code.

This will behave as follows:

- if the app is not installed, the link goes to your server
- if the app is installed, the link goes to your app

Hope that's clear ...

Thanks,

- John Alsop
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to