Overview

Auto Link Maker is available for partners to easily have their affiliate token added to iTunes links on their blog or website. Auto Link Maker works for links to iTunes, App Store, iBooks Store, and Mac App Store.

How to Install

After going to Auto Link Maker and inserting your affiliate token, simply copy the javascript code and place it into the footer on your blog or website. The code will not function properly if it is added to the header.

The following are examples on how to add the Auto Link Maker code and may not cover your same configuration. You are responsible for making sure that you add the code correctly to your website or blog.

Example HTML page

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Auto Link Maker</title>
</head>
<body>
    <a href="https://itunes.apple.com/us/album/808s-heartbreak-bonus-video/id297475377?uo=4" target="itunes_store">808s & Heartbreak (Bonus Video Version) - Kanye West</a>
<footer>
<script type='text/javascript'>var _merchantSettings=_merchantSettings || [];_merchantSettings.push(['AT', 'YourAffiliateTokenHere']);(function(){var     autolink=document.createElement('script');autolink.type='text/javascript';autolink.async=true; autolink.src='https://autolinkmaker.itunes.apple.com/js/itunes_autolinkmaker.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(autolink, s);})();</script>
</footer>
</body>
</html>

Blogger

Click on Design | Edit HTML | Find the </footer> tag and add your Auto Link Maker code above it | Save Template

Your code should look something like the following:

Auto Link Maker Blogger

Tumblr

Click on Customize | Edit HTML | Find the </body> tag | Underneath the </body> tag add <footer> | Paste in your Auto Link Maker code | add </footer> | Update and then Save

Your code should look something like the following:

Auto Link Maker Tumblr

WordPress

Appearance | Editor | Under Templates click on Footer | Find the </footer> tag and add your Auto Link Maker code above it | Update File

Your code should look something like the following:

Auto Link Maker WordPress

FAQ

Why do I not see my affiliate token when I hover over my iTunes link?

The Auto Link Maker javascript is an onclick event so the affiliate token is added once the link has been clicked.

Does Auto Link Maker collect any personally identifiable information?

No, Auto Link Maker does not collect any user information or device information. Auto Link Maker is only invoked when the user clicks on an iTunes link at which point the onclick event adds the previously provided affiliate token. Once the appropriate store loads then an affiliate cookie is created.

Does Auto Link Maker access any user data from your site?

No, Auto Link Maker does not access any user data and has no ability to do so. Any user data your site may be collecting remains yours and neither Auto Link Maker or PHG will attempt to access or use your data.