actually track visits correctly