Quantcast
Channel: Adam Greco at Web Analytics Demystified » Data Quality
Viewing all articles
Browse latest Browse all 5

Quick Tip: Track Your Omniture JS File Version [SiteCatalyst]

$
0
0

Have you ever had someone run a report in SiteCatalyst and come running to you saying something like this?

This report doesn’t make sense…There is obviously a tagging issue and you need to fix it ASAP!

If I had a dollar for every time this happened to me, I’d be a rich man!  The truth is, that after many wild goose chases, the problem is not usually tagging related (note you can use tools like ObservePoint and DigitalPulse to verify).  But if it ever was tagging that caused the issue, it was usually related to the release of a new JavaScript file.  That has been the culprit many times for me over the years.  Therefore, in this post, I will share a trick you can use to easily find out if data issues you might be experiencing might be related to a new JavaScript file release.

Tracking Your JavaScript File

So how can you use SiteCatalyst to determine if a new JavaScript file you released is wreaking havoc on your data?  For example, let’s imagine a scenario where the morning of May 18th, you started seeing some strange data irregularities (possibly by checking Data Quality as described here!).  Here is what you need to do:

  1. Each time you create a new version of your JS file, assign it a version number (i.e. 0.5, 0.8, 1.2)
  2. Pass this version number into a tool that can store it and let you know when it sees the version number change
  3. Look at a report that shows you when the version number value has changed (what date it changed and at what time)

Sounds easy right?  If only we knew of a tool into which we could pass data, have it be time-stamped and report upon changes in version number values…Hmmm….Where would we find such a tool??

Obviously, we already have that tool and it is SiteCatalyst!  We can use the tool we know and love to track each version of the JavaScript file by simply passing in the version number of the file into an sProp on every page (and yes, I get the irony that we are using a JavaScript file which sets a beacon to enable tracking to track itself!). By doing this, we will have a historical record of when each JavaScript file was released.  After you pass in the JavaScript File version you will see a report like this:

Here we can see the distribution of page views related to each JavaScript file version.  In this case, we have been busy and have had four JavaScript file changes in one month!  However, this report isn’t super-useful in answering our initial question: Were the issues we saw on the morning of May 18th related to a new JavaScript file release?

To answer this question, all we have to do is to switch to the “trended” view of this report and we will see a report like this:

Now we can start to see the flow of JavaScript file updates.  Looking at this report, we can see that we moved from version 0.5 to version 0.7 (poor version 0.6!) on May 18th… This might support our hypothesis, but to be sure, we can look at this report by hour on May 17th & 18th and see this:

 

Now we can narrow things down to an hour and it looks like the JavaScript file did, in fact, change around 9:00 am on May 18th.  As you can see, the simple action of taking the administrative step of keeping your JavaScript file in an sProp can provide an easy way for you to do some sleuthing when you are in a pinch!

Additionally, if you want to further test your hypothesis, you can isolate data that is related to a specific JavaScript file to see if it represents the issue you are seeing.  To do this, simply use DataWarehouse to create a segment that only pulls pages that had data collected using a specific JavaScript file version as shown here:

 




© 2010 Web Analytics Demystified | www.webanalyticsdemystified.com


Looking for a new job in web analytics? Check out the Web Analytics Demystified Job Board!

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images