当我在此处生成“广告系列网址”时:
https://analytics.itunes.apple.com/#/campaigngenerator?app=$myappid
如果我的广告系列名为“facebook”,则网址为:
https://itunes.apple.com/app/apple-store/id$myappid?pt=...&ct=facebook&mt=8
如果我的广告系列名为“pinterest”,则网址为:
https://itunes.apple.com/app/apple-store/id$myappid?pt=...&ct=pinterest&mt=8
假设我在 facebook 和 pinterest 上投放广告。
然后,在applicationDidFinishLaunchingWithOptions
:
有没有我可以调用的函数
[[UIApplication sharedApplication] get_campaign_url_for_download:^(NSString*) URL
{
NSLog(@"link I clicked to download this app was %@",URL);
}];
要知道该用户是通过我的 Pinterest 活动 URL 还是我的 Facebook 活动 URL 下载了我的应用程序?