Archive for May, 2008

Tracking Clicks On Landing Pages

Tuesday, May 27th, 2008

One of the essential things to do when driving traffic to a landing page and beyond (to your affiliate offer) is to track the clicks on the links. I also like to make the link appear to be still on my site and cloak the destination.

Like other marketers, I like to use “go” in the URL so the visitor is expecting to go somewhere but they can’t simply type in the URL of the offer page, they will have to click to find it out.

Today I put together a simple “splash page” which is a minimalist advert page designed to display rapidly and generate clicks to a lead capture page. I am trying this out on a traffic exchange. I had minimal success with traffic exchanges before but they are frequented by people looking to make money online. So I feel there must be a way to channel them away from the scams and towards standard, proven affiliate marketing training.

On this page, I used a vertical banner to the left of the Ad copy with the link to the affiliate training offer from clicks on the banner. I used a link of the form: mysite.com/affiliate-offer/?go=proof If people change this URL, they won’t go anywhere except back to my site.

To redirect them to the affiliate offer, I append some PHP code to the page. The page is index.php in a sub directory of my site.

Here is the redirection code:

< ?php
if (isset($_GET[‘go’])){
//Track clicks on the links and redirect the browser

//Click log
$fn = "log/".date("d-m-y").".txt";
$fp = fopen($fn, "a+"); //Create the file or open it

//Get visitor data
$ip = getenv("REMOTE_ADDR");
$agent = getenv("HTTP_USER_AGENT");
$ref = getenv("HTTP_REFERER");
$t = date("H:i");
fwrite($fp, "$ip\t$t\t$ref\t$agent\n");
fclose($fp);
 
$loc = "Location: AFFILIATE_URL";
header($loc); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
}
?>
 

Replace AFFILIATE_URL with your affiliate link.

This code also logs all the clicks with a time stamp and other data such as IP address and user agent. So you can tell genuine people from robots.

In your subdirectory you need to create a “log” directory and CHMOD the directory permissions to 777 (with FTP software such as FileZilla). Then you can browse the log files that are saved by the script.

How the script works:

when a visitor clicks on the link (link/?go=whatever), the page is re-loaded but the GET variable “go” now has a value, so the script is triggered.

The visitors data is captured and stored to the log file, then they are re-directed to the offer page.

This is not the only way to do this but one I like to use for simple tracking purposes not involving 3rd-party services.

Adsense Results

Monday, May 26th, 2008

After a week of split testing Adsense I have a clear winner for the Ad format that generates the most revenue on my test page.

I worked out the Earnings per Click (EPC) and the Click Through Ratio (CTR) for each Ad and compared the figures.

The Ad formats that I was comparing were the 728×90 text unit and the 350×250 text unit. The 350×250 Ad had both the highest CTR and EPC. Multiplying the improvement in CTR and EPC gave an overall improvement in potential earnings of 42%.

So this comparison was well worth doing and I will switch over to the higher performing Ad unit for this particular page.

Update: 

LOL I haven’t switched to a fixed Ad format yet since the  728×90 text unit produced more revenue a day or so ago, so I am now thinking to continue with the eCPM balancing idea for a month or so.

Something I didn’t mention before is the visitor irritation factor. The thin-wide Ad unit is more visitor friendly to my eyes so this is another reason I don’t completely want to let it go.

Build a Niche Store (BANS) Results

Saturday, May 24th, 2008

As you may notice, I am advertising Build a Niche Store (BANS) in my sidebar. Now I have been using it long enough to earn some revenue and evaluate it’s performance.

First of all I would like to say that it is a top quality script, the best I have experienced in the way it works in the admin area. Also, it lends itself well to making highly keyword optimized web sites. Checking my visitor stats, I see that the long tail keywords are being found in the search engines.

So the script definitely gets the thumbs up from me.

How about the money-making potential?

With the script I created one new website, added the eBay feed to 2 of my existing content sites and created a fashion store to add to a classified Ads site.

I did most of this work this month so it is early days. And, I haven’t put much effort into building links to these sites. The overall stats are as follows:

Impressions: 2155 Clicks: 414 Earnings: 2.58 GBP (~$5 USD).

So the eCPM is about $2.32 in my case which is acceptable I think since people have to visit your site, click on an item, place a bid and win the auction before you get paid.

The CTR is high too (19.2%) which suggests highly-targetted visitors.

