Build visits model after filter and analyze browser history