A lightweight script to map clicks
Expected data (application/x-www-form-urlencoded):
page: (String) Full page url
x: (Integer) X axis click
y: (Integer) Y axis click
w: (Integer) Window width
h: (Integer) Window height
Returns:
{
pages: (Array) Pages
}
Expected data (querystring):
page: (String) Full page url [encoded]
Returns:
{
clicks: [
{
x: (Integer) X axis click,
y: (Integer) Y axis click,
w: (Integer) Window width,
h: (Integer) Window height
}
]
}
Expected data (querystring):
page: (String) Full page url [encoded]
datefrom: (Date) Date from [YYYY-MM-DD]
dateto: (Date) Date to [YYYY-MM-DD]
Returns:
{
clicks: [
{
x: (Integer) X axis click,
y: (Integer) Y axis click,
w: (Integer) Window width,
h: (Integer) Window height,
date: (Date) Date in MongoDB ISO format
}
]
}
This code is licensed under the MIT license. See LICENSE for more information.