Lessn More: An open-source personal URL shortening service.
There’s got to be an easier way … bookmarklet sends current url to web service which launches a pop-up window like WordPress “Press This.” Service presents default options for shortening service and analytics campaign code. User selects [Twitter|Facebook|LinkedIn] chooses correct GACT code, submits. Service shortens via bit.ly api adding in google analytics tracking code and displays the shortened url selected in a form field (like v.gd). User copies via cmd-c or ctrl-c, clicks close button on pop-up window (which closed pop up window and opens new window loading [Twitter|Facebook|LinkedIn].