I use to have a sign up that said “No Solicoters”. I would still get people stopping and saying “I’m not selling anything, I just wanted to....”
I typed out a note and attached it below the sign.
This includes people just offering information, political campaigns, donations, etc. If we don’t know you - do NOT ring the bell or knock.
I still had one guy knock and he was campaigning. “I bet you’re a Democrat - right!?” “Well yes I am and I’m running for ...” “Yeah - I could tell. Even with that note on there you STILL rang the bell. Ignoring the voice of the people. Again.”
One day I was outside and noticed a gal go up to the door to ring the bell and stop. Then left a pamphlet. I said hi as she walked away. “Oh - I didn’t mean to disturb you sir.” “No worries. And I bet you’re a Republican - aren’t you?” She was, and we had a short, pleasant conversation.”