It depends on the configuration of the Wi-Fi wireless access point though by default, many consumer routers do not log the websites visited by users. As a rule of thumb, do not connect to random Wi-Fi hotspots.