added code for stats on the page views (not sure it works though)