I have to say I love Google's free Google Analytics tracking service. After implementing in many sites, I found the need to either add ip addresses (via the admin) to block or comment/uncomment the script tags during different build scenarios.
Needless to say, I don't like either of those approaches. So I created the Google Analytics server control. The server control is very simple and only exposes 1 property for writing out the account id in the page.
Simply drag the control on any page, set it's account id and it will do the rest. It uses the latest script which will add the proper script to match the protocol of the page. The best part is it will only render the script if the web application is built in release mode.
Next, I'd like to add a hyperlink control that will allow you to track outbound links.
Here is the binary and the source.





