Description: Count Visits with Cookies - Send User To Correct Page is multi-platform compatible. This JavaScript example counts the number of visits to this site (page). It uses that information to send the user directly to the correct page on the site (via a parameter). A test-only variable should be set to false to turn off the test mode.