installed analytics plugin and removed nonworking code