Analytics code now only happens in production again