Satellite + SessionCam in less than 5 mintues

Just this morning I read about a new session replay technology called SessionCam, and being the inquisitive type I wondered how long it would take me to implement the code on my blog here.  I signed up for the free trial account at 7:22 AM and after completing the form I was prompted to go ahead and download the tracking scripts while they provision my SessionCam account.

I downloaded the code below.  It is your standard javascript embedded inside HTML snippet.


<!-- www.SessionCam.com Client Integration v4.1 -->
<script type="text/javascript">
//<![CDATA[
var ServiceTickDetection=function(){var g=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var f=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var e=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function b(){var i;var j;var k;try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");i=j.GetVariable("$version")}catch(k){}if(!i){try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");i="WIN 6,0,21,0";j.AllowScriptAccess="always";i=j.GetVariable("$version")}catch(k){}}if(!i){try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");i=j.GetVariable("$version")}catch(k){}}if(!i){try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");i="WIN 3,0,18,0"}catch(k){}}if(!i){try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");i="WIN 2,0,0,11"}catch(k){i=-1}}return i}function d(){var o=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var n=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var i=navigator.plugins["Shockwave Flash"+n].description;var m=i.split(" ");var k=m[2].split(".");var p=k[0];var j=k[1];var l=m[3];if(l==""){l=m[4]}if(l[0]=="d"){l=l.substring(1)}else{if(l[0]=="r"){l=l.substring(1);if(l.indexOf("d")>0){l=l.substring(0,l.indexOf("d"))}}}var o=p+"."+j+"."+l}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){o=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){o=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){o=2}else{if(g&&f&&!e){o=b()}}}}}return o}function h(n,l,k){versionStr=d();if(versionStr==-1){return false}else{if(versionStr!=0){if(g&&f&&!e){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var m=versionArray[0];var i=versionArray[1];var j=versionArray[2];if(m>parseFloat(n)){return true}else{if(m==parseFloat(n)){if(i>parseFloat(l)){return true}else{if(i==parseFloat(l)){if(j>=parseFloat(k)){return true}}}}}return false}}}function a(){if(g){window.attachEvent("onunload",function i(){try{var l=document.body.getElementsByTagName("object");for(var j=0;j<l.length;j++){if(l[j].parentNode){l[j].parentNode.removeChild(l[j])}}}catch(k){}})}}function c(){}return{DetectFlashVer:function(j,k,i){return h(j,k,i)},GetSwfVer:function(){return d()},Version:function(){return"4.1"},setUnloadHandlerForIE:function(){a()}}}();(function(d){ServiceTickDetection.setUnloadHandlerForIE();var e,f,a,b,c;e=ServiceTickDetection.DetectFlashVer(9,0,0);if(e){document.write('<object id="stflashob" style="display:inline;position:absolute;top:-100px;left:-100px;" class="ServiceTickHidden" width="1" height="1" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">');document.write(' <param name="movie" value="'+window.location.protocol+'//d2oh4tlt9mrke9.cloudfront.net/Record/swfhttprequest.swf" />');document.write(' <param name="allowScriptAccess" value="always" />');document.write(' <embed id="stflashembed" width="1" height="1" src="'+window.location.protocol+'//d2oh4tlt9mrke9.cloudfront.net/Record/swfhttprequest.swf" class="ServiceTickHidden" allowscriptaccess="always" type="application/x-shockwave-flash"></embed>');document.write("</object>")}f=document.createElement("script");f.type="text/javascript";f.src=window.location.protocol+"//d2oh4tlt9mrke9.cloudfront.net/Record/js/sessioncam.recorder.js";document.getElementsByTagName("head")[0].appendChild(f)})();
//]]>
</script>
<!-- SessionCam -->

I logged into my Satellite TMS account and went to the rule creation pages. Created a new SessionCam test rule and since I did not want to spend any time stripping out the HTML tags or other code manipulations I pasted the entire code snippet as is into the HTML scripts section of the new rule:

Screen Shot 2013-01-25 at 7.31.44 AM

 

 

That is it.  I saved the rule and published the code and I was done!  A quick check in the console to see if the code was firing, and by 7:25 am I had installed the SessionCam using the Satellite Tag Management Solution in far less time that it took me to write this post.

This is the power of Satellite.  No templates required when your system is just this good.

 

Leave a Reply to MitchellT Cancel reply

Your email address will not be published. Required fields are marked *

Are you human? Or are you Dancer? *

One thought on “Satellite + SessionCam in less than 5 mintues”