Munchkin is the JavaScript snippet you put on your website. It tracks visits, clicks, and form fill outs. It also has a rich API to do all sorts of cool stuff.
Check out the developer page on Munchkin to learn more.