After the update from joomla 2.5 to joomla 4, the number of hits is calculated wrong.
I think this is a common issue as it has been discussed on the forums.
The real number of article views.
Now the number of hits has become approximately 10 times more. And I know that this is not true.
Joomla 4.2.9
Php 8.0
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
I have updated Joomla a year ago. Everything works great. Apart from the fact that the number of views of materials is greatly inflated. I updated using the paid component Migrate Me Plus, and then up to Joomla 4, according to all the rules and recommendations.
Yes, I mean exactly the counter of the cms core.
The situation is such that if earlier the number of views was about 2K per article, now it is about 15-20K per article, while I know from the statistics of Awstats and Google that the real number of visitors has not increased. Perhaps now views are counted differently and the problem is because of this.
Unfortunately, I can't find the topic right now that talked about overestimating views. But I was able to find a few similar messages that are probably somewhat similar in meaning:
"Joomla 3.1.5
The statistics module is unrealistically lying. Today I saw how I supposedly had 290 guests at the same time. hits of articles are winding up just unbelievably. less than a week 2300 views. attendance 2-5 people per day. informer showed a maximum of 200 views per day. Just as unexpectedly, from 290 there were 140 guests, and then 1.
The counter is ticking right constantly, the number of views will soon be cosmic."
"Maybe I'm wrong, but the statistics of viewing articles counts not only real visitors, but also bots
Some kind of bot got into the habit of going to my page and leaving comments, I closed this shop, but the "Number of views" statistics are winding up Wow
And even with these bots you won't understand whether people are watching or bots are rummaging around
In general, how can this be changed? What would count only real visitors, real people with a real browser!
+
Strange, no one was interested or...
In fact, bots wind up these statistics, the "Most read" module is then generally irrelevant, since it is not clear who is interested in the page, bots or real visitors.
Yes, and I myself want to see the real picture of the attendance of articles
"
I understand that the problem is not clearly defined. I have met the opinion that views can wind up browser bookmarks or the front panel of browsers, even loading icons or screenshots without actually visiting the pages by users. Or something like that.
If you think it's right, you can close the topic, but I would like to draw attention to this possible problem.
Labels |
Removed:
Information Required
|
There was one change made for the hits counter after Joomla 2.5: With Joomla 3.5.0, the hits counter has been fixed for enabled cache. See this pull request: #8887 . Maybe this explains why the counter counts faster now compared to 2.5?
Anyway, I can not really reproduce that the counter counts wrong. I have it enabled on my private website, also with cache enabled, and for me the hits counter works well.
And I know that this is not true.
How?
And I know that this is not true.
How?
@brianteeman Well, he could check the server logs. There he could even distinguish (more or less accurately) bots from normal users by the user agent. But I doubt he has done that, because if he had done that, he would provide that here as proof.
he could check the server logs
Thank you for the advice!
Now I have the latest article and more than 6000 hits in the admin panel (Content-Articles panel). I have selected all the strings from the log file and am attaching it here. I now saw the problem, but I do not know how to resolve it.
my-site-log.txt
Please promt me. This fact that Joomla records HEAD requests as hits, like this one, is it OK or not?
Line 4875: 66.249.83.3 - - [02/Apr/2023:17:32:57 +0200] "HEAD /my-article-x HTTP/1.1" 200 0 "-" "FeedBurner/1.0 (http://www .FeedBurner.com)"
@zero-24 maybe this is yor field of experience?
No its not but when looking into the code right now HEAD does not seem to be filtered: https://github.com/joomla/joomla-cms/blob/4.3-dev/components/com_content/src/Model/ArticleModel.php#L282-L302
Not sure why feedburner should call a normal page in the first place isnt that a RSS tool that should "just" call the RSS etc URLs?
Labels |
Added:
Feature
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-04-08 08:47:12 |
Closed_By | ⇒ | Hackwar |
@ilya800918 How have you made that update? I hope with the Joomla update component and via the necessary intermedia versions. A direct update from 2.5 to 4.x is not supported.
Do you have a link to an example?
And are you talking about the article hit counter of the CMS core? Or any 3rd party extension? For the latter this here would not be the right place to get support.