ColdFusion User Group Presentations
At the February 2010 Atlanta ColdFusion User Group (ACFUG) meeting & at the ColdFusion Meetup I gave a presentation on working with Omniture & ColdFusion. I based the presentation on a blog post I wrote last September.
As promised here are the presentation materials:
- Presentation
- Blog Posts with examples from presentation:
- Code Samples
- Tools / Links Referenced:
Bonus Resources:
In addition to numerous articles I have posted here on my blog, below are some great resources related to Omniture and web analytics in general. If you have questions or comments, please leave them below.
Omniture Resources:
Web Analytics Resources:
- Occam's Razor
- Web Analytics Association
- Beyond Web Analytics - Podcast
- Web Analytics Land
- The Empty Mind
Books:
-Rudi
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.
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
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?
Pathing: Internal Search Analysis. (not just for page views)
When I was at the Omniture training class a few weeks back, the instructor mentioned that an advantage of storing the internal search terms in a s.prop was that you could get pathing enabled on the s.prop and you would then be able to see not only what your visitors were searching on, but how they refined their search.
Note: After you choose which s.prop you are going to use to store/capture the data in, you will need to contact Omniture Client Care to get pathing enabled for that s.prop

Where does your path take you?


