I will not pretend to have all the answers but I can say that using shock treatment is not tolerated here. Rubbing the pets nose in it will not help either.
What I had been when we brought our boxer home at 8 months and she was constantly using the inside of the house as an elimination is to...
Layla "talks" to me when she needs me to give her a fresh bowl of water inside. Now when she is outside she loves to drink from the hose.
Inside or out it does not matter she drips a lot of water after taking a drink
I agree with scheduling an appointment with the cardiologist.
When we initially rescued Layla she had kennel cough too. What you are describing is exactly what she had.
Prayers being sent hoping that you get some results for your furbaby.