user1709076 user1709076 - 3 months ago 20
iOS Question

iOS get campaign URL responsible for download

When i generate a 'campaign url', here:

https://analytics.itunes.apple.com/#/campaigngenerator?app=$myappid


If my campaign is called 'facebook', then the url is:

https://itunes.apple.com/app/apple-store/id$myappid?pt=...&ct=facebook&mt=8


If my campaign is called 'pinterest', then the url is:

https://itunes.apple.com/app/apple-store/id$myappid?pt=...&ct=pinterest&mt=8


Assuming i'm running ads on facebook and pinterest.

Then, in the
applicationDidFinishLaunchingWithOptions
:

Is there a function I can call like

[[UIApplication sharedApplication] get_campaign_url_for_download:^(NSString*) URL
{
NSLog(@"link I clicked to download this app was %@",URL);
}];


To know whether that user downloaded my app through my Pinterest campaign URL or my Facebook campaign URL?

Answer

The official reply from Apple is

Thank you for contacting Apple Developer Technical Support (DTS). Our engineers have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations.

If Apple cannot support this functionality then I am 100% certain there is no external service that can provide this functionality either

Comments