added analytics connectivity