Also, it takes days for the auctions to end, so there is this lag to consider.

Conclusion: it works and could be a good complement to Adsense on your content sites.

To get higher revenue would involve generating more traffic to the sites and picking higher ticket price auction items. Also, there should be some peaks in the income if people register as new eBay users.

So, I look forward to implementing some more niche sites.

Update:
Soon after posting this I got a spike in earnings so I guess I should have more patience. Here is a graph of earnings (orange GBP {x2 for USD}) vs clicks to eBay:
ebay1.png

The spike was mostly due to a new eBay user registering which nets a whopping $25!

Balancing Adsense Split Testing

Sunday, May 18th, 2008

In my last post I mentioned how I was testing 3 Ad Formats and it took me very little time to eliminate one of them that was very bad for my particular page. So now I am back to 2 Ad formats to compare.

To accelerate the test results and not waste potential earnings in the process, I decided to weight Ad exposures according to eCPM.

For you folks not up to speed with Ad performance, eCPM is Earnings per 1000 Ad Exposures so eCPM of 50 means $50 earned on average for 1000 exposures of a particular Ad.

So if you have 2 Ad formats in random rotation in the same spot, you will get different values of eCPM for each Ad. However it may vary over time of day and throughout the week, month or season.

So you don’t necessarily want to eliminate the lower performing Ad since it may be a better performer at various times.

So if Ad A has eCPM of 3 and Ad B has eCPM of 7 (depending on what time frame you evaluate it), the optimum way to display the Ads is to show Ad A 3% of the time and Ad B 7% of the time and adjust these ratios as more data is made available.

Basically, what this means is that you are still testing both Ads but should not lose much in earnings by still displaying the current lower-performing Ad. It’s not rocket science but it is not far off ;-) Don’t worry, I was good at math when I was at school.

The easiest way to do this is to use my script and manually adjust the eCPM values as you check your Adsense stats. Then you can choose how often you do this and work out what works best to optimize your own profits.

Here is the PHP code to integrate with your web template in the position where you want to split test your Adsense code:

< ?php
$e1 = 12; // eCPM value as an integer for Ad 1
$e2 = 6; // eCPM value as an integer for Ad 2
$max = $e1 + $e2;
$choice = rand(1,$max);

if ($choice <= $e1) {
?>

Adsense code for Ad 1

< ?php
} else {
?>

Adsense code for Ad 2

< ?php
}
?>

As usual, please remove the space in “< ?php”.

PHP Code to Split Test Adsense

Friday, May 16th, 2008

I was just reading a post on Pro Blogger regarding How to Split Test (A/B Test) Your AdSense Ads and had a light bulb moment.

This year I have watched my Adsense earnings gradually improve to useful levels and got keener to create more opportunities to earn Adsense revenue. But it never occured to me to split test Ad Units to see which work best on my sites.

I need a slap on the head since I have been creating testing software and not applying what I already know to maximum effect on my own sites. I may have left $1000’s on the table? Like when I was slow to initially embrace Adsense a few years ago.

I think it was because Adsense uses Javascript and you aren’t allowed to alter the code that you generate in your member’s area, I didn’t think it was possible to split test the Ads automatically.

But of course it is, it is no different to editing your pages manually to try different Ad units to see which work best.

What I did within minutes of reading Darren’s post was to login to my Adsense account and check out my highest earning Ad channel. The channel is a tag that you apply to Ad units to track their performance.

This particular channel is applied to a wide 728×90 text unit which tends to show 4 Adword Ads side by side. So I am excluding the square Ads which may be a mistake.

It’s possible that the square Ads may generate more revenue due to higher higher bids and CTR. So it is worth testing this theory. Let’s see.

The 3 Ad sizes I am testing are: 728×90, 300×250 and 250×250

What I did was to generate new code for each of these Ad units with their own channel tag. So now I can randomly rotate between them and compare earnings to tell which format works best on my page.

Here is the code I wrote to randomly rotate these 3 Ads in the same position on my php page:

< ?php
$choice = rand(1,3); //Choose a random number between 1 and 3

switch ($choice) {
case 1:
?>

Javascript code for Ad format #1

< ?php
break;
case 2:
?>

Javascript code for Ad format #2

< ?php
break;
case 3:
?>

Javascript code for Ad format #3

< ?php
break;
}
?>

p.s. where you see < ?php you need to remove the space (a problem due to the code high-lighter).

