For those of you lucky enough to be using Reinvigorate (reinvigorate.net) which is a new, free, tracking system like analytics, but prettier, this may be of help.
Reinvigorate offers what they call Nametags. So, when you see the sessions that are going on on the site, you will see the actual user, not just a random string. Now, I putzed with this for a good couple of hours until I hit on the solution, which I will post here. The solution uses the if logged_in and if logged_out variables.
{if logged_out}
re_("xxxx");
{/if}
{if logged_in}
var re_name_tag = "{username}";
re_("xxxx");
{/if}I embed this in the headers include so that it’s on every page. Also, replace the xxxx with your tracking code which you find on the reinvigorate control panel.
Update: It ate the javascript, but you can get the idea.