I love dogs, but what would you have done?

i let my dog go no more than 2 or three feet into someone elses yard and if she does go in someone else yard I make sure that i clean it up. i clean it up anyway but i do an extra good job if its in someones yard. also if someone says to me "please dont let your dog go in my yard" i respect that and i dont.