Best way to count page view in Plone

后端 未结 6 556
名媛妹妹
名媛妹妹 2021-01-13 15:00

I\'m working in a case require fairy complex use of page views.

Each content object will have page view, and this should be accessed easily so that we can do various

6条回答
  •  余生分开走
    2021-01-13 15:17

    We have done this long time ago (plone2.5). The customer wants this ! Once it was done it was finally not the real need. it was the prefered articles, it is not equal to the most viewed... so content rating was the one.

    So first validate this with your customer.

    Next the best way to achieve your need is to install an analytics tool, googleanalytics or anything else but with an API to ask the most viewed page. If you need this into the portal_catalog you can index the value when an article is viewed + only every hour.

提交回复
热议问题