added analytics plugin