I think it’d make more sense to only save a view/visit once per session. Currently, the total views are counted for every time a profile is loaded. This causes a view to be counted every time a new tab is clicked requiring the browser to refresh. So a single “visit” can account for tons of profile views.
Posted on the wrong topic. The above post was for https://buddydev.com/support/forums/topic/buddypress-recent-profile-vistors-view-count-bimber-theme-conflict/
For this topic:-
We do not record all the visit. Currently, It is only one record between two users for the visited user. With each new visit we just increment the visit count for the visitor to visited user and the last visited time of the record.
Updating last visited time allows us to have the correct details of unique views etc over a preciod of time.
Also, we are not using the visit count directly anywhere, so I don’t see a side effect of that. keeping a count can help some site making decision on suggesting interests.
You must be logged in to reply to this topic.