Closed andrewd72 closed 7 years ago
You should be seeing something like the following (from my YAML file):
/: 507
/blog/tripwire-by-lee-child: 3
/demos: 32
/blog/die-trying-by-lee-child: 3
/blog/panic-virus-by-seth-mnookin: 3
/blog/recipes-bread-week: 1
I only ever get one line so the count is max 1. e.g. /blog/mypage/: 1 then if I go to a different page it gets replaced rather than appending the new line.
It IS working on my remote server! That is on php7, localhost is on php 5.6.25, I think that is the only difference between them.
Hrm. I don't know enough about the differences to know if that's a possible cause.
Did you ever figure this out? I'd need a copy of your user folder to replicate.
I'm not 100% sure how it is supposed to work but at the moment /user/data/count-views.yaml is only recording the last viewed page, not a record of all the page views. Thanks.