We have a profile script written as follows and we are looking for a way to make it visit based instead of visitor based.
var frequency = user.get('frequency') || 0;
if (mbox.name == 'globalMboxAllPages') {
return frequency + 1;
}
How would we get what we are looking for?
Thanks,
Kayla