dongxifu5009 2016-07-15 12:42
浏览 108
已采纳

如何知道谁点击了我发送的推荐链接?

I am making an android app, in which user will share the unique app link to his friends. and if his friend clicks on that link than he/she will be redirected to the play store or app store according to device. and when he/she installs the application then he/she should automatically added to the group of the person who sent the link.

i have successfully done with the creating links.

Thank you in advance

  • 写回答

1条回答 默认 最新

  • dongshi8038 2016-07-15 13:05
    关注

    This seems more like an "architectural" type question, but it seems to be that you need to setup a workflow in which clicking on the link creates the new users account and associates it w/ the friend/friends without your web server, then forwards that person to the Play store to download the app. This could happen as several steps in the workflow, but appear as one "step" to the end user, if that's the desired goal, or it could be that you want them to go through the process step-by-step.

    As far as how to handle getting the friends linked up, when the link is created, you could generate some unique ID string to tack into the URL. When sent to your server, this link would either contain info that tells your app what to do, or point to some pre-populated data table/file that has what you need. Either way, the URL would signal your web app server what needs to happen.

    Keep in mind, we know VERY little about your app based on your description. Also, just to restate, this seems more like a design/architecture issue, not a "code" issue, and should probable be posted in on of the other Stack Exchanges.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法