user1709076 user1709076 - 2 years ago 145
iOS Question

iOS get campaign URL responsible for download

When i generate a 'campaign url', here:$myappid

If my campaign is called 'facebook', then the url is:$myappid?pt=...&ct=facebook&mt=8

If my campaign is called 'pinterest', then the url is:$myappid?pt=...&ct=pinterest&mt=8

Assuming i'm running ads on facebook and pinterest.

Then, in the

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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download