Append Google Analytics Campaign Querystring Dynamically using jQuery

Friend Todd Baker sent me a solution via Twitter for a problem that I haven’t had an opportunity to develop a solution for. Since our blogs on Compendium are sometimes hosted on a secondary domain for a client, we’d like to pass Google Analytics campaign code to the primary domain so they can track visitors effectively. Another difficulty, though, is ensuring your bloggers always include a campaign code… something that should not be expected. The