Hopefully, the above code is self-explanatory and you can easily modify it to suit your needs. For example, you can cut and paste it to a PHP template file.

This should be fun. I look forward to reporting my results from this test.

Optimizing Adsense Ads

Sunday, May 11th, 2008

One of the easiest ways to make money from a website that gets a good amount of pass-through traffic is to help visitors exit your site via Google AdSense.

Earnings range from a few cents per click up to over a dollar per click depending on the quality of your web pages and the quality and relevancy of the visitors to your pages, so please consider this before you dive in and plaster your site with Ads.

If you are not registered yet, it is free via a monetization button.

To make this work well, you need the Ads to be relevant, well positioned on your pages and blended in with your site theme.

Google publish hotspot data to suggest the most frequently clicked areas on a web page. These tend to be biased towards the top left corner of the page.

The hottest part is after the first paragraph of your main content [Heat-Map Image]. But you don’t necessarily want most of your visitors leaving your site immediately. Do you ???

My suggestion is that once they are ready to leave and they were not interested in buying your products and services or they simply had enough excitement on your pages, then make it easy for them to exit via AdSense or whatever relevant Ads you provide rather than your visitors simply closing their browser window.

I already mentioned positioning Ads in the hotspots such as in the article. You can also position Ads at the end and to the sides of your content.

I favour links at the end of articles e.g. link units and tower images or Ad units to the right side, depending on how it integrates with your page.

To get an idea for what Adsense Ads are likely to show up, you can actually test it live on your site. Also, you can select the geo-targeting you are after and play around with color schemes before you commit to your Ad formats and positioning.

To get hold of the free tool, surf to: this URL and download the AdSense Preview Tool.

After following the instructions to install it, you need to fire up Internet Explorer (enter a web URL into the Windows Explorer address bar if you are like me and normally use FireFox or another web browser). Then, when you right click on web pages, you will have access to this tool to preview what kind of Adsense Ads may appear on your site.

Credit to Dr. Andy Williams - ezSEO for making me aware of this tool via his newsletter.

p.s. I just noticed that the AdSense for search feature has been enhanced to allow you to help your visitors perform relevant searches that could result in generating revenue for you. Before you had to jump through some hoops to set up a custom search to monetize the search activity.

If you have any questions on what may have been advanced topics, please don’t hesitate to ask a question in the comments:

Adding Value to IPN Script

Friday, May 9th, 2008

Well I finished the IPN script and did some testing but didn’t have time to create a user guide, also I think it should have an administration back-end so it is as easy to use as possible.

So unfortunately I am going to slip my goal to release this week. But it will help in making my 3 initial products have a common look and feel which will enable them to work well together.

ipn2.gif

Thank you for your patience.

PayPal IPN Script

Tuesday, May 6th, 2008

In my previous post I mentioned about the imminent launch of my first product. Well, this product is ready apart from the sales page. In the process of setting up the product delivery system, I decided to turn my IPN script into a product too. If you don’t know, IPN (Instant Payment Notification) is one of the ways you can automate your product payment with PayPal.

With IPN you can send a download link by email to a buyer of your product and log the transaction in a database. IPN is the most secure way to do this rather than the other method PDT which relies on a buyer proceeding to a Thank You page to get the product. The problem with this is that they may stay on the Pal Pal site and wonder, where is my product. Or, the URL of the Thank You page may end up in Alexa search results so anyone can search for the download page of your product.

The Thank You page should only really be used to thank the buyer and remind them to check their email for details of the transaction and comply with PayPal’s Thank You page requirements.

I have one PayPal business account but multiple products and sites, so I also wanted a solution to send buyers to a particular Thank You page, send them a download link by email (or not if they are paying for a service) and be able to test multiple sales prices.

This is easily done with non-encrypted buy buttons, but I wanted to use encrypted buy buttons. This prevents people changing the price and avoids having to check that the price is correct with a database look-up. The reason I don’t want to verify the price is so it becomes easy to split test various prices. I simply have separate button code for each price.

I also made the code easy to integrate with testing software where the IPN script pings the relevant conversion goal file.

So in summary, this new script allows you to set up unlimited, automated product sales pages where you have an encrypted buy button on the page and hooked into one PayPal account. Also, it ensures that your buyers get their product details delivered and facillitates accurate tracking of sales conversions.

I will aim to release this product this week. Stay tuned…