Archive for the ‘Scripts’ category

Easily Fetch the Top Keywords in any Market with this…

August 21st, 2012

Konichiwa, bitches.

A few months ago I made myself 2 helper files which help me quickly locate the correct subcategories for both the Google Keyword Tool and the Google Insights for Search Tool … and I figured I’d let you guys use them.

In order to quickly grab a list of top keywords in any market/niche, you simply need to find the correct subcategory that represents the niche/market you wants keywords for, select it and search with a blank keyword. Doing this returns a nice list of top keywords without you having to do any mental thinking whatsoever.

Search using no keywords to get them ALL

The part that is an absolute bitch is finding the correct subcategory to begin with, without stumbling around within the tool itself, so I made 2 helper files to help you with this part…

  1. Category Map: Google Keyword Tool
  2. Category Map: Google Insights for Search
  3. ( both tools have different category structures unfortunately )

Using these helper files, you can use CTRL+F to search the page for keywords and hop from section to section easily. Once you find subcategory you are interested in, take a mental note and then go to the keyword tool and waste no time navigating to that subcategory. As soon as you get the category selected, you got niche specific keywords!

The Google Keyword Tool does allow you to search by keywords in the interface, which is awesome, but I made a category map for it anyways. It’s nice to be able to casually scroll around and look at the entire category structure without clicking anything.

This tool is best used with the information I posted here and the strategy explained here. Wappah!

How to Bypass a Clickbank Sales Page

December 20th, 2011

It’s really easy. All you do is drop your affiliate cookie and then redirect to the order page. Since you dropped your tracking cookie before redirecting to the order form, Clickbank will track fine and see you as the referring affiliate.

Doing this enables you to control and split test your own sales pages for any Clickbank offer and gives you amazing flexibility when it comes to promoting offers.

courage wolf affiliate advice

Can’t direct link because it’s got a fucking exit pop? Re-create it yourself without the exit-pop.

Is the owner shamelessly building an email list off your traffic and diverting the sale? Build your own (better) page without the optin box.

Seriously, how many sales pages on Clickbank are complete shit? How many need to be split tested? How many would you be embarrassed to show people in real life if they were your own? A huge percentage of them.

How to Drop the Cookie

All you do is put your affiliate link in an <img > tag and drop it on your page somewhere. Like this….

<img src="" width="1" height="1" />

Whenever somebody loads a page that has that code, your affiliate cookie gets set – it acts as if somebody actually clicked your affiliate link. This is referred to as “cookie stuffing” and there is a right and wrong way to go about it.

The wrong way is to stuff cookies on your sales page (index.html) and drop a cookie on every single visitor. If you get caught, chances are you will get kicked out because you’d be getting sales that you really don’t deserve.

The right legit way is to drop the cookie on the redirect page (order.php) and then send people straight to the order form. Here is a code example of what your order.php page would look like.

<meta http-equiv="refresh" content="2;url=" />
<img src="" width="1" height="1" />

By doing a meta refresh set to 2 on order.php, the browser gets an extra second to completely load the page which is just to ensure that the cookie gets dropped. Just know that the meta refresh must be set to at least 1 so the cookie actually drops. You could add a little loading icon in there for effect if you wanted as well. It would probably be smart to add some tracking code in there as well (Clicky FTW).

Redirect to the Order Form

The format for order form links on CB is Inspect the merchants sales page and hover your mouse over the “Add to Cart” button. That’s the link that goes straight to the order form and where you redirect people to after you drop the cookie.

Check out my demo page if you’d like to see a working example. When you click on the order button, it will drop my cookie and redirect you to the Clickbank order page. On the bottom of that page, you should see my example affiliate id: funkyslut

Why Do This At All?

Because most sales pages don’t convert well with cold traffic and being able to split test the merchants sales page yourself gives you a huge advantage when it comes to monetizing your traffic.

Fucking sales pages these days. They all take that standard formula that hasn’t changed since 1995: Centered text, big red headline, ugly graphics and hype-fueled adcopy. I can tell a sales page just by glancing at the template, and chances are your vistors can too.

Don’t you think the template alone might create some buyer resistance? We all know that people don’t like being sold to. Why not split test a page that looks like a sales page with a page that looks more like an article? And then split test headlines and openers until you find that magical appeal that blows everything else out of the water.

Pre-Poppable Email Submits & Staying Off the Scrub

April 20th, 2011

A lot of people like to run email submit offers, but I bet you didn’t know many of them are already setup to be pre-poppable, did you? Even if nothing is mentioned in the description at the CPA network, simply try appending & to your affiliate link and see if it works.

If &email= doesn’t work, also try & and see if that does it. If that doesn’t work either, then chances are that email submit is not pre-poppable – but try asking your AM to be sure.

Pre-Poppable Email Submit

Why Is This Useful?

» Read more: Pre-Poppable Email Submits & Staying Off the Scrub

Hide Your Affiliate Link In The User’s Browser with Javascript

December 24th, 2010

Hide Your Affiliate Link with Javascript
» Read more: Hide Your Affiliate Link In The User’s Browser with Javascript

PHP Script – Redirect Based on Country

December 21st, 2010

I first learned about this script from on his post Monetizing International Traffic. This script will redirect users from specific countries to wherever you’d like them to go.

This is useful when your CPA offer automatically redirects based on country and you are having a tough time getting it approved, or when you are optimizing a campaign and need a way to redirect traffic from a certain country to a different offer.

A lot of times traffic sources will send you some international traffic even though your campaign is set to a specific country, so it makes sense to send those visitors to an offer that accepts their country.

Step #1: Download Geo-IP Plugin

—> Download

(some people are saying they can’t download the file. I don’t know what the hell they are talking about, but it’s on this page if the link above fails)

Step #2: Use This Code in Your Redirect File

// ccr.php - country code redirect
$geoplugin = new geoPlugin();
$country_code = $geoplugin->countryCode;
switch($country_code) {
case 'US':
case 'CA':
case 'GB':
case 'IE':
case 'AU':
case 'NZ':
default: // exceptions

Here it is in .txt format so you may copy/paste without any quotes getting screwed up. If you are confused by the look of that code, you should check out the basic html/css/php page.


I like to store all my outbound links in its own folder, so for this example let’s say the folder we are working in is – here is what it should look like.

geoip redirect

Now, whenever somebody goes to they will be redirected to the links you set based on the country they are in. Here is a full list of country codes.