Skip to content

5w0rdf15h/simpletracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplecounter

If you have multiple websites (say 100+) and you don't want to share information about your visitors with Google or any other third-party service, simpletracker is your choice! All it does is it saves all data about your visitors into text files which you can analyze as you wish. Further tutorials will be posted soon.

Script installation

Open c.php and edit following settings:

define('LOG_DIRECTORY', '');
define('LOG_FILENAME', 'counter.log');

It is recommended to set LOG_DIRECTORY to some path which is not accessible from the web.

Place following code on every page where you want to track your visitors.

<script type="text/javascript">document.write("<img src='https://tracker.com/c/?r=" + 
encodeURIComponent(document.referrer) + "&u=" + encodeURIComponent(document.URL) + 
"&pt=" + encodeURIComponent(document.title.substring(0,80)) + "&rnd=" + Math.random() + 
"' border='0' width='0' height='0' style='width: 0; height: 0;display:none;' />");</script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages