Legacy Knowledge Base
公開されました Jul. 2, 2025

オーディエンス ターゲティングからの「追跡」リクエストを無効にする

Written By

Cristina Rodriguez

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • オーディエンス ターゲティングからの次の呼び出しを取り除く必要がある場合があります。
    • /o/analytics-processor/track
  • たとえば、アナリティクス イベントを Liferay に送信しようとする一部のブラウザでは、レイテンシが高くなる可能性があります。必要がない場合は、すべてのブラウザがアナリティクス イベントを Liferay にプッシュしないようにすることで、影響を軽減できます。
  • ただし、オーディエンス ターゲティングのコントロール パネル オプションを使用してこれを行うことはできません。

Environment

  • Liferay DXP + オーディエンス ターゲティング。

解決策

  • この場合、これらのリクエストを管理する特定のバンドルをブラックリストに登録する必要があります。
    com.liferay.content.targeting.analytics.processor
  • このバンドルは、次の 2 つのコンポーネントを提供します。
    • com.liferay.content.targeting.analytics.processor.internal.processor.AnalyticsProcessorImpl: an AnalyticsProcessor that updates the page to include a POST to /o/analytics-processor/track
    • com.liferay.content.targeting.analytics.processor.internal.servlet.AnalyticsProcessorServlet: a servlet that processes posts to /o/analytics-processor/track
  • Si by ブラックリスト バンドル全体 これ以上追跡イベントは送信および処理されません。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base