Track outbound clicks with Google Analytics and jQuery

Update: Make sure you check out the new _trackEvent method of the Google Analytics pageTracker method. If your analytics account offers event tracking, this is the right way to do it if you don’t want your events to count as pageviews. I’ve written a new post about tracking outbound clicks using the new method.

Sometimes, you [...]

Anchor-based URL navigation, Take 2

Update: I encourage everyone who arrives at this post to check out Ben Alman’s jQuery BBQ plugin — it provides a ton of functionality above and beyond what this plugin offers, is much more robust, and is built to take advantage of the latest version of jQuery. While you’re welcome to use the plugin on [...]

Anchor-based URL navigation with jQuery

Update: I’ve since written a anchor-based URL navigation plugin that attempts to capture what’s described below.

I’m working on an application that has several panels of content, each accessed by clicking on a link in the page’s main navigation. I wanted to give users the ability to get back to a panel after they’d left [...]