It depends on the referees. Especially in the USA, referee's punish a lot the slide tackles. Always be aggressive towards the ball and never the player.