get https://interact.leadforensics.com/WebApi_v2/KPI/MostPopularPages
Returns the most popular pages viewed on a client site for the date range supplied
Responses
Returns the most popular pages viewed on a client site for the date range supplied
xxxxxxxxxx
20$.ajax({
type: 'GET',
dataType: 'json',
url: 'https://interact.leadforensics.com/WebApi_v2/KPI/MostPopularPages?dateid=4',
headers: {
'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',
'ClientID':'45656'
},
success: function (data) {
if (data.PagesList.length > 0) {
//we have a page record
}
else {
//we do not have a page record
}
},
error: function (err) {
//ajax error trap
}
});