Visit JS library is written in vanilla javascript. It gives you information that you can use to create better user experience.

You can get the library's latest version from API Delv.

Below is the cdn url that you can include it in your web page:

https://cdn.apidelv.com/libs/visit-js/visit-js.min.js

To get the information, you just call a function:

<script type="text/javascript">

	visitjs(function(data)
	{
		console.log(data);
	});

</script>

Full code:

<!DOCTYPE html>
<html>
<head>
	<title>Visit JS</title>
	<script src="https://cdn.apidelv.com/libs/visit-js/visit-js.min.js"></script>

	<script type="text/javascript">

		visitjs(function(data)
		{
			console.log(data);
		});

	</script>

</head>
<body>

</body>
</html>

Demo:

loading....

Just a side note...

This only works with "HTTP"... If your site uses "HTTPS", the HTTPS is a paid service. It will only cost you $5 per month for unlimited everything. If you are interested in that, feel free to contact me.