I do a lot of this and I reccomend Google analytics and statcounter.com. Both have free versions and rely on javascript.
I run many different campaigns that track visits, clicks, visitor paths etc..
I also manage email campaigns for multiple companies. Through the use of campaigns, goals...