Updated site analytics code