Custom Visitor Names

Screenshot of custom visitor names in action

Get to know the people on your website. By double clicking any Visitor ID in LiveStats, you can label each visitor with a name that means something to you or your team.

Even better, if your Site already has a user system in place, you can enable LiveStats to show the names of your users whenever they're signed in.

Setting Up Automatic Visitor Naming

Automatic visitor naming is really easy. All you need to do is get your scripts to insert the user identifier (this could be a username or an email address for example) for logged-in users inside the following snippet of javascript, which should be placed in your tracking code after the definition of GoSquared.acct:

GoSquared.UserName = "USER_IDENTIFIER";

So, your tracking code would look something like:

<script type="text/javascript">
    var GoSquared={};
    GoSquared.acct = "GSN-1234567-A";
    GoSquared.UserName = "USER_IDENTIFIER";
    (function(w){
        ... etc ...
    })(window);
</script>

Remember to replace USER_IDENTIFIER with the username/email/name/your label of choice for the signed in user.

LiveStats will then start automatically labelling your users so you can tell who's doing what! This functionality is not limited to just naming your signed in users. You could use it for many identification purposes - for example, labelling users who have paid for a certain product on your site, or users who have acheived certain browsing goals. This feature is extremely handy in many cases, so use your imagination!

 

Last modified: 4 March 2011 18:38
Get Satisfaction
Follow us on Twitter
Send us an Email
Call us +44 (0) 20 8144 0401