简体   繁体   English

通过应用商店到iOS应用跟踪广告系列信息

[英]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: 最终目标例如:

  • User clicks advert offering £10 in-app credit when installed, the link to the app store contains some special tags to identify this type of install 用户点击广告后,即可获得10英镑的应用内赠送金额,指向应用商店的链接包含一些特殊标签,可以识别这种安装类型
  • User clicks install on the app store that was opened 用户点击已打开的应用商店上的安装
  • App is installed and opened for the first time 应用已首次安装和打开
  • App recognises the tags and pops up with this, talks to a server notifying of a new install, for the campaign, with the users unique id, server gives credit 应用会识别标签并弹出标签,与服务器进行通信以通知新安装,对于广告系列,用户具有唯一的ID,服务器会给功劳

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. 如果您在应用程序中发布了您实际想要完成的操作,也许有人可以帮助您提供更好的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM