adding conditions for analytics testing