No it's not just hitting something to get credit. You get credit based upon reaching performance levels. If you're a tank its based on enmity, DD is by damage, and healer by healing or probably doing support magic too.

Spamming flash as a glad is the most effective way to get gold in fates, coupled with shield oath for the 2x enmity boost. So it's not just tagging.