Forum:Need help adding counter to all pages

On the Nintendo Wiki I am trying to add an invisible counter to all pages that counts views. I found a thread here on how to do this, but that didn't work. When I did what that thread said all of the Javascript on the Common.js stopped working. Does anyone know how to do this?


 * My Tests
 * MediaWiki:Common.js
 * MediaWiki:Common.css


 * I just need to add the code to each page of the wiki. Does anyone know how to do that?