Installation and configuring plug-in NopCustomerInterests Configure page. Custom Type of Activity. Create new custom type of ativity and saved ID. Each product details page has JavaScript function. You can use it manually. Example fnssavecustomertracking(457,3); 457 - product Id 3 - custom type of Activity Id You will see new Statistics.
function fnssavecustomertracking(productId, customerViewedTypeId) {
$.ajax({
cache: false,
url: '@Url.Action("SaveCustomerTracking", "CustomerInterest")',
dataType: 'json',
type: 'POST',
traditional: true,
data: { "productId": productId, "customerViewedTypeId": customerViewedTypeId },
success: function (data) {
},
error: function () {
}
});
}