Monthly Archives for September 2009

 

Omniture Image Request Counter

A little while ago I wrote about how A Robust SiteCatalyst Implementation Could Fail In Internet Explorer. In the article I point out that IE does not like any URL’s that are over 2083 characters. Recently I have had some issues with a few sites where I think they may have been running into this problem again. I would always use Firebug or Tamper Data to look at the actual image request, copy that and drop it into one of the various free ‘character counting’ tools that are pretty abundant all over the web to make sure that the Omniture image request URL is not over 2083 characters. This can get pretty time consuming. I figured there has to be an easier way to do it. Behold the Omniture Image Request Counter.

Omniture Image Request Counter is just a simple JavaScript bookmark, very similar to the Omniture Debugger tool. What this does is takes a look at the image request and counts how many characters are there. Very quick, very simple.
Omniture Image Request Counter

Download a copy of the code here
or
View a copy of the code here

Here is how to use it:
1. Take any web page and create a bookmark (or favorite depending on what you call it).
2. Right-click the favorite you just created.
3. Click Properties.
4. Delete all text from the URL field of the Properties window.
5. Paste the following code into the URL field of the Properties window.

javascript:var%20j=document.styleSheets,i=document.images,r='';for(var%20x=0;x<j.length;x++)if(j[x].imports)for(var%20y=0;y<j[x].imports.length;y++)if(j[x].imports[y].href.toLowerCase().indexOf('/b/ss/')>=0)r+=j[x].imports[y].href+"\n\n";for(var%20x=0;x<i.length;x++)if(i[x].src.toLowerCase().indexOf('/b/ss/')>=0)r+=i[x].src+"\n\n";for(w_m%20in%20window)if(w_m.substring(0,4)=='s_i_'&&window[w_m].src)if(window[w_m].src.indexOf('/b/ss/')>=0)r+=window[w_m].src;void(alert('The%20Omniture%20image%20request%20contains%20'+r.length+'%20characters.'))

6. Click OK

Now navigate to any page that has Omniture SiteCatalyst code and click this new bookmark that you just created. You will get a pop up that tells you how many characters are in the Omniture image request. If you are using Internet Explorer and the image request is over 2083 characters then you need to review your web analytics code and make some changes to your SiteCatalyst implementation.

Track the Number of Your Twitter Followers in SiteCatalyst

I am a huge fan of the Twitter Analytics plug-in from OmnitureTwitterAnalytics.com.
In case you don’t know, the plug-in is a fully configurable feature designed to track brand popularity by capturing comments from Twitter into Omniture SiteCatalyst in real time. It is based on the Twitter Integration concept that was introduced by Adam Greco at Omniture Summit 2009.

I have been using it for many months now, recently upgrading to the latest version, but I still wanted more. Using the plug-in I know how many people are discussing my brand, but how many people are following my brands Twitter profile? How good are we doing at attracting followers and keeping them? I know I can just go right to twitter and see how many followers I have there, but that’s no fun. I want all my data right in SiteCatalyst! How many followers did I have yesterday, or last week? How did that tweet we put out there at 3pm do in attracting new followers? Did we lose any because of it?

One of the sites I work with is ForRent.com. They have a twitter profile, @AptsForRent, and they have been working on building a following. I decided to use them to test out to see if I could automatically record the number of followers they have each hour, every hour, and trend it over time.

Based on the code from OmnitureTwitterAnalytics.com I decided to see what I could do to use the Twitter API to look and see how many followers we have, and the Omniture Data Insertion API to insert that number into SiteCatalyst once an hour. I choose to do it only once an hour, since the smallest time granularity we can get in SiteCatalyst is hourly.

Download the Twitter Follower Tracking Code

First thing you need to do is to set up a new event. Make sure it’s set up as a numeric event, not a counter. Then take the php code and fill in the following variables:
$namespace = “YOUR_NAMESPACE_GOES_HERE”; //Namespace of your Omniture account
$domain = “112.2o7.net”; //This should not change UNLESS you are using first party cookies
$rsid = “REPORT_SUITE_IN_SITECATALYST”; //Name of the Report Suite we are sending data to
$tweetUser = “TWITTER_NAME”; //Twitter user name to track
$successEvent = “EVENT_NUMBER”; //Event you are going to use

Now set up a cron to run the code once an hour. If you set it more than once an hour it will take your follower count and sum it together for that hour. If you do it less than once an hour, then you will be missing data. So remember, once an hour.

OK so what do we get? Pull up the report for the event you chose to use. Be sure to look at it at a hourly granularity. If you look at daily totals, then you are going to see the grand total number of your followers each hour summed up. So if you have 100 followers, never gain any or lose any for an entire day, looking at that report on a daily granularity will say 2400. So remember, view the report hourly.
Twitter Follower Report
By viewing the report you can see how many followers you had each hour. You can go back in time and see how many followers you had at 4pm on Thursday and how may you had at 1am on Sunday. Now you know if that “joke tweet” you did at 2pm cost yourself 8 followers, or gained you 6.

Enjoy!

SiteCatalyst’s New Marketing Channel Manager – First Look

As many of you may have noticed, there is a new menu available in the SiteCatalyst Admin Console. It was released with the 9/16 maintenance release. It is currently in a closed beta and should go live before the next maintenance release. Have not seen it yet? Well if you have admin access here is what to do. In the Admin Console select Report Suites. In the Report Suite Manager, select any one of your sites and then mouse-over the Edit Settings link. Now you should see something similar to this:
SiteCatalyst Marketing Channels
Here we see a new menu item called Marketing Channels with 5 more menus beyond that, Marketing Channel Manager, Marketing Channel Rules, Marketing Channel Costs, Marketing Channel Classifications, and Visitor Engagement Expiration.

OK so what is it? Well no one at Omniture will say yet, but by the look of the menus it appears to be some form of the Unified Sources Vista Rule and the Channel Manager plug-in. Lets hope it is. That is an extremely popular and powerful Vista rule (and expensive), and the plug-in is extremely heavy in weight, and is challenging to maintain. So if this is that added functionality then prepared to get a lot of great value from this new addition.

UPDATE: From what I hear this is supposed to go into public beta in November 2009, and be released Q2 2010. Anyone attending the Omniture Summit in early 2010 will probably hear much more about it then.