E*Trade: Omniture SiteCatalyst implementation review including media attribution and optimisation


If you've ever been frustrated at the need for developers to add javascript tracking code, or you simply want to track pages like RSS and mobile pages where javascript is not allowed, then the following solution is for you.
We've done several server side solutions like this, such as the integration of phone calls into Google Analytics directly from the phone routing server (stay tuned for more!). I was reading through some articles researching and i came across an elegant post that i thought i should share:
http://www.vdgraaf.info/google-analytics-without-javascript.html
The PHP code to fake the image request for Google is as follows (also found at http://www.vdgraaf.info/wp-content/uploads/tracker.txt), although a similar technique can be used for Omniture or other platforms. This post is pretty old, but the code should still be fine, the principle is definitely still ok!Â
Oh and this is also useful if you want to add other information to your Analytics, but you want to keep it from prying eyes! If you find this post useful, you may also want to check out one of our posts on network packet sniffing, which is becoming a serious alternative to javascript page tagging. See http://blog.datalicious.com/atomic-labs-pion-implementing-omniture-withouÂ
Â
For more help with these types of integrations, contact us at insights@datalicious.com.Â
<?php
$var_utmac='UA-000000-1'; //enter the new urchin code
$var_utmhn='yourdomain.com'; //enter your domain
$var_utmn=rand(1000000000,9999999999); //random request number
$var_cookie=rand(10000000,99999999); //random cookie number
$var_random=rand(1000000000,2147483647); //number under 2147483647
$var_today=time(); //today
$var_referer=$_SERVER['HTTP_REFERER']; //referer url
$var_uservar='-'; //enter your own user defined variable
$var_utmp='tracker/'.$_GET['url'].'.'.$_GET['filetype']; //this example adds a fake file request to the (fake) tracker directory (the image/pdf filename).
$urchinUrl='http://www.google-analytics.com/__utm.gif?utmwv=1&utmn='.$var_utmn.'&utmsr=-&utmsc=-&utmul=-&utmje=0&utmfl=-&utmdt=-&utmhn='.$var_utmhn.'&utmr='.$var_referer.'&utmp='.$var_utmp.'&utmac='.$var_utmac.'&utmcc=__utma%3D'.$var_cookie.'.'.$var_random.'.'.$var_today.'.'.$var_today.'.'.$var_today.'.2%3B%2B__utmb%3D'.$var_cookie.'%3B%2B__utmc%3D'.$var_cookie.'%3B%2B__utmz%3D'.$var_cookie.'.'.$var_today.'.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D'.$var_cookie.'.'.$var_uservar.'%3B';
$handle = fopen ($urchinUrl, "r");
$test = fgets($handle);
fclose($handle);
switch ($_GET['filetype']){
case 'jpg':
header('Content-Type: image/jpeg');
break;
case 'gif':
header('Content-type: image/gif');
break;
case 'pdf':
header('Content-type: application/pdf');
break;
// add your own content types where needed
}
$imageurl = fopen ('http://www.yourdomain.com/'.$_GET['url'].'.'.$_GET['filetype'], "r"); //this is where the real file should be located
while (!feof ($imageurl)) {
$image = fgets($imageurl, 4096);
echo $image;
}
fclose($imageurl);
?>
Â


So what's the big deal?
I continually get to look inside the Site Catalyst implementations of various companies as they struggle to extract value from the product. Those implementations are usually done in such a way that future upgrades are extremely painful and time consuming, if not virtually impossible. Javascript page tagging is messy, but you can make it much cleaner by following the tips below.
Facebook plans to add a conversion tracking tool to its suite of advertising products based on demand from the marketplace. The platform will allow marketers to track clicks through conversion, Brian Boland, manager of direct response solutions for Facebook, told OMMA Social attendees in San Francisco on Tuesday.
Reports will provide a list of tracked conversions and the impressions and the clicks that led to each. The feature will help marketers build out messages as the campaign expands into a variety of pieces.
Boland also served up advice on how to calculate a cost-per-fan metric to determine the campaigns return on investment (ROI). Not only the cost to acquire a fan, but the fan's worth. "Some businesses have looked at it as the depth in which they have the community engaged and look at the downstream effects," he says, pointing to Starbucks and Threadless as two examples.
Read the full article here.
http://www.mediapost.com/publications/?fa=Articles.showArticle&art_aid=121357#
Update: Datalicious now Atomic Lab Pion reseller and integration partner for Australia.
Is implementing and updating Omniture page tags an issue for you? Atomic Labs's Pion Reactors provides a solution to process your website and campaign data server side and then insert it via the Omniture API. They also currently support sending data to Google Analytics and Unica.
In contrast to using a central JavaScript file to dynamically populate the Omniture variables based on page URLs, the Atomic Labs software taps into the network traffic stream and can then use any text within the transmitted data to create/modify additional variables and events via processing rules. At the same time you can also enrich your visitors click stream data from the website with profiling information from your CRM database using simple SQL queries and all in real-time, a great first step towards single customer view.
Why would you want to implement this?
Check out the Atomic Labs website below or email Hamish at hogilvy@datalicious.com for more information and implementation help.
Google has just added a function in Google Webmaster Tools that let’s you flag parameters you wish Google to ignore when crawling your site. These can include things like session IDs, additional parameters and tracking ids. This is great way of handling the problem rather than forcing the webmaster to implement expensive work-around’s to be found in Google which has historically been the case. Traditionally, sites that use session IDs as a way of tracking users or e-commerce, will have a disadvantage in search engine optimisation for a few reasons:
On the tracking front, and speaking from personal experience, flagging removal of tracking IDs is a big boost to data integrity. A recent campaign I worked on saw several blog and news site pick up a unique tracking URL to refer back to the clients site, a tracking ID that was meant to be unique for an email campaign. Google then decided to pick this URL up as it crawled through the sites and it ranked it well in search. The result was most of the search visitors appeared to the analytics system that they came from the email campaign and the collected data were significantly impacted.
Great news and makes life a lot easier for web masters and marketers stuck with this problem.
http://googlewebmastercentral.blogspot.com/2009/10/new-parameter-handling-tool-helps-with.html