
It could be in part excitement or it may be a submissive gesture - good news is that whichever it is she will ougrow it but it will take some effort and patience on your part :)
If over excitement then make sure that no-one over fusses her when she meets them, inside or outside of the house. Ask visitors to completely ignore her on entering, you can then take her calmly outside to empty her bladder and then quietly introduce her to the room they are in - but request they don't invite her over to be fussed or even talk to her. After a few minutes when she is sufficiently settled they can then calmy say hello, but keep things low key. When outside, ask others you meet if they too will not immediately fuss her - try and chat to them yourself for a few minutes before they make any attempt to greet her.
One thing I'd stress is important is that you don't tell her off *at all* - just try and ignore the accidents & clean them up thoroughly with biological washing powder to remove the scent. It may take a little time to resolve but it's actually quite a common problem with pups - it will be easier though if you can identify the cause as being either excitement or submissiveness. HTH, regards Teri :)