fixed analytics code

Including a .js file is not enough, the code needs to be in the page's
source. Thus, use php include instead.
remove deprecated articles