Loading javascript on every 'page' load

Loading javascript on every 'page' load

This seems like a basic thing, but how can I run some javascript on every "page" load? Let's just start with integrating web analytics (I use GetClicky) on every page.

I've found several posts where people have created hacks to work around the way jQuery Mobile loads pages, but this seems like a no-brainer that will need to be (easily) supported. Or am I missing something?

After that, I'd like to figure out how to make jQuery work with Adsense because that's also a challenge right now without some hacks.