PHP Classes

Click-Tale - How to use

Recommend this page to a friend!

      Click-tale  >  All threads  >  Click-Tale - How to use  >  (Un) Subscribe thread alerts  
Subject:Click-Tale - How to use
Summary:How to Use
Messages:6
Author:Manoj Singh
Date:2012-06-07 12:56:26
Update:2012-06-08 01:26:08
 

  1. Click-Tale - How to use   Reply   Report abuse  
Picture of Manoj Singh Manoj Singh - 2012-06-07 12:56:26
It seems to be very nice code for click track but how to use it on
1. a static web page
2. a dynamic web page (may be in pp, asp or jsp)
3. comple web site

MS Raghuvanshi

  2. Re: Click-Tale - How to use   Reply   Report abuse  
Picture of Frederik Yssing Frederik Yssing - 2012-06-07 21:23:27 - In reply to message 1 from Manoj Singh
Its actually really simple.

All you have to do is set up the table in your database.
And then include the javascript in you websites header.
<head>
<script type='text/javascript' src='click-tale.js'></script>
</head>
Then every time a user clicks on any page that has the javascript included it registers the coordinates, the URL and the usersession. You can change the session name to handle any session you like.

And when you want to access the information you just browse to the php script without requests, and it will provide you with the right links.

  3. Re: Click-Tale - How to use   Reply   Report abuse  
Picture of Damianus Noris Damianus Noris - 2012-06-08 00:39:41 - In reply to message 2 from Frederik Yssing
how do we call the getClickXY function, i've tested in Firefox and it's not working. Please help, thanks

  4. Re: Click-Tale - How to use   Reply   Report abuse  
Picture of Frederik Yssing Frederik Yssing - 2012-06-08 01:21:24 - In reply to message 3 from Damianus Noris
That should be done in the javascript

line 2: document.onclick = getClickXY;

If it doesnt work, you should be able to add the function call to the body via the onclick eventlistener

  5. Re: Click-Tale - How to use   Reply   Report abuse  
Picture of Frederik Yssing Frederik Yssing - 2012-06-08 01:26:08 - In reply to message 4 from Frederik Yssing
Oh yes, I am sorry, I forgot to mention that it requires JQuery.

  6. Re: Click-Tale - How to use   Reply   Report abuse  
Picture of Ilkhom John Adams Ilkhom John Adams - 2017-12-21 10:13:17 - In reply to message 5 from Frederik Yssing
Hello, excuse me, can You give me complete sample, how to connect with db and use script?

Thank you.

 
For more information send a message to info at phpclasses dot org.