Added analytics code

I thought it had since day one -_-