Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Business Forums > Business, Legal, & App Store

Reply
 
LinkBack Thread Tools Display Modes
Old 03-26-2010, 10:08 PM   #26 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 267
georgeburns is on a distinguished road
Default

Quote:
Originally Posted by scotopia View Post
I was recently told by a few people that if you click on an US affiliate link; and you are in Germany, per say; it just routes you to the German app store, and there's just no commission. If so then the above code should be unnecessary correct?
Possibly... however... it would definitely make sure you don't get the excessive redirects death screen. Plus you could skip safari jump outside the US and give a more polished appearance to your app.
georgeburns is offline   Reply With Quote
Old 03-26-2010, 10:09 PM   #27 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,070
scotopia is on a distinguished road
Default

Quote:
Originally Posted by georgeburns View Post
Possibly... however... it would definitely make sure you don't get the excessive redirects death screen. Plus you could skip safari jump outside the US and give a more polished appearance to your app.
I process the redirects behind the scenes with NSConnection, as apple suggests.
scotopia is offline   Reply With Quote
Old 02-19-2011, 07:39 PM   #28 (permalink)
Registered Member
 
Join Date: Jan 2011
Location: Seattle, WA
Posts: 46
JesseP is on a distinguished road
Default

Quote:
Originally Posted by scotopia View Post
I was recently told by a few people that if you click on an US affiliate link; and you are in Germany, per say; it just routes you to the German app store, and there's just no commission. If so then the above code should be unnecessary correct?
Scotopia -
There are different iTunes/App Store affiliate programs for different countries. So if you use LinkShare you will only get commissions from sales inside the US store. If you use TradeDoubler you will only get commissioned from sales inside the stores in Europe. Same story for DGM Pro with Australia and New Zealand and Japan uses LinkShare Japan. Each of the programs are independent.

BUT the affiliate tracking set up (which is different for each of the affiliate networks) and the link are two separate things. The link also has to be correct for the store and user.

If you are interested in using all the programs simultaneously you should check out this project I've been working on for a while - Capitalize on your Global iTunes Affiliate Traffic - GeoRiot.
JesseP is offline   Reply With Quote
Old 05-01-2012, 10:13 AM   #29 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

Quote:
Originally Posted by kiancheong View Post
Hi kiancheong,

Did you manage to implement this? I tried it but it's not working for my affiliate link. It still opens a safari first.
rocotilos is offline   Reply With Quote
Old 05-02-2012, 10:04 AM   #30 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 89
kiancheong is on a distinguished road
Default

Quote:
Originally Posted by rocotilos View Post
Hi kiancheong,

Did you manage to implement this? I tried it but it's not working for my affiliate link. It still opens a safari first.
Yup, I got it working by following the said example and it has worked great for me so far.
kiancheong is offline   Reply With Quote
Old 05-02-2012, 11:50 AM   #31 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

Ok here's what I found out.

If I use the Apple sample code, it works fine for linkshare affiliate links.
there is no stutter and it directly opens up App Store App without going through
safari.

However, I am now using GeoRiot affiliate links (to maximize my affiliate $ )
and just by exchanging the linkshare link with georiot link makes the redirect to fail. I am not really sure why, but upon hours of searching, I found another guy's solution over at SO and concocted this code which works perfectly even for GeoRiot links.

Code:
// Process a LinkShare/TradeDoubler/DGM URL to something iPhone can handle
- (void)openReferralURL:(NSURL *)referralURL
{
    NSURLRequest *theRequest=[NSURLRequest requestWithURL:referralURL cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:30.0];
    NSURLConnection *conn = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self];
    [conn release];
}

// Save the most recent URL in case multiple redirects occur
// "iTunesURL" is an NSURL property in your class declaration
- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response
{

    
    if (response) {
        NSMutableURLRequest *r = [[request mutableCopy] autorelease]; // original request
        [r setURL: [request URL]];
        
        
        self.iTunesURL = [r URL];
        
        if ([self.iTunesURL.host hasSuffix:@"itunes.apple.com"]) {

            [[UIApplication sharedApplication] openURL:self.iTunesURL];
            
        }
        
        
        return r;
    } else {
        return request;
    }
      
}
Hope this will help others who are facing the same issue.

rocotilos is offline   Reply With Quote
Old 05-03-2012, 02:22 AM   #32 (permalink)
Registered Member
 
LEARN2MAKE's Avatar
 
Join Date: Dec 2010
Posts: 351
LEARN2MAKE is on a distinguished road
Default

I can vouch for GeoRiot, it is a great service and Jesse is always there to help out of you run into a problem or need help getting paid by the affiliate programs :-)
__________________


Balloon Animals 3D << iOS >> Dollar Origami 3D
Both Apps FREE for a Limited Time!
Try it on Mac - Dollar Origami
LEARN2MAKE is offline   Reply With Quote
Old 05-03-2012, 11:01 AM   #33 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

Quote:
Originally Posted by LEARN2MAKE View Post
I can vouch for GeoRiot, it is a great service and Jesse is always there to help out of you run into a problem or need help getting paid by the affiliate programs :-)
You seems to be very happy. I've read your replies at most of the affiliate links thread in this forum

I got an extension trial (2 months) with them thanks to the Jesse's (there are 2 Jesse's in GeoRiot apparently).

LEARN2MAKE, have you been accepted into LS Japan? I've just been rejected via the email. I translated the email with Google translate, and it sounds like I've been rejected, pending changes to my website. However I don't know what I should do to my website to get approved. LS never tell me anything specific.

I have been so far accepted into LS US,MX,CA and TradeDoubler EU.
rocotilos is offline   Reply With Quote
Old 05-06-2012, 12:07 PM   #34 (permalink)
Registered Member
 
LEARN2MAKE's Avatar
 
Join Date: Dec 2010
Posts: 351
LEARN2MAKE is on a distinguished road
Default

Quote:
Originally Posted by rocotilos View Post
You seems to be very happy. I've read your replies at most of the affiliate links thread in this forum

I got an extension trial (2 months) with them thanks to the Jesse's (there are 2 Jesse's in GeoRiot apparently).

LEARN2MAKE, have you been accepted into LS Japan? I've just been rejected via the email. I translated the email with Google translate, and it sounds like I've been rejected, pending changes to my website. However I don't know what I should do to my website to get approved. LS never tell me anything specific.

I have been so far accepted into LS US,MX,CA and TradeDoubler EU.
Haven't even tried Japan. Got rejected for Canada too, so you did better than me
__________________


Balloon Animals 3D << iOS >> Dollar Origami 3D
Both Apps FREE for a Limited Time!
Try it on Mac - Dollar Origami
LEARN2MAKE is offline   Reply With Quote
Old 05-06-2012, 10:28 PM   #35 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

Quote:
Originally Posted by LEARN2MAKE View Post
Haven't even tried Japan. Got rejected for Canada too, so you did better than me
Really? Wow. But as I learnt about affiliates, it seems that I won't get paid
for Canada because Canada only gives commisions for sales of iTunes' items only (ie, music, movies, etc), and not through the App Store.
rocotilos is offline   Reply With Quote
Old 05-08-2012, 02:35 AM   #36 (permalink)
Registered Member
 
LEARN2MAKE's Avatar
 
Join Date: Dec 2010
Posts: 351
LEARN2MAKE is on a distinguished road
Default

Quote:
Originally Posted by rocotilos View Post
Really? Wow. But as I learnt about affiliates, it seems that I won't get paid
for Canada because Canada only gives commisions for sales of iTunes' items only (ie, music, movies, etc), and not through the App Store.
I think you can still make some money, just not from app purchases. Since iTunes on a computer ties in music, movies and apps, even if you send them to the app store on the phone, if they then buy music or movies in the next few days after you will make a commission I think.

Good Luck!
__________________


Balloon Animals 3D << iOS >> Dollar Origami 3D
Both Apps FREE for a Limited Time!
Try it on Mac - Dollar Origami
LEARN2MAKE is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 428
15 members and 413 guests
Absentia, baja_yu, Belman, buggen, ChrisYates, Domele, Duncan C, ebrahim_savadinejad, flamingliquid, gbenna, JamesCahall, MacBook MH, mer10, mraalex, SillyHoney
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,640
Threads: 94,106
Posts: 402,845
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasonwhf2
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:11 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0