Internet Business Blog
« Previous | Home | Next »

 

Cloaking Your Affiliate Links





February 28, 2007

Prompted by an article Michael Fortin published on his blog, I've decided to post a series of articles detailing the code behind some of the redirects and "tricks" that I use with Clickbank. A lot of these are applicable to other payment processors/affiliate programs was well. Protect your Internet business by using these techniques.

In this first article, I'll give some examples of cloaking your affiliate link using server side redirects. Why would you want to do this? There are two reasons:
1) Because there are cheaters out there that have a Clickbank account and will purchase the product you're promoting by looking at your purchase link and getting the Clickbank Nickname of the vendor. Then they will build a link to put themselves in as the affiliate, thereby getting your commission and getting the product for less, because they've stolen your commission, and
2) Because you can use redirects to shorten the length of the purchase link and shorter links are generally more desirable.

What is required to do this? You need a web hosting account that supports PHP or ASP.

Is it hard or complicated? No...
You need to make a simple script or web page and put the code from the examples below in it. You want to put this file in its own subdirectory or folder under your web site's root directory. If you're using PHP, you want to name it index.php, or default.php - whichever is the default page name for your server. If you're using ASP, name it index.asp or default.asp. Using this name (the default page name) will cause this page to load by just specifying the directory, for example: http://www.pqInternet.com/muvar will cause the index.asp page in the muvar subdirectory to load automatically, you don't have to specify the index.asp.

What do I use to edit and/or create the file? You can use a simple text editor like Notepad that comes with Windows. I recommend a free tool call Notepad Plus that's a real code editor. You can download it from here: http://notepad-plus.sourceforge.net/uk/site.htm.

Clickbank Hop Links: ClickBank uses a link called a hop link. When your potential customer clicks on your hoplink, they are sent to the vendor or publisher's sales page. A cookie is created that associates your affiliate ID with the product, so if they make a purchase, you receive a commission payment. A hotlink is formed by using the syntax (code structure) below.

This is what a hoplink looks like:
http://[Your ClickBank Nickname].[Affiliate Product Publisher].hop.clickbank.net

Replace "[Your ClickBank Nickname]" with YOUR CLICKBANK NICKNAME.
Replace "[Affiliate Product Pubisher]" with the Affiliate Product that you're promoting.

Example: http://PhaseQuest.Muvar.hop.clickbank.net will sell Muvar with PhaseQuest as the affiliate. In other words, I'll make a commission from the sale.

What do I put in the file:
For PHP:


For ASP:


Ok, I've made the file, what now? You need to use whatever method you use with your hosting provider to upload the file to your web site, into a new subdirectory.

In the above example using Muvar, I made a subdirectory named muvar under my main site and copied my index.asp file to it. So my affiliate link for Muvar is http://www.pqInternet.com/Muvar. It's in the right column under recommended products.

If you found this helpful, but a little confusing, you can watch and listen to this and more in my online home study course: Making Money Online.

Until Next time... when I'll talk about using your own sales page and linking directly to the Clickbank purchase page, skipping the vendors own sales page.

Fred
About the Author

Fred Black is an experienced programmer, web site developer, online business operator, systems integrator, father, husband, musician, and songwriter. Visit his Internet Business Blog at: http://www.pqInternet.com.


Get Free Updates! Enter your name and e-mail address to receive a short notice each time I make a new post.

First Name:

Last Name:

E-Mail Address:

E-Mail again:

NOTE: You will receive a confirmation email. You must click the link in the email to activate your free updates. Please check your spam folder(s) if you don't receive the email.


Share and Enjoy:

EMail Printer Friendly Reddit del.icio.us Technorati StumbleUpon Share on LinkedIn Ping Sphinn

Tip Jar: Leave a Donation

Comments: 2,   TrackBacks: 0.

Posted by Fred on February 28, 2007 | Printer-Friendly

TrackBack: http://www.pqInternet.com/Blog/mt-tb.cgi/25


Assigned Categories: ClickBank | Web Site Design, HTML, CSS


Related Entries:


