Manbolo Blog

Manbolo Team Blog, creators of MeonArchives

iTunes, App Store, iBooks and Mac App Store Affiliation

Affiliation is a simple way to make extra revenues with your app or with your web site in the iOS/OSX world: it provides a way to link to songs, apps, movies, ebooks, earning you commissions on sales. The good news is that affiliation on iTunes (including App Store, iBooks, and Mac App Store), is really easy to set-up. The bad news is that you will need a lot of audience before making real money. Here’s a quick presentation, since there have been some changes recently.

  1. What’s affiliation
  2. How to become an iTunes affiliate
  3. Linking
  4. API and tools
  5. Useful links

1. What’s affiliation

Affiliation on iTunes

  1. Assume you’ve released an iOS app. Somewhere in your app, you’re promoting another iOS app; it can be one of your app, or any app available on the App Store. The promoted app can be paid or completely free. The only requirement is that the promoted app is available on the App Store.
  2. Your user has tapped a button in your app to download this app, he is redirected to the corresponding page in the App Store. At this point, you’re done: you sole job is to send customers to the App Store, by any means… Whether the user will buy the app that you’ve promoted or not is not relevant. At this moment, you’re the current affiliate on the App Store.
  3. Starting from now, and during the next 24 hours, you will earn a 7% commission on each sale done by the user. The user can quit your app, quit the App Store etc, every time he buys something on the store, you will be given a tiny 7% commission for the next 24 hours.

See, seems interesting! I’m using an iOS app in this example but really you can use affiliation with video, book, ringtones, tones, Mac app, podcasts, audiobooks, everything that is sold through iTunes, the App Store, iBooks and Mac App Store. In fact, everything that you can link to is eligible to affiliation.

You will see, it’s all about links. Given a link to the App Store, just add a parameter to this link identifying you (the affiliate token) will suffice to give you revenues.

Things to know:

2. How to become an iTunes affiliate

One to rule them all

Until very recently, iTunes Affiliate Program was operated by two or three platforms (Linkshare, Tradedoubler) and you had to register to each program to get affiliation revenues from all over the world.

Starting from 31 March 2014, there is now one and only one affiliation program provider: Performance Horizon Group (aka PHG). To become affiliate, you will have to register to the iTunes Affiliate program with PHG.

Before diving into the account creation, just a word about worldwide support. You will get revenues from customers residing in this 127 countries, but affiliates can be located in any countries:

Cayman IslandsChileColombia
Costa RicaCroatiaCyprus
Czech RepublicDenmarkDominica
EcuadorEgyptEl Salvador
HondurasHong KongHungary
New ZealandNicaraguaNigeria
RomaniaRussiaSaudi Arabia
South AfricaSpainSweden
ThailandTrinidad and TobagoTurkey
UgandaUkraineUnited Arab Emirates
United KingdomUnited StatesUruguay

to the iTunes Affiliate Program

Warning : before creating your account, you should insure that you have a live app in the store, or a live web site. Your web site can’t be in beta, or in ’work in progress’ mode. It must be live, with real datas and content, otherwise your affiliation account creation will be rejected.

Now, go to, click on Sign-In:

Apply PHG

Fill the information:

Apply PHG

Some info:

Apply PHG

Apply PHG

Now, you just have to wait a few days (usually 3 to 5 days) and wait for your account creation confirmation. If your web site / app is live, your account should be validated without problem.

Once you have been notified that your affiliate account have been accepted, you can go sign-in In the email that you’ve received, you have been given an Affiliated ID (or Affiliate Token): you really just need this token to make money! Affiliated token looks something like 11lqRB (which’s Manbolo’s one).

In case you miss it, you will find yours in your PHG console on the top-right corner:

PHG console

3. Linking

Now that you’ve your affiliate token, you can start making money. All that you’ve to do is simply adding this token to the end of any iTunes, App Store or iBooks Store links to be eligible for commissions.

On a web site

Inserting an affiliate link in a web page:

<a href="">Numbers - Apple</a>

Notice the at=AffiliateTokenHere added parameter at the end of the URL. Juste replace AffiliateTokenHere with your PHG affiliate token and that’s it.

In a native app

If we want to promote Meon in one of our app, we could write this:

- (IBAction)buyApp:(id)sender
        NSString *urlString = @"";
        NSURL *url = [NSURL URLWithString:urlString];
        [[UIApplication sharedApplication] openURL:url];    
} is the unaffiliated link, while is the affiliated ones, using our affiliate token 11lqRB.

Starting from iOS 6, you have the possibility to show, inside your app, an "iTunes controller": SKStoreProductViewController. The big advantage over the previous approach is that you user is not redirected to the App Store, he can buy apps (and other iTunes content) directly inside you app, and never quit it. Note that you can also write reviews without quitting the app.

SKStoreProductViewController inside an app

Unfortunately, as of iOS 7.0.6, there is no way to pass an affiliate token to a SKStoreProductViewController. It’s rather surprising because the APIs use to initialise this view controller (just a dictionary) will be well fitted to add an affiliate token. That’s said, if you still want to use SKStoreProductViewController, here is how you would do it:

- (IBAction)buyApp:(id)sender
    // The store id of the product that you want to promote.
    NSString *storeId = @"417817520";
    NSDictionary *parameters = @{SKStoreProductParameterITunesItemIdentifier: storeId};

    SKStoreProductViewController *controller = [[SKStoreProductViewController alloc] init];
    [controller loadProductWithParameters:parameters completionBlock:nil];
    [self presentViewController:controller animated:YES completion:nil];

With a Smart App Banner

Smart App Banner

If you plan to use Smart App Banners, be sure to read You can use your affiliate token in a Smart App Banner:

<meta name="apple-itunes-app"


You can also use another parameter ct, the campaign text, that you can optionally add to any link in order to track sales from a specific marketing campaign. For example, the link below has added a campaign tracking parameter for a blog link. You can name the campaigns anything you choose, but the ct value may not be longer than 40 characters:

Then, you will see the performance of this campaign in your PHG console dashboard.

You can get more informations on linking here: Basic Affiliate Link Guidelines for the PHG Network.

4. API and tools

If you want to build a service base on affiliation, you will need to find links to useful content on iTunes. There are some tools and APIs to help you:

Search API

The lookup API is really useful: given an app id, you will get the description, URL of app icons, screenshots, price, average rating, user rating count etc… More information on the lookup API in Useful iTunes Web Services.

Enterprise Partner Feed

Apple gives you also a much more powerful tool: a direct access to the entire App Store metadata database, called Enterprise Partner Feed, or simply EPF. EPF provides a daily access to the iTunes content entire database (apps, movies song) and you can use this tool to build your killer app: it’s much more powerful than iTunes Search API but need more work.

EPF is daily updated, so you can use it to extract useful content and add affiliation. Note that any links extracted from the database must be used with an affiliate token.

Access on the database requires login credentials and an active partnership with the affiliate program. You can apply to get access by filling a request at (don’t send request to, the mail is no longer in use). You will receive an answer in a few days.

5. Useful links

WWDC 2012 - Session 603: Tools, Services, and APIs for iTunes Affiliate Program Marketing

WWDC 2010 - Session 133: Using iTunes and App Store Affiliate Tools and Technologies

From jc.

All Posts