If my logs currently captures username and a session id. keep in mind that 1 session can have multiple hits to different pages or activities.
My definition for
new user = users with 1 user session for a given time period
return user = users with more than 1 different user session for a given time period
is there a way to get new vs return user stats into a pivot table? is there an easier way to get this detail than the search below?
|
dedup user, session|
stats count by user|
eval newuser = if(count =1,1,0) |
eval returnuser = if(count =1,0,1) |
stats sum(newuser) as "New User", sum(returnuser) as "Return User"
↧