Simple JavaScript trick to boost Christmas conversions by 10% – Code Included!

Posted by 2 Comments

Hot off the conversion press and just-in-time for Christmas.

Last year we posted about our Merry Christmas v. Happy Holidays test we ran for one of our clients. This year we decided to create a Christmas timer that you could download and instantly implement on your site!

If you’ve followed our blog before, you know that creating a sense of urgency for your users to act usually increases conversions. Since we practice what we preach, we decided to run a headline on one of our client’s websites doing just that. We tested a headline that reminds them how near Christmas is. We came up with 2 variations of this headline: one that just states the days, and another that states the days, hours, minutes, and seconds and counts down in real time.

The test:

Here’s the countdown:

And here’s a larger version:


Validity notes: This test ran on a site that gets more than 4,000 conversions a day. It was declared a winner with over 95% confidence in less than a week. Additionally, conversions are actual end-goals, not just clicks to the next page.

Why does this work?

It emphasizes the urgency.

Here’s a simple experiment to make the point. Try to do any task in one minute. Now try to do the same task while having your friend audibly countdown the time left for you every second. The latter scenario is far more stressful. Your heart starts pumping, sweat starts beading on your forehead, and adrenaline starts coursing through your veins. While we’re not trying to invoke stress in our users, we do want them to notice the urgency. Typically conversions increase when your users have slight pressure to make a time-sensitive decision as soon as possible.

For years advertisers have known that it pays to announce “Limited time offer!” We’re taking that same concept to the next level.

It catches their eye.

Remember those early banner ads that caught your attention by flashing bright colors at you? Same thing here. Although we’d like to think we’re being a little more polite.

Things that move catch your attention. It’s a science fact. What do camouflaging animals do when they are trying to hide from their predators in plain sight? They hold still. Not moving allows things to blend in and be overlooked. And the opposite holds true too.

The Downside to this test: Depression sinks in the day after Christmas… You’ll have to turn this winning variant off and it’s back to the baseline.

Here’s our Christmas gift to you

If you’d like to use this on your site, just customize the following code snippet. Here’s the HTML that will display the countdown:

<span id="xmascounter"></span> until Christmas.

 

Here’s the JavaScript that will keep it ticking:

function calculateXmasCounter() {
    //calculate
    var now = new Date();
    var xmas = new Date(2012, 11, 25, 0, 0, 0, 0); //Xmas 2012 (be careful: 11 is December)
    var hoursleft = 23 - now.getHours();
    var minutesleft = 59 - now.getMinutes();
    var secondsleft = 59 - now.getSeconds();
    var daysleft = Math.floor((xmas - now) / (1000*60*60*24));
    //format 0 prefixes
    if (minutesleft < 10) minutesleft = "0" + minutesleft;
    if (secondsleft < 10) secondsleft = "0" + secondsleft;
    //display
    document.getElementById('xmascounter').innerHTML = daysleft + " days, " + hoursleft + ":" +minutesleft + ":" + secondsleft;
}
calculateXmasCounter();
setInterval(calculateXmasCounter, 1000);

Download the source files right here!

 

Contact us today to increase your Conversion Rate . . .

We put our money where our mouth is – click here to contact us today and learn how we can drastically increase your website conversion rate for no money up front, and backed by our $10,000 guarantee!

 

2 Responses to Simple JavaScript trick to boost Christmas conversions by 10% – Code Included!

  1. Justin Garza says:

    You are a saint, and an over all gentlemen.

  2. Justin M. says:

    Awesome. Looks really nice too. Wow, only 13 days until Christmas — I better hurry up and implement this! ;)

    Thank you!

Leave a Reply

What is 13 + 7 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)