Stop counting while debugging

Jul 23, 2010 at 1:45 PM


I'm using Analytics Framework in my application, and I would like to know the best way of stop couting events and sending them to Google Analytics while I'm developing and testing the code. I was thinking about using a precompilation directive to "disable" the component while in debug mode. Not sure if this is a clever thing to do.

Any suggestions?