Hi All.
I'm wanting to add usernames and usergroups to my stats if possible.
Reading the help files for the stats I need to add the following code to my pages.
PHP Code:
<sc ipt ty ="text/javascript">
var clicky_custom = {};
clicky_custom.session = {
username: "bobjones",
group: "sales"
};
</sc ript>
<!-- your hypothetical tracking code, which must go after clicky_custom -->
<scr pt src="http://static.getclicky.com/js" type="text/javascript"></s ri pt>
If I add this to my footer template is it possible to get vb to automatically add the users username and usergroup into the bits about.
Also is it possible to put this in a if statement so that it only adds it to users that are logged in.