• en
  • fi
  • sv
  • fr
  • nl
 

User tracking

If your website has a section that requires your users to sign in, then you will probably want to know more about the behavior of those users compared to the “anonymous” users. This module is designed for any kind of site with some form of user authentication.

This section requires technical settings of the tag. You'll need a full access to the source code of your website to enable it.

Installation

For privacy reasons, Netmonitor will not try to track your user individually by itself. If you want Netmonitor to be able to distinguish a user signed in into your website from an anonymous user, your website has to instruct Netmonitor tag everytime it's a signed in user. It can do so by passing any kind of identifier: numeric ID, username, email… This identifier will then be displayed to you in your Netmonitor interface. It's totally up to you to decide what identifier you want to use for Netmonitor. We respect the privacy of your users, and we do not use this identifier for other purposes than aggregating your stats, and displaying the results back to you.

You need to modify the tag like so:

var netmonitor = new nmTracker(YOUR_SITE_ID);
netmonitor.track({
	user: 'INSERT_HERE_USER_IDENTIFIER'
});
} catch(error){}

This is an example for a website running PHP, and using default session mechanism to store user identifier. We assume user are authenticated with their email address.

var netmonitor = new nmTracker(YOUR_SITE_ID);
netmonitor.track({
	user: '<?=$_SESSION['user_email']?>'
});
} catch(error){}

More in the tag options page.

List view

Once the tag is correctly configured, you will begin to see statistics about the users that signs in your website.

 
en/nm_guide_users.txt · Last modified: 2011/07/25 17:48 by benoit