I'm trying to make the invitation feature for my addon (it will be published to both G Suite marketplace and Addon store)
The scenario is:
1. User A want to invite user B to use the addon (because user A has bonus quota if he does)
2. User A will type the email of user B into a textbox in the Invitation page
3. Apps script code will send an email to user B. In this email, there is a link to install the addon
4. User B clicks the link, installs the addon
5. After that, somehow the our system know that user B installed the addon, and user B installed it via the invitation link from user A
6. Our system will add bonus quota for user A
As you can see, this feature heavily depends on whether our system can detect if "user B installed the addon, and installed it via the invitation link from user A"
So how can I do this?
Thank you very much.