Archive for the ‘Coding’ category

The Affiliates Guide to Cheap VPS Hosting

April 30th, 2015

Web hosting can get expensive really quick, so in this post I want to talk about VPS’s and give you a nice spoonfed tutorial on how to set them up. We are going to be setting up a cheapo $5/month server running Nginx on Ubuntu. I learned all this stuff real inefficiently (took me far too long) so I wanted to write a very in-depth guide on VPS’s for all you affiliates and SEO’s out there who are looking to get cheap hosting.

First things first, what is a VPS and why would you want one? VPS stands for Virtual Private Server. It’s your own little computer (usually Linux) on the internet that will eventually (by the end of this tutorial) become your web server which you will use to host your websites.

What’s cool is that VPS’s are not just limited to being web servers. For instance, you could install VPN software on it which effectively cloaks your real IP address and makes browsing the internet far more secure from hackers. Instead of paying $5 or $10/month for a VPN service which you share with tons of other people, you can install VPN software (its free and called OpenVPN) on your own VPS so you have your own truly private VPN. There are also many SEO tools that can be run on VPS’s.

Maybe you are building a PBN and want to host each PBN domain on its own server (separate IP’s and all that) for as cheap as possible. Maybe you want to setup a Prosper202 tracking domain that can handle a decent amount of traffic for a new campaign of yours. I have a 1GB Prosper202 server that never crashed after doing some decently high volume Facebook campaigns (10 clicks/second at peak times). The only con is that you have to set them up and manage them yourself. But then again, that’s why I put together this post! To prepare you and give you all the information and resources you would need. For those who aren’t technical, you’ll be excited to know that we will be using a script called TuxLite that automates the entire server setup process. It’s very easy, all you need to be able to do is follow directions, copy/paste, and watch some Youtube videos which teach the basics on the Linux command line.

Ready? Let’s get started.
» Read more: The Affiliates Guide to Cheap VPS Hosting

Should You Learn How To Program?

June 24th, 2013

YES!

Look, basic programming is not very hard. I used to think that HTML, web design, programming, etc… was as difficult as learning a new language, like trying to read greek hieroglyphics or something. In reality, it’s more like picking up the rules to Texas Hold Em or something similar.

More importantly than that though, your campaign options will BLOW UP! There is a ton of free software and scripts out there that “do things”. Your campaigns become a bit more than a shady attempt at a conversion since they will now have a function. One thing I’ve noticed is how many websites basically rely on a single function. The majority of website owners didn’t write this software, they just assembled (eg copy/pasted) it into a website.

You don’t need to become a master. The basics, which only take a few weeks to learn, will take you so far. One idea that I always thought sounded complex is those websites that convert file formats for you. Like doc to pdf. I’d imagine something like that is super HARD, for the person who did it originally!

A doc to pdf website service is as simple as running a search like this: http://www.google.com/search?q=php+convert+doc+to+pdf. Running that search leads you to here!

If you click through that link, you’ll see some smart person ALREADY did that and provides the code. Using it in your website is as simple as copy/pasting it. You don’t have to be the guy who writes the code from scratch. This is the nature of programming, people share code. There are tons of open source projects out there (GitHub is good for this). You don’t have to be computer science major, you just need to learn the basics.

If you are looking for some tutorials, I wrote a post a long time ago that I still think is 100% relevant because I feel like it gives you the proper order to learn this stuff, from basic HTML/CSS to basic PHP. Here’s the link: http://www.trafficplusconversion.com/146/how-to-code-websites/

What’s cool is that once you start learning the basics, picking up other programming languages is easy. They are all pretty similar, at least in concept.

If you need some clarification as to how this is useful for an affiliate, leave a comment and I’ll explain some more specifics in the comment section.

Need Coding Help? StackOverflow FTW

December 29th, 2011

stackoverflow.com logo

From basic HTML/CSS to advanced programming, StackOverflow.com is THE best place to get coding help on the entire internet bar none! Shit, just take a look at some of the response times…

stackoverflow response time

Questions answered in under 1 minute! They’ve got an Alexa rank of 156 so pretty much every serious programmer is on there. This place has saved my ass a few times now.

All the talented people on StackOverlow are extremely helpful and will help out when you’re in a bind. If some coding problem is keeping you from making teh monies, now you know where to go! Best website ever and I had to post about it because it’s so damn useful.

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="http://yourafflink.com" 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.

<html>
<head>
<title>Processing</title>
<meta http-equiv="refresh" content="2;url=http://3.mikegeary1.pay.clickbank.net/" />
</head>
<body>
<img src="http://yourafflink.com" width="1" height="1" />
</body>
</html>

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 http://ProductNumber.VendorID.pay.clickbank.net/. 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.

13-Minute Video Teaches You Useful PHP

April 18th, 2011

Pretty much every tracking script out there uses variables on the end of links to pass information along. Here’s a quick example of a Prosper202 tracking link: http://domain.com/landingpage.php?t202id=51862&t202kw=xxxxx

Notice the ?t202id= and t202kw= at the end? Watch this short 13 minute video which explains in detail how these work. Judging by my stats, maybe 1 or 2 people are going through the videos listed on my html/css/php videos page, and since learning this little piece of PHP has helped me tremendously I thought I should devote a whole post to it.

Prosper202 relies on these variables and this short video will teach you how to make them your bitch! 😀
» Read more: 13-Minute Video Teaches You Useful PHP

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

Up Your Game: Learn The Basics of HTML/CSS/PHP (Videos)

November 26th, 2010

Why should you learn html, css, and php? So you can make (and test) landing pages! So you can set up tracking correctly. So you don’t have to outsource it and wait a week before your landing page is done. Learning the basics will only make you a better and more efficient (dare I say dangerous?) marketer. After all, this IS an internet business. Additionally, if the affiliate thing never works out, you could always become a web designer and make a great living from home.

The tutorials start with HTML and CSS, then to some PHP… and then move on to WordPress. Let me explain.
» Read more: Up Your Game: Learn The Basics of HTML/CSS/PHP (Videos)