Track() public method

Whenever a user triggers an event on your site, you’ll want to track it.
public Track ( string id, bool anonymous, string eventName ) : void
id string
anonymous bool
eventName string The event name you are tracking. It is recommended /// that it is in human readable form. For example, "Bought T-Shirt" /// or "Started an exercise"
return void
Example #1
0
 public static void Track(Client client)
 {
     client.Track(userId, "Ran .NET test", new Properties() {
             { "Success", true },
             { "When", DateTime.Now }
         }, DateTime.Now);
 }