[英]Tracking campaign information through app store to iOS app
Given a link to an iOS app on the app store, I'd like to be able to find the source of the purchase/installation inside my app. 有了应用商店上iOS应用的链接,我希望能够在我的应用中找到购买/安装的来源。
I can't really find anything online, maybe I'm searching the wrong keywords. 我在网上找不到任何东西,也许是我搜索了错误的关键字。
I'm hoping handleOpenURL may get passed a bunch of information when you start the app after purchasing or something? 我希望handleOpenURL可能会在您购买后启动应用程序时传递大量信息。
The end goal is for example: 最终目标例如:
In reality there is no credit, but I thought this was a good way to illustrate. 实际上没有信誉,但是我认为这是一个很好的说明方式。 So ignore any security concerns you might have with this! 因此,请忽略此操作可能带来的任何安全问题!
Any advice appreciated! 任何建议表示赞赏!
The short answer is, not possible. 简短的答案是不可能的。 Apple does not provide an api for you to do this. Apple没有为此提供API。 There are companies which can attribute an app installation from a served ad or url but I am not aware of any which provide an api for you to get that info within the app, they usually just have a web portal where you can see how many people clicked on an ad and how many people installed from those clicks. 有一些公司可以通过提供的广告或网址来归因于应用程序的安装,但是我不知道有哪个公司可以为您提供在应用程序中获取该信息的api,它们通常只有一个Web门户,您可以在其中看到多少人点击一个广告,以及从这些点击中安装了多少人。
If you post what you are actually trying to accomplish with this information in the app, maybe someone can help you come up with a better solution. 如果您在应用程序中发布了您实际想要完成的操作,也许有人可以帮助您提供更好的解决方案。
What I was looking for can be achieved via Smart App Banners 我要找的东西可以通过智能应用横幅实现
https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.