Category Archives: How-To

Let your users decide your web site layout through A/B testing

I’ve been doing a lot of A/B testing on the landing page of a side project website I have called VIN-History.com.  The goal of the site is to capture organic searches for VIN numbers (the unique, 17-character serial number that every production automobile in the world has).  People put VIN numbers in Google to try to find more information about that car.  I try to give it to them (to the extent my database has any) and then help them find out the market value of the car, its maintenence schedule and how to buy a full vehicle history report from Experian’s AutoCheck.com.

How to test (plus some actual code):
There are a lot of ways to do this, but I’ve found that what makes the most sense is to give each unique session either version A or B for that session only.  If they close the browser and come back at a later date, they have a 50/50 chance of getting A or B.  If they hit the page you’re testing 10 times in the same session, they’ll always see either A or B, whichever they were assigned when they arrived.  This keeps things consistent and doesn’t distract or confuse the user.

Steps To Implement:

  1. In the main page that will call either verison A or B of the content, assign this visitor either “A” or “B” for the rest of the session.  First see if there is already a session cookie set.  If so, get the value.  If not, set one.
    A/B Cookie PHP Code
  2. $ab is the variable that holds whether the user is going to see version A or B.  Now, wherever you want to include the code you’re testing, you do a simple line that includes the appropriate file.  It helps if you can name the include file with an “A” or “B” in it to keep things simple.
    A/B Include Code
  3. Be sure you include Google Analytics tracking codes on the different actions you want to measure.  On my landing page, a user can do 1 of 3 things:  Get an AutoCheck report, find out the market value of the car, view the service schedule for the car.  All 3 are links or form POSTs that take the user away from the site.  Each action is worth something different to me and I’d like to measure which page layout yields better results for each action and overall less dropoff from the page (bounce rate).
    GA Code
    - The text ‘/ds-psr-a’ is completely arbitrary.  It doesn’t even have to be a valid URL.  It is just a unique string that will show up in the Google Analytics  report later as an action that was taken by a user.   For this particular action, I used /ds-psr-a and /ds-psr-b to track the same action on two different versions of the page.

The First Test

The goal is to test goal conversion on the VIN number landing page.  I’ll use this VIN as an example:  1N6AA07B55N529895
Here are the two versions of the landing page I decided to test first.  A is the original, B has some significant changes.  Both have the same 3 actions a user can choose from.

Landing Page version A

b

The Results:

After testing both versions for about 2 weeks, the results from Google Analytics were pretty conclusive:

  • Goal 1: AutoCheck Report:
    Goal 1: AutoCheck
    Version A sends almost 75% more traffic to AutoCheck than Version B does.  Interestingly, sales through AutoCheck remained constant.  This means that the leads being sent by Version B were more qualified and were converting much more efficiently.  Net-net: Version A wastes traffic by sending too many users to Experian when that may not be what they’re really looking for.  Pure gold!
  • Goal 2: Market Value Lookup:
    Goal 2: Value
    Versions A and B basically tied this race for the trial period.  This is not surprising, considering that on both versions of the page, the Value Goal is pretty much the “second” thing on the menu.  No action to be taken here.

  • Goal 3: Servicing Link:
    Goal 3
    Version B clearly converted on this goal better than Version A – 253% better.  A lot of these clicks were probably ones that would have been wasted on Goal 1.

Round 1 Conclusion: So, it’s clear that Version B wins here by converting on 2 of the 3 goals more efficiently.   Next step will be to come up with a new version B that can test a few more theories about converting even better.  That will be in the next post … stay tuned.

My Most Efficient (Yet Still Somewhat Inefficient) Digital Life Yet

