How to Track Page Names in a Community Server Website with WebCEO’s HitLense

Posted on May 14th, 2008 in General | No Comments »

Here is a quick and easy way to track page names in WebCEO’s HitLens analytics application by changing a couple variables in the tracking script. This works perfectly in Community Server 2008!

First let’s take the original code generated by HitLense:

<!–WEBSITECEO:BEGIN:{764EEF2E-BC11-45CF-8627-300CE1BA2219}–>

<!–
Do NOT modify this script to avoid traffic misrepresentation!
Web CEO 4 0300/1
Code initially inserted into: “index.aspx”.
–>

<script type=”text/javascript”><!–
// hitlens v1.2.7
function hitlens_embedded() {
var id = 123456;
var pc = 0;
var PAGENAME = escape(”);
var CONTENTGROUP = escape(”);
var TRANSACTION = escape(”);
var TRANSACTION_ID = 0;
var ORDER = escape(”);
return “id=”+id+”&pc=”+pc+”&p=”+PAGENAME+”&gr=”+CONTENTGROUP+”&tr=”
+TRANSACTION+”&trid=”+TRANSACTION_ID+”&ord=”+ORDER;
}
//–></script>
<script type=”text/javascript” src=”/webceo.js”></script>
<!–WEBSITECEO:END:{764EEF2E-BC11-45CF-8627-300CE1BA2219}–>

Now lets add a quick line of code to the var PAGENAME = variable:

var PAGENAME = document.title;

What this will do is pull the page’s title and post it in HitLense.

The default tracking code HitLense generates also throws in the following comment that needs to be removed completely:

<!–
Do NOT modify this script to avoid traffic misrepresentation!
Web CEO 4 0300/1
Code initially inserted into: “index.aspx”.
–>

Also make sure to leave the var pc = 0; at 0. The var pc is a unique page identifier, if you use specialized tracking (like above) instead of the wizard-driven setup then you’ll definitely need to keep it at 0 or your going to run into some problems.

Your final tracking code should look like this:

<!–WEBSITECEO:BEGIN:{764EEF2E-BC11-45CF-8627-300CE1BA2219}–>
<script type=”text/javascript”><!–
// hitlens v1.2.7
function hitlens_embedded() {
var id = 123456;
var pc = 0;
var PAGENAME = document.title;
var CONTENTGROUP = escape(”);
var TRANSACTION = escape(”);
var TRANSACTION_ID = 0;
var ORDER = escape(”);
return “id=”+id+”&pc=”+pc+”&p=”+PAGENAME+”&gr=”+CONTENTGROUP+”&tr=”
+TRANSACTION+”&trid=”+TRANSACTION_ID+”&ord=”+ORDER;
}
//–></script>
<script type=”text/javascript” src=”/webceo.js”></script>
<!–WEBSITECEO:END:{764EEF2E-BC11-45CF-8627-300CE1BA2219}–>

Good luck!

Does Facebook beat Myspace in Traffic? Nope!

Posted on November 26th, 2007 in General | No Comments »

I always saw this coming but of coarse there isn’t an exact measurement for who has more traffic, I can only rely on Alexa.com, Compete.com, and a couple other analytical tools. There is a lot of buzz right now about how Facebook has more traffic than Myspace using Alexa.com & Compete.com - that buzz is wrong.

compete.pngalexa.png

What I think? FaceBook dominates MySpace up and down - for the time being that is. A lot of people claim that the 1 dimensional page like FaceBook and MySpace will soon be a thing of the past and 3D worlds will become an everyday thing. I completely disagree - 3D worlds take too long to load and waste a lot of time (finding people, communicating, etc); white pages like Facebook get to the point and do a great job at it. Cars have 4 wheels and work great, do you think future cars will have more wheels? Probably not but I bet the features and efficiency of cars in the future will be much greater. Catch my drift?

The future of social networks will be more efficient, right to the point, and even faster. Do you think I am wrong? Fill me in on what I’ve missed and where you think social networks will go.

facebook1.pngmyspace.png

BTW I think MySpace blows. ;)

FeedBurner Feeds Blocked in China?

Posted on October 6th, 2007 in SEM/SEO | No Comments »

Check out this neat tool to check and verify if your website is accesible in China. From what I hear RSS feeds seem to work fine but any feeds through FeedBurner seem to be blocked, can anyone verify this? I have no need to reach China surfers but I can see this being a problem for people who do.

Website Test behind the Great Firewall of China