legacy-knowledge-base
公開されました Sep. 10, 2025

Web サイト内のページへのユーザーの訪問数を調べる必要がある

written-by

Anishq Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ポータル サイトのページ ヒット数を監査レポートに追加する必要があります。

Environment

  • Liferay DXP [全バージョン]

解決策

  • ページ ビュー イベントを監査レポートに追加できますが、そうすると大量のイベントが追加されることに注意してください。

  • このプロパティを portal-ext.properties ファイルに追加します:
    audit.message.com.liferay.portal.kernel.model.Layout.VIEW=true

  • Liferay DXP のコードは、ページを レイアウトとして参照します。 したがって、このプロパティを true に設定すると、ページ ビューの監査イベントが記録されます。 ほとんどのインストールでは細かすぎるため、デフォルトではオフになっています。

  • プロパティを追加したら、サーバー 起動します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base