Landing Pages

How to Place a “Last Updated” Script on your Landing Page

If you are running traffic to any sort of landing page, you can help keep it looking fresh to your visitors by placing a script on the page that will keep the “last updated” date looking recent.

In the top right-hand corner or somewhere, you can plug something in to say “Last Updated On: August 20th, 2011”. Every time a visitor hits your page, it will automatically change and display the previous day in the “Last Updated On”. Your visitor is going to see this and see that you keep your site up to date, and they can really satisfy what they’re looking for. Here’s how to add this. Insert this at the very very top of your index file :

<!–?php $yesterday = date(‘m/d/Y’, mktime(0, 0, 0, date(“m”) , date(“d”) – 1, date(“Y”))); ?–>
and then where you want the text in your page, paste this :
Last Updated On : <!–?php echo $yesterday ?–>

Simple scripts you can add to your LP to make more money

I’m gonna keep this post simple and to the point.  There are a couple scripts you can add to your landing page that will almost certainly increase both CTR and conversion rates.   The first the Current Date Script, and the second is the GeoIP script.  The current date script allows you to have the date shown on your page (whether it be the date of comments, or at the top of the page) dynamically change based on the date the visitor arrives at your page.  The GeoIP script allows you to have the Country, Region, City of your web visitors display on the page.  Having these scripts placed on your page (in the right spots, of course) will make your landing page seem more relevant and current to your visitors, and will be sure to help them click through to the offers you are promoting.

Current Date script (simply copy/paste):


/*Current date script credit:
JavaScript Kit (
Over 200+ free scripts here!

var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
var dayarray=new Array(“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”)
var montharray=new Array(“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”)
document.write(“<small><font color=’000000′ face=’Arial’><b>”+dayarray[day]+”, “+montharray[month]+” “+daym+”, “+year+”</b></font></small>”)


Note: In order to use this Javascript on your website, you must provide a link back to the website.

GeoIP script:

<script language=”JavaScript” src=””></script>

<br>Country Code:
<script language=”JavaScript”>document.write(geoip_country_code());</script>
<br>Country Name:
<script language=”JavaScript”>document.write(geoip_country_name());</script>
<script language=”JavaScript”>document.write(geoip_city());</script>
<script language=”JavaScript”>document.write(geoip_region());</script>
<br>Region Name:
<script language=”JavaScript”>document.write(geoip_region_name());</script>
<script language=”JavaScript”>document.write(geoip_latitude());</script>
<script language=”JavaScript”>document.write(geoip_longitude());</script>
<br>Postal Code:
<script language=”JavaScript”>document.write(geoip_postal_code());</script>

Note: In order to use this Javascript on your website, you must provide a link back to the website.

Colors and landing pages

I asked my friend to do a guest post on the role colors play in a landing page.  His name is Jon and you can check out his site at


Hey everyone, I’m a friend and co-worker of Mike and he asked me to do a brief post about design and its implication in affiliate marketing. I think it goes unsaid that good design and copy can be the difference between a good CTR and a poor one. Your design can communicate the facade of a well-respected company or a dead-beat scam. Choosing a good color for the theme of your ad can help conversions immensely. In the spirit of the holidays I’m going to focus on three specific ones – red, green, and white. Although running your own split tests with different colors for your campaigns is always the best way to find the right color for the job, this small list can help guide you in the right direction:

Red: Possibly the most vibrant color in the spectrum is known to incite thoughts of power, energy, passion, desire, and/or love. It is known across cultures to symbolize importance and action. What does this mean for your ads? For one, these associations are deep in the audience and using a color besides it to imply emotions of love or anger simply won’t convert. Take a look at the market, how often do you blue dating ads that work? Red is also a popular color in the Biz Op space, used to try and incite the user into acting quickly on the offer.

Green: Often a sign of growth, green is universally seen a positive sign. Physically it is the easiest color for the eye to associate with and can relax the audience through thoughts of calm and rest. Looking at our current situation and the thunder the word “green” has behind it these days, it can be a powerful marketing tool. From promoting sustainability to encouraging the thought of money – green can be extremely successful.

White: It’s power might not be obvious, but white can be amazingly powerful at highlighting content in an ad or on a landing page. Whitespace allows the reader of your ad eye’s time to adjust and digest content at a comfortable rate. This is especially true in line spacing for text. A pure white background can signify credibility because your product appears to stand alone.

Color can be a great mechanism to provide subconscious messages to your audience, and its power shouldn’t be underestimated. Next time you run a campaign, pay special attention to the colors used in your ads and on your landing pages.

Till next time,