Write a code that captures visitors mouse movements

Pågår Lagt ut Feb 7, 2015 Betales ved levering
Pågår Betales ved levering

The task of this project is to write a javascript or jquery code that will be placed in a website and save it into mysql.

1. User will be identified by IP

2. Will save the coordination X, Y of movements

3. Will save the coordination X,Y of clicks

4. Will save the current page

5. Will save browsers screen resolution

I am into coding but I do not have much free time, so I know what is easy and what is not. For example, to save the IP, current page, and screen resolution is 2 minutes of coding.

The implementation must be ASYNCHRONOUS.

HELP

------

I found this logic somewhere posted:

What you should look for is attaching a mousemove event listener to the root element of your webpage (body?) and make sure to specify the capture phase by setting the useCapture parameter to true in your call to addEventListener. Check the "DOM event model" for more details, the diagaram is pretty self-explanatory.

a quick and dirty example should look like this :

var coords=[];

var callback = function(e) {

// save your mouse coordinates somewhere

[login to view URL]({x:[login to view URL],y:[login to view URL]});

}

[login to view URL]('mousemove',callback,true);

Of course you'll need to figure out how to push these coordinates at some point to your server (and perhaps just save a sample of the coordinates).

Thank you.

JavaScript MySQL PHP

Prosjekt-ID: #7103558

Om prosjektet

5 bud Eksternt prosjekt Aktiv Feb 12, 2015

5 frilansere byr i gjennomsnitt $25 for denne jobben

khatri369

Hello, I am a web developer (asp.net with C#) from india and also new on freelancer and want to work on a large scale as well working with you so give me a chance to prove my work and myself i assure that you wi Mer

$15 USD på 1 dag
(3 Omtaler)
4.3
benideas

Hi, Thanks to you for giving us opportunity to bid on such interesting project, we are benideas very energetic team focused on real time application development. We have the expertise on Web design, HTML, Css3,javascri Mer

$30 USD på 1 dag
(4 Omtaler)
3.7
iMarcky

Aucune proposition n'a encore été fournie.

$20 USD på 2 dager
(3 Omtaler)
3.5
rcrocker2728

Hello Client I have check your post of Write a code that captures visitors mouse movements Me & My team of certified Php developer & web designer are ready to assist in your given task. Looking for positive Mer

$25 USD på 1 dag
(1 anmeldelse)
0.0