Rudi Shumpert : Code By Numbers
26Jan/103

Tracking Page Load Times

One of my favorite things about ColdFusion is the level of detail you can get from the debugging information.  The ColdFusion server will provide upon request and the right permissions: variable scopes, sql query information,  server information, and execution / load times.  This is very useful information to have while coding and is invaluable when you are trying to optimize the speed and performance of the site. However, is it hard to get good benchmark for this data over time from the perspective of your end users.

Earlier this week, I set out to see if there was a way I could get access to the page load data and send it along to Omniture so that I could first get a benchmark of what the performance of the web site was over time, and second be able to tell if changes we made to the site had any impact on performance.

My first attempt in accomplishing my goal was to try and access the same Java object that the debugging code used to get the execution times.  I thought, well I see it in the output on the screen, it should be easy enough to grab that data element and pass it along.

8Jan/100

RIA Podcast

This week I had the chance to sit in on the RIA Podcast with a great group of fellow ColdFusion junkies. It was a blast, even if it ran late into the evening and even the next day. The podcast is produced by John Mason from CodFusion fame, and is recorded after the monthly Atlanta ColdFusion group meeting.

This episode covered everything from the release of the Flex SDK 3.5 to the new Nexus phone to the recent AOL - Time Warner split.

So if you are a fan of RIA items with an strong slant towards ColdFusion, Flex and the likes you should check it out!

-Rudi

23Dec/095

Who I am…. for now at least

Not long after starting this blog and becoming engrossed with social media and all things analytics, I posted an article "Who are you...at this moment?".  I looked at four social media profiling tools that gave you a rating or personality based on the information that you have posted, tweeted, shared, etc.

1) Persona
2) Twanalysis
3) Yahoo Mojo
4) Twitalyzer

As the end of the year is nearing, I wanted to go back and run these test again and compare the results from August to see how much my online profile/personality has changed since then.

17Nov/094

Save the referrals!

I ran across an interesting question on the yahoo web analytics group.

Paraphrased: If you have a short easy to share/print/send email like www.mysite.com/cool and that redirects to the user to a long ungangly url like www.mysite.com/much/longer/url/to/get/customer/to/admit/that/ie6/is/thedevil.htm. What happens to the referrer data/info?

Short answer? Most likely it is lost and your redirect will strip out that precious referrer data. But, it does not have to depending on how you have your redirects set up.

For this example lets assume that you use a common redirect folder called "redir" . So when you print or create a short easy to share email for your new campaign you want to sent out or shared.

www.site.com/redir/ie6isthedevil

And when a user types this in, or clicks on the link from an email they get taken to

www.site.com/its/true/ie6/is/the/devil.ftw

However, as the question above highlights, the referrer data from page to the short url is lost. Fortunately, this fix to this is easy. On the page that contains the actual redirect code, place this JavaScript in place.

<script language="javascript">
document.url = document.referrer;
</script>
.
.....
(redirect code in language of choice)

It merely copies the referrer data into the DOM URL object on the redirect page to pass it along to the long final url. Then all of your web analytic tracking code will function as expected. (I tested this in Omniture & Google Analytics)

That's it!

-Rudi

11Nov/090

Form Abandonment

NOTE: The code samples below are merely a proof of concept. This solution is not actively in place in any production environmetn that I am involved with.

I was talking to a fellow ColdFusion developer about a web site he was working on, specifically a registration form, and what were some of the best practices with form length and such that would facilitate users filling out the form and submitting.   This is a common issue with web sites that will not be going away anytime soon.  In fact the questions he had are the same ones I have seen in dozens of blog posts trying to figure this out.

  • How many questions to put on a form?
  • What type of questions work the best?
  • What question(s) scared off a user and kept them from completing the form?

I know that there are a few "Form Abandonment" plug-ins out there for Omniture and the likes, but from what I've seen the data you get is somewhat limited.   If your form has 20 elements on it and the plug-in only lets you know what the last element with focus was, you have to really think about the validity of that data.  How do you know for sure that the user filled out the elements in order?  Did the developer of the form set the tab index correctly?  Did the user glance at the form, click somewhere near the bottom and then bail?  Did the user fill out half the form the shut down the browser?

Get Adobe Flash playerPlugin by wpburn.com wordpress themes