Combining with a pheromone to initiate a change in cell activity. A pheromone is a substance used in olfactory communication between organisms of the same species eliciting a change in sexual or social behavior.