Correct name for logging

This is why visits weren't getting logged--because there was a name mismatch in the front-end and back-end.