What is the consensus on cold approaching and instead of getting the girl’s number, you give her yours once you have a good interaction?

I had this idea since that would filter out the girls who aren’t interested.

Do you think it’s a good plan?