Would you only need a rabies shot if there's blood or marks?

Not necessarily. If you have come into contact with materials infected with rabies - mucosal contact could also be problematic. Please seek medical care if you believe you have been in contact with a rabid animal or the secretions/feces of a rabid animal.