PHP Classes

File: example_page.html

Recommend this page to a friend!
  Classes of Cesar D. Rodas   gStats   example_page.html   Download  
File: example_page.html
Role: Auxiliary data
Content type: text/plain
Description: Example of how to include the code into a page
Class: gStats
Keep track of site visits and link clicks
Author: By
Last change: * The example script was a quite wrong, so, if you copy the example and past in your site gStats won't work. . Upgrade is hight recommended.
<script><!--
var userID = 1; /*Some id, to make diference for subdomains. it must be numberic*/
var trackURL='example_track.php'; /* This is the page that store the information about the visitor. */
--></script>

Was fixed for
<script>
var userID = 1; /*Some id, to make diference for subdomains. it must be numberic*/
var trackURL='example_track.php'; /* This is the page that store the information about the visitor. */
</script>
Date: 15 years ago
Size: 581 bytes
 

Contents

Class file image Download
<html> <head> <title>Some page</title> </head> <body> <!--The gStats must by within body tag--> <script> var userID = 1; /*Some id, to make diference for subdomains. it must be numberic*/ var trackURL='example_track.php'; /* This is the page that store the information about the visitor. */ </script> <script src="gStats.js"></script> <!--end of gStats--> This page will record information about the user. From there the user come, where he/she's going(where he/she clicks). Also it will be provide information when a user click on Google-Ads </body> </html>