visitor.js Gives You Real-Time Information on Your Website Visitors

Personalize Your Site for Each Visitor

visitor.js is a small piece of JavaScript that provides you with information on your site's visitors, so you can target them with custom-tailored content:

  • Welcome visitors from Australia with a "G'day."
  • Refer returning visitors to your "Tutorial" section.
  • Provide special discounts for visitors who included "free" in their Google search.
  • List product prices for European visitors in Euros.

All that and more is possible with visitor.js!


Script Features

The "visitor" object gives you access to a wide range of data on each visitor:

  • Country and city
    Please enable JavaScript to see the output of the script.
  • Date of last visit
    Please enable JavaScript to see the output of the script.
  • Referring website or search engine (including search term)
    Please enable JavaScript to see the output of the script.
  • Time spent on the website
    Please enable JavaScript to see the output of the script.
  • Browser and operating system
    Please enable JavaScript to see the output of the script.
  • Mobile device
    Please enable JavaScript to see the output of the script.
  • And much more ...

How to Get Started

Just one line of HTML code is required to add the visitor.js script to a web page and get you started:

<script type="text/javascript" src="http://www.visitorjs.com/visitor.js?key=YOUR_KEY"></script>

Please be sure to replace "YOUR_KEY" with your personal visitor.js key, which you receive when you sign up for an account. For a complete list of the script's features including commented example code, visit the API Documentation pages.