Page views not counted corrected
-
I agree that at current version, guest views are not counted. It decreases seriously the page views number. Sometimes I distribute my link to some chatting group, all the viewers are guests and they access my website by phone (without logging), the page views should increase suddenly. But now, it does not increase at all.
For example, last year, every time I distributed my link to somewhere, page views increased from 0 to 1000-2000, and most of them are contributed by guests (phone), but now it increased from 0 to 20 or 30 something....
I think page views should be counted by another way.
-
Or, we can add a Switch, to display page views counted by guests or registered users. What do you think? I prefer the first one. It is also the default setting for previous nodebb version. The latter one is the default setting for the latest nodebb.
-
@PitaJ said in Page views not counted corrected:
IIRC guests are not counted for topic views.
Seems like they should be, that means that the topic views are inaccurate by any measure. I understand wanting lean view numbers that don't include things like page refreshes.
But let's say you have a million users, constant traffic, but all of your readers are anonymous. Shows zero views is wrong in every way. Zero Registered User Views is a wholly different metric.
-
Especially as many communities rely on these metrics for advertisers, partners, or just understanding their own traffic. Having completely different metrics than what the name says creates some real issues potentially. If nothing else, it can make successful sites feel like they are failing.
-
I am sad that I could not get the page view numbers counted by IIRC guests. I have a website, I also have a mobile media (like twitter). I often twitter the link of my website by my mobile media. Usually page views should increase several thousands per day (from guests), and I want to see the effect. But now I cannot get the "corrected" page view numbers...
If nothing else, it can make successful sites feel like they are failing.
It is true. It looks my re-twitter does not work at all.
-
You can change https://github.com/NodeBB/NodeBB/blob/master/src/controllers/topics.js#L130 this line to
if (req.uid >= 0) {
then guests will increase view counts. Keep in mind every guest will get a session object as well so it will increase the size of the session store. -
@baris Thank you I will try that.
Keep in mind every guest will get a session object as well so it will increase the size of the session store.
I have no idea about this. If suddenly I have 3000 guests viewing my thread in 10 mins. Is it harmful to my site?
-
@sharonyue said in Page views not counted corrected:
@baris Thank you I will try that.
Keep in mind every guest will get a session object as well so it will increase the size of the session store.
I have no idea about this. If suddenly I have 3000 guests viewing my thread in 10 mins. Is it harmful to my site?
People viewing your website is not harmful to it. That's it's purpose, to be viewed... presumably as much as possible.
-
This post is deleted!
-
@sharonyue said in Page views not counted corrected:
@baris Thank you I will try that.
Keep in mind every guest will get a session object as well so it will increase the size of the session store.
I have no idea about this. If suddenly I have 3000 guests viewing my thread in 10 mins. Is it harmful to my site?
You would have that already. I've got 4000+ most days, and the site doesn't break a sweat. We could handle 10x that, no problem.
-
Thank you guys!!
@scottalanmiller Do you also change
if (req.uid >= 0) {
? -
@sharonyue said in Page views not counted corrected:
Thank you guys!!
@scottalanmiller Do you also change
if (req.uid >= 0) {
?I'm not sure why, but mine is already that. So it's been that way a long, long time. So yes.