For many years, new technology and gadgets have often wasted more time than they’ve saved. Only recently have I been mildly satisfied with my latest entanglement of services and devices that I rely on to run daily life. Here is my current run-down.

  • Email: I use my own domain(s) for email and Google Apps for Domains has been the best solution yet. I’ve been running it for about 16 months now after using MS Outlook for almost a decade. The free version has 6.5+GB of space and the Premier Edition gives you 25GB for $50/yr. It also allows you to POP3 or IMAP mail in/out of the system. I imported all of my old email so I can use the search feature (it’s Google, the search rocks) to go back over a decade of mail. A lot of people like to keep all their old email (like Mark Cuban, who should definitely check this out). Cost: $0.
  • Calendar: Google again. It comes with the Apps for Domains package. I like keeping multiple calendars (work, personal, financial/investment, birthdays) so you can turn them on and off as you need them. I also like the database of calendars Google keeps that you can search through and add to your own. That is the only way I know which sports games on are and when. Also, it finally 2-way auto-syncs with my BlackBerry with the new Google Sync for BlackBerry. Cost: $0.
  • Tasks: I still can’t figure out why Google hasn’t made even a primitive task manager part of their online suite that is slowly eroding Outlook’s market share. Until they do, I’ll be a faithful user of RememberTheMilk.com. It lets you create multiple task lists, set due dates, add notes and associate links all very quickly. They are also one of the earliest adopters and best users of Google Gears so the task system works when you’re offline and will sync later when it detects a connection. I use this on multiple machines throughout the day and it does a great job of staying in sync. The only thing they really still need is BlackBerry sync (they have a Pro Version ($25/yr) that syncs with iPhones or Windows mobile devices). Cost: $0.
  • Chat: Because I really only chat with people in my organization (which runs Google Apps), I really only need GChat (Google Talk). They have a great BlackBerry client, though, which can tell when you’re not at your PC anymore and will send chat conversations to your BB (which blinks red when there are new IM’s). All your chats are logged and searchable later (unless you tell it to go “off the record”) Works flawlessly. Cost: $0.
    • www.blackberry.com/GoogleTalk from your BB browser.
  • Phones: I still have 2 phones because I haven’t found one yet that is durable enough for all of life’s activities (and I like redundancy).
    • Motorola K1M KRZR (Verizon) – horrible UI but very small, durable and cheap/easy to replace if lost.
    • BlackBerry 8830 (Verizon) – A great device, though I’d use a Curve if Verizon carried it. And it obviously has a lot of support from the Google Apps.
  • Backups: Both desktop and web server backups are very important in my (and most peoples’) business.
    • Desktop files: I’ve been an avid user of FolderShare.com for quite a while now and it has always been there for me (it even survived being acquired by Microsoft!) It is a small desktop client that runs in Windows or OSX and monitors directories you tell it to watch for changes to files. When files are created/changed/deleted, they are sent to the other machines in your FolderShare network that are currently online. It does so in a peer-to-peer fashion so your files never touch a Microsoft server. You can also access all of your files via foldershare.com (as long as the client machines are on and connected). This has saved me countless times when I’ve been on the road and needed a file I forgot on my desktop. There is a lot of buzz these days around backing up to “The Cloud”, but I see no reason to move away from FolderShare anytime soon. Running it across my home and work machines has allowed me to stop paying for and bothering with expensive RAID arrays as well. Oh yeah, and it’s free.
    • Server files: I also have a leased Linux web server that I host a few non-mission-critical web sites on (like this blog, for instance). Even though it is not mission critical, I’d rather not lose everything when it inevitably dies. I also would rather not pay for expensive RAID gear or managed backup services. For this reason I use a nightly RSYNC via SSH to backup to another Linux web server. This isn’t an extremely process to set up, but if you do the following 2 how-to’s in order, you’ll be set. You’ll need some Linux CLI knowledge but nothing hard-core.

This technology changes and typically improves almost every month – especially the Google offering. I’ll probably end up jumping on the iPhone bandwagon, too, once the next version is released and they start using a real network.

You May Want to Call American Express After Reading This

I have a PO Box that receives all of my bills, etc. because for some reason I felt that USPS would be reliable in this domain where they have failed in so many others. When I visit the post office to fish mail out of this box every two weeks or so it is invariable overflowing with direct [junk] mail advertising. I’ve used services like CatalogChoice.org to successfully end delivery of unwanted catalogs and some of the mail is from organizations that I’ve donated money or property to (which is sad because now when I get ready to donate to an organization that I haven’t donated to before I get a flash of my overflowing PO Box getting fuller yet). None of these junk mail sources, however, compare to the venerable American Express marketing machine. I am a card holder of their’s but am on the paperless billing system so literally none of the mail they send me has anything to do with my account. In fact, they often try to get me to sign up for the very card I carry in my wallet. I get probably 10-15 pieces per month from them ranging from credit card offers to vacation offers to mortgage offers.

Having recently been inconvenienced by this waste of paper and time spent at the post office, I decided to give their general customer service line a call (800-528-4800) to see if there was anything I could do to stop the flow. Their always-friendly agent responded immediately to my request to be removed from the direct mail list as if she’d been training for it for months. She then went into script mode and quickly read me the list of things I was being opted out of. Within seconds I zoned out and tried to politely let her finish (for some reason I feel guilty hanging up prematurely on overly-polite customer service people). A few key words in her monotone caught my attention, though, so I grabbed a pen and asked her to repeat the list, more slowly this time. Here is how it read:

“You are now being opted out of the following programs with American Express:

  1. Telemarketing
  2. Banking offers
  3. Offers from 3rd parties (little scary)
  4. Amex news (huh?)
  5. Affiliate sharing of credit history & report (WOW)
  6. American Express sweepstakes”

The entire call took about 3 minutes and after letting my mind wander on #5 for another 3 minutes, I decided to post this entry.

Incidentally, this got me search for other opt-out stories and I came across this nice and compact opt-out script.

Quickly Add US Holidays to Google Calendar

I don’t know why they don’t do this by default.

  1. Click “Manage Calendars” on the left
  2. Click “Add Calendar” Button
  3. Click “Browse Calendars” tab
  4. Click “Add Calendra” next to whichever country’s holidays you want.

Now how about a sweet blackberry Google Calendar application like the Gmail for blackberry?