Tracking campaign information through app store to iOS app

时间:2015-09-14 16:15:41

标签: ios objective-c iphone

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.

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?

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
  • 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

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!

2 个答案:

答案 0 :(得分:0)

简短的回答是,不可能。 Apple没有为您提供api。有些公司可以通过提供的广告或网址来定位应用安装,但我不知道有哪些提供api让您在应用中获取该信息,他们通常只有一个门户网站,您可以看到有多少人点击广告以及从这些点击中安装了多少人。

如果您在应用中发布了您实际想要完成的信息,那么也许有人可以帮助您找到更好的解决方案。

答案 1 :(得分:0)