Permalink
Browse files

Added user tracking

  • Loading branch information...
1 parent 08ab55a commit 6c914cea96679941aa28f686b8a512549ce1b93f davideweaver committed Jan 2, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 loggr-js/README.markdown
View
7 loggr-js/README.markdown
@@ -17,6 +17,13 @@ and apikey which can be found thru loggr.net
var log = Loggr.logs.get("YOUR-LOGKEY", "YOUR-APIKEY");
+### Tracking Users
+To track users of your app use the following statement:
+
+ Loggr.Log.trackUser(userName, emailAddress, [page]);
+
+(fill in the appropriate userName and emailAddress of your user, we will use the current web page path if you don't provide one)
+
### Reading Events
There are 3 methods for reading events: get(), query() and getData().
You can try this out here: [http://jsfiddle.net/xkNjs/](http://jsfiddle.net/ez4aH/)

0 comments on commit 6c914ce

Please sign in to comment.