A discussion about tracking profile page views on Discourse was initiated by OnceWas. The idea was to run statistics on user activity and its relation to profile views. lisajill and OnceWas expressed interest in displaying these statistics in the admin dashboard and making them visible to users.
Tgxworld then outlined the specifications for this feature, which include:
- Counting views to a user’s profile page
- Not incrementing views when a user visits their own profile page
- Incrementing views per unique IP/username in the last 8 hours
- Displaying the total number of profile views for all user profiles in a table
The discussion also touched on the idea of tracking when profile views took place, with OnceWas suggesting that it would be useful to see trends over time.
Gerhard raised concerns about privacy, suggesting that profile views should be an administrative feature only, and that users should not be able to see who viewed their profile. Lisajill and OnceWas countered that tracking profile views over time would be useful for understanding user engagement.
Tgxworld suggested that the feature should be admin/moderator-only, but codinghorror argued that view counts should be visible to everyone, just like topic view counts.
The discussion also touched on the idea of displaying profile views on the user card, with tgxworld suggesting that it would be a good idea to display the views count on the user card as a call to action. However, codinghorror argued that displaying view counts on the user card was not necessary.
The feature was eventually implemented by tgxworld, with the views count being displayed on the user’s profile page.
Later, purldator raised concerns about the potential for users to use profile views as a measure of importance or relevance, and suggested that it might be useful to have an option to remove pageviews from profiles. Tgxworld confirmed that the views count only includes visits from people who are not the profile owner.
Finally, erlend_sh suggested that it would be useful to track profile-popups, and codinghorror agreed. Tgxworld implemented this feature, tracking profile-popups in the same bucket as profile views.