swap old analytics code