Connecting Tech Pros Worldwide Help | Site Map

Implementing web analytics tags

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 23rd, 2007, 11:35 PM
Chris
Guest
 
Posts: n/a
Default Implementing web analytics tags

I'm implementing my own primitive web analytics package. I'd like to add
javascript tags to pages so I can track usage. Most of the packages out
there ask you to include something like this in your pages:

<script
src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script
type="text/javascript">
_uacct = "my_account_num"; urchinTracker();
</script>

(This is an example from Google Analytics)

I can't make heads or tails of the javascript in urchin.js, though. Does
anyone know what it is doing, exactly?

My guess is that it is capturing the URL of the page, and then issuing a
fetch to another page that passes that URL on, but I'm not sure how to
do that in Javascript.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.