fixed analytics bug for guests