You may reprint or distribute this article as long as you leave the content and the About the Author resource box at the end intact.

 

 
Comments and TrackBacks 
  Comments:
  1. From: Jason Madden

    I'm very interested in knowing how a person can copy the source code from an affiliate product page so text links can be added for linking campaigns but still be functional and hide my clickbank hop link URL from being seen anywhere.

    Could you answer this question for me.

    Posted by Jason Madden on January 2, 2008 9:51 PM

  2. From Fred...

    Hello Jason;
    Thanks for stopping by!
    This post shows how to hide your clickbank hop link URL. As far as how to copy the source code from an affiliate page, that can be easy, or very hard, depending on the page you're trying to copy. If it's a simple page, then just doing a "view source" in your browser will show you the code. However, if it's a complicated page, you will have more editing to do. Learning more about HTML and scripting will help: see my courses listed in the "My Courses & Products" section in the right hand column.

    Fred

    Posted by Fred Black on January 2, 2008 11:31 PM

 


Post A Comment




Remember personal info?




Comment Policy <--- Read the comment policy (Updated 1/13/2010).

About  Contact  Free Products Fred W. Black

Blog Feeds, EMail, etc.:

Subscribe by EMail RSS 2.0 Feed for www.pqInternet.com. Add to Google Toolbar
My Facebook Fan Page
Twitter

Free Updates via EMail

Receive Free Updates.

Free Products and Software.

Search

Link to Me!

How to Link to this Blog.

Products

Products I Use & Recommend

www.3WayLinks.Net

www.1WayLinks.Net

Free Traffic System

Wordtracker Keyword Research Tool

www.aweber.com Opt-In List Management.

1&1 Hosting

Categories

All

ClickBank

Copywriting

Free Videos

Funny

Internet Business

Internet Marketing

Life

Search Engines: SEO

Technology

Traffic

Truth and Freedom

Web Site Design, HTML, CSS

Recent Entries

Success is not Sticky - You Have to Hold the BALL!

Birthday Salute!

New Layout

What's the Value of a Link to SEO (Search Engine Optimization)?

Internet Business Ethics 101

Exploding Your Copy (and life) From Sissy to SEISMIC.

Long Tail Keywords

I'm a Slasher!

Start Your Own Home Internet Business with these 7 Easy Steps...

Ben Goss Wins Signed John Maxwell Book!

Social Networking Common Sense

Win a FREE, SIGNED Copy of John Maxwell's book: Talent is Never Enough...

We want you as a customer!

Scarcity: Fanning the Flames of Desire

Programmed to be Poor

All Entries

Recently Commented On

Success is not Sticky - You Have to Hold the BALL!

I've Removed The 'No Follow' Tag from My Blog - You Should Too!

Birthday Salute!

Long Tail Keywords

What's the Value of a Link to SEO (Search Engine Optimization)?

I'm a Slasher!

Social Networking Common Sense

New Layout

Archives

All

Blog Roll

Clayton Makepeace

Terry Dean

Ryan Healy

ProBlogger

Internet Business Resources Blog

Michel Fortin

G. Brent Riggs

Jonathan Leger

Mark J Ryan

Dr. Joe Vitale

Search Engine Journal

Friday Traffic Report

Links

Cell Phones for Soldiers

Front Street Playschool

Clebe McClary

the IconFactory

Fred Black Music

Daryl Laws Sports Performance Blog

Williams High School Booster Club

Jacob Ingle

Light Peak

EasyIRS.com

Web Hosting

My Recommended Web Hosting Service: 1&1 Hosting

Mugs, Mousepads, etc.

About this Blog...

By:Fred W. Black

Contact Information

Powered by:Movable Type 3.34.

Copyright 2006 -2010, PhaseQuest.Com.
All rights reserved.

Subscribe by EMail RSS 2.0 Feed for www.pqInternet.com.

Add to Google Toolbar
My Facebook Fan Page
Twitter
Add www.pqInternet.com, to Google. Add www.pqInternet.com, to My Yahoo! Add www.pqInternet.com, to My MSN. Subscribe to www.pqInternet.com, with Bloglines Add www.pqInternet.com, to Your Technorati Favorites! Add www.pqInternet.com, to Windows Live

rs

Some photos are by: Lee Hinshaw Photography

© Copyright 2006 - 2010 PhaseQuest, all rights reserved.

 

Get Free Updates!

Insert your name and e-mail address to receive a short notice each time I make a new post.

First Name:

Last Name:

E-Mail Address:

E-Mail again:

NOTE: You will receive a confirmation email. You must click the link in the email to activate your free updates. Please check your spam folder(s) if you don't receive the email.

*I value your privacy and will never sell, rent, giveaway, or abuse your information.