Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips

Profile script for Visit count

Avatar

Level 2

This Profile script  doesn't increment after 30 minutes of inactivity -
Is anything missing in this profile script. 
if(user.sessionId!=user.getLocal('lastSessionId')) {
  user.setLocal('lastSessionId', user.sessionId);
  return (user.get('visitCount') || 0) + 1;
}

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies