I also get heart palpitations and have known several people who also got palpitations. I still get them now with my anxiety, but I also started getting them with my last pregnancy and went and had testing done and the cardiologist said they were from being pregnant and I was told that I have extra beats and that can cause them too.
The other people I knew who had them also had some testing done and were told that it was stress related, caffeine related and from lack of sleep.
I would talk to a doc to make yourself feel better, but alot of times palpitations have no known cause and are harmless from what I have researched.