Skip to content

tupski/WebVisitorLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log your website visitor and get their location.

What will be logged?

  • Date & Time
  • Google Maps link to locate your visitor
  • Visitor user agent. Usually show their device information like OS, used device, browser type and version
  • No database needed. It will automatically create and save data to log.txt

Preview

log.php

Screenshot-1

log.txt

Screenshot-2

Please note

  1. It will prompt location permission to visitor device
  2. If user refuse to allow location permission, it will not logged
  3. Location pin not 100% accurate, especially visitor who use desktop. For desktop visitor, it can still logging, but location inaccurate
  4. This script targeted to visitor that use mobile device/smartphone.

WARNING !

  • I WILL NOT RESPONSIBLE FOR ANY MISUSE OF THIS SCRIPT
  • I DO NOT SUPPORT ANY OF THE ILLEGAL ACTIVITIES.

About

Get your visitor location with PHP & Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published