Javascript code for recording the clicks
I have a set of websites.
In each website there is my Javascript code:
$(document).ready(function(){
$('div').click(function()
{
// Do something
}
});
Then, I want to enable each user (via iFrame) to see the website and
clicks on the banners. I have two problems:
1- How to get the clicks of each user to the database of my own site?
Because javascript is within the pages of other website and I need to
capture each click and send it to my own server for further processing and
DB actions.
2- I ONLY want to capture the clicks of users who see the websites through
my own iframe and not anywhere else.
thanks in advance
No comments:
Post a Comment