C#
- Include StatHat.cs in your project. For ASP.NET websites: put StatHat.cs in the
App_Code
folder. - Make calls to StatHat. You do not need to create the stats first using the web interface.
StatHat.Post.EzCounter("YourEZKey", "messages sent - female to male", 1);
- Go to the New stats tag page to see your stats!