Adds new analytics code

Just adds the new google analytics code and prevents to load if not in production.