Mine goes almost everywhere with me. Had to install an evaporative aircon and large battery in the car for the hotter days. Fortunately I'm self employed so I can take regular breaks to check on her.
A King Charles spaniel is a rather clingy breed.

My previous dog preferred being at home.
This comment probably doesn't help you much in your instance, and others have offered useful logical advice. It's how I solved it in my unique case.
What type of dog do you have?