Add Google Analytics and production fixes