Internet Business Blog
« Previous | Home | Next »

 

Cloaking Your Affiliate Links

Share/Bookmark

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
Share/Bookmark

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

You may reprint or distribute this article as long as you leave the content intact, list me at the author, and include a link back to this web site... see this page: linking back to this blog.

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

Related Entries:


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.


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

RSS, EMail, Facebook...

Subscribe by EMail

RSS 2.0 Feed for www.pqInternet.com.
Add to Google Toolbar

Free Updates via EMail

Receive Free Updates.

Free Products and Software.

My Services

www.pqWorks.com

Search

Link to Me!

How to Link to this Blog.

Products

Products I Use & Recommend

www.3WayLinks.Net

www.1WayLinks.Net

30 Days to Change Your Life!

Z Plus Subliminal Clearing

Free Traffic System

Wordtracker Keyword Research Tool

www.aweber.com Opt-In List Management.

1&1 Hosting

Categories

All

ClickBank

Copywriting

Funny

Internet Business

Internet Marketing

Life

Search Engines: SEO

Social Media

Technology

Traffic

Truth and Freedom

Videos (free)

Web Site Design, HTML, CSS

Recent Entries

The Lost Art (and Appreciation) of Quality

Knowledge without Wisdom is Dangerous.

11 Reasons You're Failing

How to Change Your Life in 30 Days?

Barney Fife Chases the SEO Bandits at J.C. Penny

Have You Been Slapped by the Google Ranking Adjustment?

Advertising on Facebook

How to Use Social Media to Grow a Brick and Mortar Business...

Facebook Fan Pages and Static FBML Part 3: iFrames!

Facebook Fan Pages and Static FBML Part 2

Facebook Fan Pages and Static FBML - Part 1

Texting Social Media Updates - Useful vs. Useless

Success or Failure in an Internet Business Depends on Who's Looking Back at You in the Mirror...

Bullets from God - The Greatest Copywriter of All Time?

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

All Entries

Recently Commented On

Bullets from God - The Greatest Copywriter of All Time?

11 Reasons You're Failing

Facebook Fan Pages and Static FBML Part 3: iFrames!

How to Change Your Life in 30 Days?

Barney Fife Chases the SEO Bandits at J.C. Penny

Knowledge without Wisdom is Dangerous.

The Lost Art (and Appreciation) of Quality

Are you Fishing with Bird Seed?

Archives

All

Money Attracting Products

Make Custom Gifts at CafePress

Blog Roll

Do More Than Pray (.com)

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

Effortless Abundance

Friday Traffic Report

Links

Burlington Dance Center

Front Street Playschool

the IconFactory

Fred Black Music

Daryl Laws Sports Performance Blog

Williams High School Booster Club

Jacob Ingle

Light Peak

Repairing Canon Lens Error

Cell Phones for Soldiers

Web Hosting

My Recommended Web Hosting Service: 1&1 Hosting

About this Blog...

By:Fred W. Black

Contact Information

Powered by:Movable Type 3.34.

Copyright 2006 -2011, 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 - 2011 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.